Function at 0x426f50
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x16c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x180]
mov esi, ecx
push 1
push esi
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x30], eax
jne 0x4273a8
mov ecx, dword [esi]
test cl, 8
je 0x426f96
mov eax, 0xd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret
mov eax, dword [esp + 0x18c]
and ecx, 0xffffff0f
mov edx, dword [sym.imp.KERNEL32.dll_lstrlenA]
and eax, 0xffffffcf
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x60], 0
mov dword [esi], ecx
mov dword [esp + 0x2c], edx
sub eax, 1
je 0x4271af
sub eax, 1
je 0x427076
sub eax, 6
je 0x42704c
test edi, edi
je 0x4273a8
mov edx, dword [esp + 0x184]
mov eax, edx
mov ebp, dword [esp + 0x188]
or eax, ebp
je 0x4273a8
mov dword [esi + 0x6c], ebp
or ecx, 0xa0
mov dword [esi + 0x54], ebp
mov ebp, dword [esp + 0x30]
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edx
mov dword [esi + 0x50], edx
mov dword [esi], ecx
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esp + 0x18], ebp
jmp 0x427153
mov eax, dword [esp + 0x30]
mov dword [esi + 0x64], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esp + 0x28], 0x41c00010
mov dword [esp + 0x18], eax
jmp 0x427226
test edi, edi
je 0x4273a8
test dword [esp + 0x18c], 0x10
push 0
push 0
push 3
push 0
push 3
push closesocket
push edi
je 0x4270a3
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x4270a9
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x64], eax
cmp eax, 0xffffffff
jne 0x4270c3
mov ebp, 1
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret
push 1
lea ecx, [esp + 0x24]
xorps xmm0, xmm0
push ecx
movlpd qword [esp + 0x28], xmm0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x42711e
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x40]
mov eax, dword [esp + 0x20]
or dword [esi], 0x20
mov dword [esi + 0x1c], ecx
mov ecx, esi
mov dword [esi + 0x18], eax
call fcn.00423fd0
mov ebp, eax
test ebp, ebp
je 0x42713a
push dword [esi + 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
or dword [esi], 0x40
xor eax, eax
test ebx, ebx
mov dword [esp + 0x18], eax
cmovne edi, ebx
mov ebx, edi
test byte [esi], 0x20
jne 0x4272aa
test dword [esp + 0x18c], 0x10
mov dword [esp + 0x28], 0x81800000
push ebx
je 0x4271f8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
lea ecx, [ebx + eax*2]
movzx eax, word [ecx]
mov edx, eax
cmp eax, 0x2e
je 0x427226
cmp ecx, ebx
jbe 0x42721e
cmp ax, 0x2f
je 0x42721e
cmp ax, 0x5c
je 0x42721e
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, 0x2e
jne 0x427185
jmp 0x427226
mov dword [esi + 0x64], edi
test edi, edi
je 0x4273a8
cmp edi, 0xffffffff
je 0x4273a8
push dword [esp + 0x188]
lea edx, [esp + 0x44]
mov ecx, esi
push dword [esp + 0x188]
call fcn.00426b80
mov ebp, eax
add esp, 8
mov dword [esp + 0x18], ebp
test ebp, ebp
je 0x42714a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret
call dword [esp + 0x30]
lea ecx, [eax - 1]
mov al, byte [ecx + ebx]
add ecx, ebx
cmp al, 0x2e
je 0x427226
cmp ecx, ebx
jbe 0x42721e
cmp al, 0x2f
je 0x42721e
cmp al, 0x5c
je 0x42721e
mov al, byte [ecx - 1]
dec ecx
cmp al, 0x2e
jne 0x427208
jmp 0x427226
mov dword [esp + 0x28], 0x81c00000
test byte [esp + 0x18c], 0x20
jne 0x4272a0
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
sub ecx, 0xd53e8000
push 0
push 0x989680
sbb eax, 0x19db1de
push eax
push ecx
call fcn.004cc5b0
movzx edi, word [esp + 0x14]
mov ecx, eax
mov dword [esp + 0x34], ecx
movzx ecx, word [esp + 0x1c]
shl edi, 0x10
or edi, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], edi
jmp 0x4272ce
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x1c], edi
jmp 0x4272ba
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x34], ecx
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
mov dword [esp + 0x58], eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add eax, 0x161
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
mov dword [esp + 0x20], ebp
test ebp, ebp
jne 0x42730a
lea edi, [eax + 2]
jmp 0x4273ad
push 0x150
push 0
push ebp
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x198]
add esp, 0xc
test al, 0x20
je 0x42735d
mov eax, 8
mov bh, 8
mov word [ebp + 2], ax
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x3c], ecx
or dword [esi], 0x80000000
mov byte [esp + 0x14], bh
jmp 0x4277b9
and eax, 0x10
lea edi, [ebp + 0x48]
mov dword [esp + 0x54], eax
je 0x42738d
push 0
push 0
push 0x104
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp + 0x20], eax
test eax, eax
je 0x4273a1
dec eax
jmp 0x42739a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
call dword [esp + 0x30]
mov dword [ebp + 0x20], eax
test eax, eax
jne 0x4273c6
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edi, 9
test byte [esi], 0x40
je 0x4273b9
push dword [esi + 0x64]
call dword [esp + 0x34]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret
mov al, byte [edi]
test al, al
je 0x4273ed
nop dword [eax]
cmp al, 0x5c
jne 0x4273d7
mov byte [edi], 0x2f
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4273d0
mov eax, dword [esp + 0x18c]
and eax, 0x10
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x1c]
lea ecx, [ebp + 0x150]
mov edx, dword [esp + 0x34]
mov edi, 8
mov dword [ebp + 4], eax
xor ebx, ebx
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x34], eax
lea eax, [esp + 0x58]
mov dword [ebp + 0x40], eax
mov eax, edx
shr eax, 8
mov byte [esp + 0x5e], al
mov eax, edx
mov byte [esp + 0x5d], dl
shr eax, 0x10
mov byte [esp + 0x5f], al
shr edx, 0x18
mov byte [esp + 0x60], dl
mov edx, dword [esp + 0x38]
mov eax, edx
shr eax, 8
mov byte [esp + 0x62], al
mov eax, edx
mov byte [esp + 0x61], dl
shr eax, 0x10
mov byte [esp + 0x63], al
shr edx, 0x18
mov byte [esp + 0x64], dl
mov edx, dword [esp + 0x3c]
mov eax, edx
shr eax, 8
mov byte [esp + 0x66], al
mov eax, edx
mov byte [esp + 0x65], dl
mov dword [esp + 0x58], 0xd5455
mov byte [esp + 0x5c], 7
movq xmm0, qword [esp + 0x58]
shr eax, 0x10
mov byte [esp + 0x67], al
mov dword [ebp + 0x44], ecx
mov word [ebp], di
mov dword [ebp + 0x24], 0x11
mov dword [ebp + 0x28], 9
shr edx, 0x18
mov byte [esp + 0x68], dl
movq qword [ecx], xmm0
mov al, byte [esp + 0x60]
mov byte [ecx + 8], al
mov byte [ecx + 2], 5
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x14], bl
mov byte [eax + 4], 1
cmp dword [esp + 0x54], ebx
je 0x427547
mov ecx, dword [ebp + 0x20]
lea edx, [ebp + 0x48]
push ecx
mov word [esp + 0x6d], 0x7075
mov byte [esp + 0x71], 1
lea eax, [ecx + 0x1b]
mov dword [ebp + 0x24], eax
lea eax, [ecx + 0x13]
mov dword [ebp + 0x28], eax
lea eax, [ecx + 0xa]
mov byte [esp + 0x6f], al
lea eax, [ecx + 0xa]
shr eax, 8
xor ecx, ecx
mov byte [esp + 0x70], al
call fcn.00426700
mov ecx, eax
mov byte [esp + 0x72], al
shr ecx, 8
add esp, 4
mov byte [esp + 0x6f], cl
mov ecx, eax
shr eax, 0x18
mov byte [esp + 0x71], al
mov eax, dword [ebp + 0x40]
shr ecx, 0x10
mov byte [esp + 0x70], cl
mov ecx, dword [ebp + 0x44]
movq xmm0, qword [eax + 0x11]
movq qword [ecx + 9], xmm0
mov al, byte [eax + 0x19]
mov byte [ecx + 0x11], al
mov eax, dword [ebp + 0x20]
inc eax
push eax
lea eax, [ebp + 0x48]
push eax
mov eax, dword [ebp + 0x44]
add eax, 0x12
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [esi], ebx
jge 0x427569
mov ax, word [ebp]
mov bh, 8
mov byte [esp + 0x14], bh
mov dword [ebp + 0x24], 0
mov word [ebp + 0x30], ax
mov word [ebp + 2], di
jmp 0x42762b
test byte [esp + 0x18c], 8
je 0x42758b
mov eax, dword [ebp + 0x20]
cmp byte [eax + ebp + 0x47], 0x2f
je 0x4275fc
mov byte [eax + ebp + 0x48], 0x2f
inc dword [ebp + 0x20]
jmp 0x4275fc
cmp dword [esi + 8], ebx
je 0x4275a1
mov eax, 9
mov dword [esp + 0x18], 0xc
mov word [ebp], ax
lea ebx, [ebp + 0x48]
push ebx
call dword [esp + 0x30]
lea edi, [ebx + eax]
cmp edi, ebx
jbe 0x4275ba
cmp byte [edi], 0x2e
je 0x4275c1
dec edi
cmp edi, ebx
ja 0x4275b0
jne 0x4275c1
cmp byte [edi], 0x2e
jne 0x4275df
mov ebx, 0x4d0540
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4275f8
push ebx
call dword [esp + 0x30]
inc ebx
add ebx, eax
cmp byte [ebx], 0
jne 0x4275c6
mov ax, word [ebp]
mov bh, 8
mov word [ebp + 0x30], ax
mov eax, 8
mov byte [esp + 0x14], bh
mov word [ebp + 2], ax
jmp 0x42762b
mov ebx, dword [esp + 0x18]
movzx ecx, word [ebp]
xor eax, eax
mov word [ebp + 0x30], cx
mov word [ebp + 2], ax
mov edx, dword [esi + 0x50]
mov eax, edx
mov edi, dword [esi + 0x54]
and eax, edi
cmp eax, 0xffffffff
je 0x427627
mov eax, ebx
xor ecx, ecx
add eax, edx
mov dword [ebp + 0x10], eax
adc ecx, edi
mov dword [ebp + 0x14], ecx
mov bh, byte [esp + 0x14]
mov eax, dword [esi + 0x50]
mov edx, esi
mov ecx, dword [esi + 0x54]
mov dword [ebp + 0x1c], ecx
mov dword [ebp + 0x18], eax
mov ecx, dword [esi + 0x18]
add ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x1c]
adc eax, dword [esi + 0x14]
mov dword [ebp + 0x38], ecx
mov ecx, ebp
mov dword [ebp + 0x3c], eax
mov dword [esi + 0x20], 0
call fcn.00425d00
mov edi, dword [esi + 0x20]
test edi, edi
jne 0x427ad7
mov edx, dword [esi]
mov ecx, dword [ebp + 0x20]
test edx, edx
jns 0x42767b
lea eax, [ecx + 0xb]
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], eax
jmp 0x4277bb
mov eax, dword [ebp + 0x24]
add eax, 0x32
add eax, ecx
add dword [esi + 0x10], eax
adc dword [esi + 0x14], 0
cmp dword [esp + 0x18], 0
je 0x4277bb
mov edx, dword [esi + 8]
mov dword [esi + 0x38], 0x12345678
mov dword [esi + 0x3c], 0x23456789
mov dword [esi + 0x40], 0x34567890
test edx, edx
je 0x4276fc
mov al, byte [edx]
test al, al
je 0x4276fc
mov ecx, dword [esi + 0x38]
movsx eax, al
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d1f08]
movzx eax, cl
add eax, dword [esi + 0x3c]
imul eax, eax, 0x8088405
mov dword [esi + 0x38], ecx
mov ecx, dword [esi + 0x40]
inc eax
mov dword [esi + 0x3c], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d1f08]
mov dword [esi + 0x40], ecx
add edx, 1
jne 0x4276b1
mov ebx, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xor edi, edi
call ebx
sar eax, 7
mov byte [esp + edi + 0x40], al
inc edi
cmp edi, 0xc
jl 0x427704
mov al, byte [ebp + 5]
xor ebp, ebp
mov byte [esp + 0x4b], al
nop dword [eax]
mov bl, byte [esp + ebp + 0x40]
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x40]
mov edi, edx
movsx eax, bl
and edi, 0xfffd
xor eax, ecx
or edi, 2
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x4d1f08]
movzx eax, cl
add eax, dword [esi + 0x3c]
imul eax, eax, 0x8088405
mov dword [esi + 0x38], ecx
inc eax
mov dword [esi + 0x3c], eax
shr eax, 0x18
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x4d1f08]
mov eax, edi
xor eax, 1
mov dword [esi + 0x40], edx
imul eax, edi
shr eax, 8
xor al, bl
mov byte [esp + ebp + 0x40], al
inc ebp
cmp ebp, 0xc
jl 0x427720
push 0xc
lea edx, [esp + 0x44]
mov ecx, esi
call fcn.00426960
mov edi, dword [esi + 0x20]
add esp, 4
mov ebp, dword [esp + 0x20]
test edi, edi
jne 0x427ad7
add dword [esi + 0x10], 0xc
mov eax, dword [esi + 0x14]
mov bh, byte [esp + 0x14]
adc eax, 0
or dword [esi], 0x10
mov dword [esi + 0x14], eax
mov edx, dword [esi]
mov eax, dword [esi + 0x64]
test eax, eax
je 0x4278a0
mov ecx, esi
cmp bh, 8
jne 0x4277d9
mov edx, ebp
call fcn.00426cd0
jmp 0x427869
test dl, dl
jns 0x427814
mov edi, dword [esi + 0x68]
mov edx, eax
push edi
call fcn.00426960
mov eax, dword [esi + 0x5c]
mov ecx, edi
mov edx, dword [esi + 0x64]
add esp, 4
add dword [esi + 0x58], ecx
mov ecx, dword [esi + 0x60]
adc eax, 0
push edi
mov dword [esi + 0x5c], eax
call fcn.00426700
add esp, 4
mov dword [esi + 0x60], eax
add dword [esi + 0x70], edi
adc dword [esi + 0x74], 0
jmp 0x42785e
lea ebx, [esi + 0x84]
push 0x4000
mov edx, ebx
call fcn.00426c10
mov edi, eax
add esp, 4
test edi, edi
je 0x42785a
nop
cmp dword [esi + 0x20], 0
jne 0x42785a
push edi
mov edx, ebx
mov ecx, esi
call fcn.00426960
add esp, 4
mov edx, ebx
mov ecx, esi
push 0x4000
call fcn.00426c10
mov edi, eax
add esp, 4
test edi, edi
jne 0x427830
mov bh, byte [esp + 0x14]
xor eax, eax
add dword [esi + 0x78], edi
adc eax, dword [esi + 0x7c]
mov dword [esi + 0x7c], eax
mov edi, dword [esi + 0x20]
test edi, edi
jne 0x427ad7
and dword [esi], 0xffffffef
test byte [esi], 0x40
je 0x427883
push dword [esi + 0x64]
call dword [esp + 0x34]
mov eax, dword [esi + 0x58]
and dword [esi], 0xffffffbf
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi]
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x78]
add dword [esi + 0x10], eax
mov eax, dword [esi + 0x7c]
adc dword [esi + 0x14], eax
mov dword [esi + 0x54], ecx
test edx, edx
jns 0x4278ff
or edx, 8
test byte [esp + 0x18c], 0x20
mov dword [esi], edx
jne 0x427ac5
mov edx, dword [esi + 0x60]
mov ecx, esi
call fcn.004267f0
movzx edx, word [esi + 0x62]
mov ecx, esi
call fcn.004267f0
mov edx, dword [esi + 0x58]
mov ecx, esi
call fcn.004267f0
mov edx, dword [esi + 0x58]
mov ecx, esi
mov eax, dword [esi + 0x5c]
shrd edx, eax, 0x10
call fcn.004267f0
mov edi, dword [esi + 0x20]
test edi, edi
jne 0x427ad7
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret
mov edx, dword [esp + 0x18]
mov eax, edx
add eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x7c]
adc ecx, 0
cmp dword [ebp + 0x10], eax
jne 0x42791c
cmp dword [ebp + 0x14], ecx
jne 0x42791c
mov bl, 1
jmp 0x42791e
xor bl, bl
mov eax, dword [esi + 0x60]
mov ecx, edx
mov dword [ebp + 8], eax
add ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x7c]
adc eax, 0
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0x14], eax
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], ecx
test byte [esi], 4
je 0x4279cc
test edx, edx
jne 0x4279cc
movzx eax, bh
mov word [ebp + 2], ax
movzx eax, word [ebp]
mov ecx, eax
test al, 1
jne 0x42796f
and eax, 0xfff7
mov word [ebp], ax
movzx ecx, ax
mov eax, dword [ebp + 0x3c]
mov word [ebp + 0x30], cx
mov ecx, dword [ebp + 0x38]
sub ecx, dword [esi + 0x18]
sbb eax, dword [esi + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.00426ae0
add esp, 8
test eax, eax
je 0x4279bb
mov edx, esi
mov ecx, ebp
call fcn.00425d00
mov edi, dword [esi + 0x20]
test edi, edi
jne 0x427ad7
push dword [esi + 0x14]
mov ecx, esi
push dword [esi + 0x10]
call fcn.00426ae0
add esp, 8
test eax, eax
jne 0x427a92
mov edi, 0x10
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4273ad
movzx eax, bh
cmp word [ebp + 2], ax
jne 0x427ad2
test bh, bh
jne 0x4279e5
test bl, bl
je 0x427ad2
mov edx, 0x8074b50
mov ecx, esi
call fcn.004267f0
mov edx, 0x807
mov ecx, esi
call fcn.004267f0
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.004267f0
movzx edx, word [ebp + 0xa]
mov ecx, esi
call fcn.004267f0
cmp dword [ebp + 0x14], 0
mov edx, dword [ebp + 0x10]
ja 0x427a33
cmp edx, 0xffffffff
jae 0x427a33
mov ecx, esi
call fcn.004267f0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
shrd edx, eax, 0x10
jmp 0x427a40
or edx, 0xffffffff
mov ecx, esi
call fcn.004267f0
or edx, 0xffffffff
mov ecx, esi
call fcn.004267f0
cmp dword [ebp + 0x1c], 0
mov edx, dword [ebp + 0x18]
ja 0x427a68
cmp edx, 0xffffffff
jae 0x427a68
mov ecx, esi
call fcn.004267f0
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x1c]
shrd edx, eax, 0x10
jmp 0x427a75
or edx, 0xffffffff
mov ecx, esi
call fcn.004267f0
or edx, 0xffffffff
mov ecx, esi
call fcn.004267f0
mov edi, dword [esi + 0x20]
test edi, edi
jne 0x427ad7
add dword [esi + 0x10], 0x10
adc dword [esi + 0x14], edi
mov ax, word [ebp + 0x30]
mov word [ebp], ax
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x427aa9
mov dword [esi + 0x4c], ebp
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret
mov eax, dword [ecx + 0x14c]
test eax, eax
je 0x427abf
mov ecx, eax
mov eax, dword [ecx + 0x14c]
test eax, eax
jne 0x427ab3
mov dword [ecx + 0x14c], ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret
mov edi, 0x11
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4273ad