Function at 0x427540
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, 0x174
push ebx
push ebp
mov ebp, dword [esp + 0x180]
push esi
push edi
mov esi, ecx
mov edi, edx
push 1
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x34], eax
jne 0x42798e
mov ecx, dword [esi]
test cl, 8
je 0x427586
mov eax, 0xd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x174
ret
mov ebx, dword [esp + 0x194]
and ecx, 0xffffff0f
mov edx, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov eax, ebx
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], ebx
mov dword [esp + 0x30], edx
sub eax, 1
je 0x427746
sub eax, 1
je 0x427676
sub eax, 6
je 0x427649
test ebp, ebp
je 0x42798e
mov edx, dword [esp + 0x18c]
mov eax, edx
mov ebx, dword [esp + 0x190]
or eax, ebx
je 0x42798e
mov eax, dword [esp + 0x34]
or ecx, 0xa0
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x54], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esi + 0x64], ebp
and ebx, 0x10
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], eax
jmp 0x427792
mov eax, dword [esp + 0x34]
and ebx, 0x10
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 0x4277ff
test ebp, ebp
je 0x42798e
push 0
push 0
push 3
push 0
push 3
push closesocket
push ebp
and ebx, 0x10
je 0x42769b
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x4276a1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x64], eax
cmp eax, 0xffffffff
jne 0x4276b9
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x174
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 0x427718
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x48]
mov eax, dword [esp + 0x20]
or dword [esi], 0x20
mov dword [esi + 0x1c], ecx
mov ecx, esi
mov dword [esi + 0x18], eax
call fcn.004245b0
mov dword [esp + 0x18], eax
test eax, eax
je 0x427734
push dword [esi + 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x174
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 edi, edi
mov dword [esp + 0x18], eax
cmovne ebp, edi
mov edi, ebp
jmp 0x427785
mov dword [esi + 0x64], ebp
test ebp, ebp
je 0x42798e
cmp ebp, 0xffffffff
je 0x42798e
push dword [esp + 0x190]
lea edx, [esp + 0x4c]
mov ecx, esi
push dword [esp + 0x190]
call fcn.00427170
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4279a1
and ebx, 0x10
test byte [esi], 0x20
mov dword [esp + 0x1c], ebx
jne 0x42788c
mov dword [esp + 0x28], 0x81800000
push edi
test ebx, ebx
je 0x4277d1
call dword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
lea ecx, [edi + eax*2]
movzx eax, word [ecx]
mov edx, eax
cmp eax, 0x2e
je 0x4277ff
cmp ecx, edi
jbe 0x4277f7
cmp ax, 0x2f
je 0x4277f7
cmp ax, 0x5c
je 0x4277f7
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, 0x2e
jne 0x4277b3
jmp 0x4277ff
call dword [esp + 0x34]
lea ecx, [eax - 1]
mov al, byte [ecx + edi]
add ecx, edi
cmp al, 0x2e
je 0x4277ff
cmp ecx, edi
jbe 0x4277f7
cmp al, 0x2f
je 0x4277f7
cmp al, 0x5c
je 0x4277f7
mov al, byte [ecx - 1]
dec ecx
cmp al, 0x2e
jne 0x4277e1
jmp 0x4277ff
mov dword [esp + 0x28], 0x81c00000
test byte [esp + 0x2c], 0x20
mov dword [esp + 0x1c], ebx
jne 0x427882
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
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.004cd9d0
mov ecx, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
movzx eax, word [esp + 0x1c]
mov dword [esp + 0x3c], ecx
movzx ecx, word [esp + 0x14]
shl eax, 0x10
or eax, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x38], eax
jmp 0x4278b4
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x38], ebx
jmp 0x42789c
mov eax, dword [esp + 0x58]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
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 + 0x5c], ebp
test ebp, ebp
jne 0x4278ec
lea edi, [eax + 2]
jmp 0x427993
push 0x150
push 0
push ebp
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x38]
add esp, 0xc
and eax, 0x20
mov dword [esp + 0x20], eax
je 0x427943
mov eax, 8
mov byte [esp + 0x14], 8
mov word [ebp + 2], ax
lea ebx, [esi + 0x20]
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
jmp 0x427d73
cmp dword [esp + 0x1c], 0
lea ebx, [ebp + 0x48]
je 0x427971
push 0
push 0
push 0x104
push ebx
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp + 0x20], eax
test eax, eax
je 0x427981
dec eax
jmp 0x42797e
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call dword [esp + 0x34]
mov dword [ebp + 0x20], eax
cmp dword [ebp + 0x20], 0
jne 0x4279ac
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edi, 9
test byte [esi], 0x40
je 0x42799f
push dword [esi + 0x64]
call dword [esp + 0x38]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x174
ret
mov eax, ebx
mov cl, byte [eax]
test cl, cl
je 0x4279c4
cmp cl, 0x5c
jne 0x4279bc
mov byte [eax], 0x2f
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4279b4
mov edx, dword [esp + 0x3c]
lea ecx, [ebp + 0x150]
mov eax, 8
mov byte [esp + 0x65], dl
mov word [ebp], ax
xor edi, edi
mov eax, dword [esp + 0x38]
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x34], eax
lea eax, [esp + 0x60]
mov dword [ebp + 0x40], eax
mov eax, edx
shr eax, 8
mov byte [esp + 0x66], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x67], al
shr edx, 0x18
mov byte [esp + 0x68], dl
mov edx, dword [esp + 0x40]
mov eax, edx
shr eax, 8
mov byte [esp + 0x6a], al
mov eax, edx
mov byte [esp + 0x69], dl
shr eax, 0x10
mov byte [esp + 0x6b], al
shr edx, 0x18
mov byte [esp + 0x6c], dl
mov edx, dword [esp + 0x44]
mov eax, edx
shr eax, 8
mov byte [esp + 0x6e], al
mov eax, edx
mov byte [esp + 0x6d], dl
mov dword [esp + 0x60], 0xd5455
mov byte [esp + 0x64], 7
movq xmm0, qword [esp + 0x60]
shr eax, 0x10
mov byte [esp + 0x6f], al
mov dword [ebp + 0x44], ecx
mov dword [ebp + 0x24], 0x11
mov dword [ebp + 0x28], 9
shr edx, 0x18
mov byte [esp + 0x70], dl
movq qword [ecx], xmm0
mov al, byte [esp + 0x68]
mov byte [ecx + 8], al
mov byte [ecx + 2], 5
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x18], edi
mov byte [esp + 0x14], 0
mov byte [eax + 4], 1
cmp dword [esp + 0x1c], edi
je 0x427b1b
mov ecx, dword [ebp + 0x20]
mov edx, ebx
push ecx
mov word [esp + 0x75], 0x7075
mov byte [esp + 0x79], 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 + 0x77], al
lea eax, [ecx + 0xa]
shr eax, 8
xor ecx, ecx
mov byte [esp + 0x78], al
call fcn.00426d00
mov ecx, eax
mov byte [esp + 0x7a], al
shr ecx, 8
add esp, 4
mov byte [esp + 0x77], cl
mov ecx, eax
shr eax, 0x18
mov byte [esp + 0x79], al
mov eax, dword [ebp + 0x40]
shr ecx, 0x10
mov byte [esp + 0x78], 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
mov eax, dword [ebp + 0x44]
add eax, 0x12
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [esi], edi
jge 0x427b3d
mov dword [ebp + 0x24], edi
mov ax, word [ebp]
mov word [ebp + 0x30], ax
mov eax, 8
mov byte [esp + 0x14], 8
mov word [ebp + 2], ax
jmp 0x427be3
test byte [esp + 0x2c], 8
je 0x427b58
mov eax, dword [ebp + 0x20]
cmp byte [eax + ebp + 0x47], 0x2f
je 0x427bb8
mov byte [eax + ebp + 0x48], 0x2f
inc dword [ebp + 0x20]
jmp 0x427bb8
cmp dword [esi + 8], edi
je 0x427b6e
mov eax, 9
mov dword [esp + 0x18], 0xc
mov word [ebp], ax
push ebx
call dword [esp + 0x34]
lea edi, [ebx + eax]
cmp edi, ebx
jbe 0x427b8a
nop word [eax + eax]
cmp byte [edi], 0x2e
je 0x427b91
dec edi
cmp edi, ebx
ja 0x427b80
jne 0x427b91
cmp byte [edi], 0x2e
jne 0x427b22
mov ebx, 0x4d1550
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x427bb4
push ebx
call dword [esp + 0x34]
inc ebx
add ebx, eax
cmp byte [ebx], 0
jne 0x427b96
jmp 0x427b22
mov edi, 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 ebx, dword [esi + 0x54]
and eax, ebx
cmp eax, 0xffffffff
je 0x427be3
mov eax, edi
xor ecx, ecx
add eax, edx
mov dword [ebp + 0x10], eax
adc ecx, ebx
mov dword [ebp + 0x14], ecx
mov eax, dword [esi + 0x50]
lea ebx, [esi + 0x20]
mov ecx, dword [esi + 0x54]
mov edx, esi
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 [ebx], 0
call fcn.00426300
mov edi, dword [ebx]
test edi, edi
jne 0x428089
mov edx, dword [esi]
mov ecx, dword [ebp + 0x20]
test edx, edx
jns 0x427c34
lea eax, [ecx + 0xb]
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], eax
jmp 0x427d75
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 0x427d75
mov edx, dword [esi + 8]
mov dword [esi + 0x38], 0x12345678
mov dword [esi + 0x3c], 0x23456789
mov dword [esi + 0x40], 0x34567890
test edx, edx
je 0x427cbb
nop word [eax + eax]
mov al, byte [edx]
test al, al
je 0x427cbb
mov ecx, dword [esi + 0x38]
movsx eax, al
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d2f60]
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 + 0x4d2f60]
mov dword [esi + 0x40], ecx
add edx, 1
jne 0x427c70
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 + 0x48], al
inc edi
cmp edi, 0xc
jl 0x427cc3
mov al, byte [ebp + 5]
xor ebp, ebp
mov byte [esp + 0x53], al
nop dword [eax + eax]
mov bl, byte [esp + ebp + 0x48]
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 + 0x4d2f60]
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 + 0x4d2f60]
mov eax, edi
xor eax, 1
mov dword [esi + 0x40], edx
imul eax, edi
shr eax, 8
xor al, bl
mov byte [esp + ebp + 0x48], al
inc ebp
cmp ebp, 0xc
jl 0x427ce0
push 0xc
lea edx, [esp + 0x4c]
mov ecx, esi
call fcn.00426f60
mov edi, dword [esi + 0x20]
lea ebx, [esi + 0x20]
mov ebp, dword [esp + 0x60]
add esp, 4
test edi, edi
jne 0x428089
add dword [esi + 0x10], 0xc
adc dword [esi + 0x14], 0
or dword [esi], 0x10
mov edx, dword [esi]
mov eax, dword [esi + 0x64]
test eax, eax
je 0x427e54
cmp byte [esp + 0x14], 8
mov ecx, esi
jne 0x427d95
mov edx, ebp
call fcn.004272c0
jmp 0x427e1e
test dl, dl
jns 0x427dc9
mov edi, dword [esi + 0x68]
mov edx, eax
push edi
call fcn.00426f60
mov edx, dword [esi + 0x64]
add esp, 4
add dword [esi + 0x58], edi
mov ecx, dword [esi + 0x60]
adc dword [esi + 0x5c], 0
push edi
call fcn.00426d00
add esp, 4
mov dword [esi + 0x60], eax
add dword [esi + 0x70], edi
adc dword [esi + 0x74], 0
jmp 0x427e17
lea edx, [esi + 0x84]
push 0x4000
call fcn.00427200
mov edi, eax
add esp, 4
test edi, edi
je 0x427e17
cmp dword [ebx], 0
jne 0x427e13
push edi
lea edx, [esi + 0x84]
mov ecx, esi
call fcn.00426f60
add esp, 4
lea edx, [esi + 0x84]
mov ecx, esi
push 0x4000
call fcn.00427200
mov edi, eax
add esp, 4
test edi, edi
jne 0x427de2
mov ebp, dword [esp + 0x5c]
add dword [esi + 0x78], edi
adc dword [esi + 0x7c], 0
mov edi, dword [ebx]
test edi, edi
jne 0x428089
and dword [esi], 0xffffffef
test byte [esi], 0x40
je 0x427e37
push dword [esi + 0x64]
call dword [esp + 0x38]
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 0x427eaf
or edx, 8
cmp dword [esp + 0x20], 0
mov dword [esi], edx
jne 0x428077
mov edx, dword [esi + 0x60]
mov ecx, esi
call fcn.00426df0
movzx edx, word [esi + 0x62]
mov ecx, esi
call fcn.00426df0
mov edx, dword [esi + 0x58]
mov ecx, esi
call fcn.00426df0
mov edx, dword [esi + 0x58]
mov ecx, esi
mov eax, dword [esi + 0x5c]
shrd edx, eax, 0x10
call fcn.00426df0
mov edi, dword [ebx]
test edi, edi
jne 0x428089
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x174
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 0x427ecd
mov byte [esp + 0x1c], 1
cmp dword [ebp + 0x14], ecx
je 0x427ed2
mov byte [esp + 0x1c], 0
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 0x427f79
test edx, edx
jne 0x427f79
movzx eax, byte [esp + 0x14]
mov word [ebp + 2], ax
movzx eax, word [ebp]
mov ecx, eax
test al, 1
jne 0x427f1d
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.004270d0
add esp, 8
test eax, eax
je 0x427f68
mov edx, esi
mov ecx, ebp
call fcn.00426300
mov edi, dword [ebx]
test edi, edi
jne 0x428089
push dword [esi + 0x14]
mov ecx, esi
push dword [esi + 0x10]
call fcn.004270d0
add esp, 8
test eax, eax
jne 0x428044
mov edi, 0x10
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x427993
mov cl, byte [esp + 0x14]
movzx eax, cl
cmp word [ebp + 2], ax
jne 0x428084
test cl, cl
jne 0x427f98
cmp byte [esp + 0x1c], cl
je 0x428084
mov edx, 0x8074b50
mov ecx, esi
call fcn.00426df0
mov edx, 0x807
mov ecx, esi
call fcn.00426df0
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.00426df0
movzx edx, word [ebp + 0xa]
mov ecx, esi
call fcn.00426df0
cmp dword [ebp + 0x14], 0
mov edx, dword [ebp + 0x10]
ja 0x427fe6
cmp edx, 0xffffffff
jae 0x427fe6
mov ecx, esi
call fcn.00426df0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
shrd edx, eax, 0x10
jmp 0x427ff3
or edx, 0xffffffff
mov ecx, esi
call fcn.00426df0
or edx, 0xffffffff
mov ecx, esi
call fcn.00426df0
cmp dword [ebp + 0x1c], 0
mov edx, dword [ebp + 0x18]
ja 0x42801b
cmp edx, 0xffffffff
jae 0x42801b
mov ecx, esi
call fcn.00426df0
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x1c]
shrd edx, eax, 0x10
jmp 0x428028
or edx, 0xffffffff
mov ecx, esi
call fcn.00426df0
or edx, 0xffffffff
mov ecx, esi
call fcn.00426df0
mov edi, dword [ebx]
test edi, edi
jne 0x428089
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 0x42805b
mov dword [esi + 0x4c], ebp
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x174
ret
mov eax, dword [ecx + 0x14c]
test eax, eax
je 0x428071
mov ecx, eax
mov eax, dword [ecx + 0x14c]
test eax, eax
jne 0x428065
mov dword [ecx + 0x14c], ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x174
ret
mov edi, 0x11
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x427993