Function at 0x427510
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 0x42795c
mov ecx, dword [esi]
test cl, 8
je 0x427556
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 0x427716
sub eax, 1
je 0x427646
sub eax, 6
je 0x427619
test ebp, ebp
je 0x42795c
mov edx, dword [esp + 0x18c]
mov eax, edx
mov ebx, dword [esp + 0x190]
or eax, ebx
je 0x42795c
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 0x427762
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 0x4277cf
test ebp, ebp
je 0x42795c
push 0
push 0
push 3
push 0
push 3
push closesocket
push ebp
and ebx, 0x10
je 0x42766b
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x427671
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x64], eax
cmp eax, 0xffffffff
jne 0x427689
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 0x4276e8
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.00424580
mov dword [esp + 0x18], eax
test eax, eax
je 0x427704
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 0x427755
mov dword [esi + 0x64], ebp
test ebp, ebp
je 0x42795c
cmp ebp, 0xffffffff
je 0x42795c
push dword [esp + 0x190]
lea edx, [esp + 0x4c]
mov ecx, esi
push dword [esp + 0x190]
call fcn.00427140
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x42796f
and ebx, 0x10
test byte [esi], 0x20
mov dword [esp + 0x1c], ebx
jne 0x42785c
mov dword [esp + 0x28], 0x81800000
push edi
test ebx, ebx
je 0x4277a1
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 0x4277cf
cmp ecx, edi
jbe 0x4277c7
cmp ax, 0x2f
je 0x4277c7
cmp ax, 0x5c
je 0x4277c7
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, 0x2e
jne 0x427783
jmp 0x4277cf
call dword [esp + 0x34]
lea ecx, [eax - 1]
mov al, byte [ecx + edi]
add ecx, edi
cmp al, 0x2e
je 0x4277cf
cmp ecx, edi
jbe 0x4277c7
cmp al, 0x2f
je 0x4277c7
cmp al, 0x5c
je 0x4277c7
mov al, byte [ecx - 1]
dec ecx
cmp al, 0x2e
jne 0x4277b1
jmp 0x4277cf
mov dword [esp + 0x28], 0x81c00000
test byte [esp + 0x2c], 0x20
mov dword [esp + 0x1c], ebx
jne 0x427852
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.004cd350
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 0x427884
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x38], ebx
jmp 0x42786c
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 0x4278bc
lea edi, [eax + 2]
jmp 0x427961
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 0x427913
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 0x427d33
cmp dword [esp + 0x1c], 0
lea ebx, [ebp + 0x48]
je 0x427941
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 0x427955
dec eax
jmp 0x42794e
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call dword [esp + 0x34]
mov dword [ebp + 0x20], eax
test eax, eax
jne 0x42797a
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edi, 9
test byte [esi], 0x40
je 0x42796d
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 0x427992
cmp cl, 0x5c
jne 0x42798a
mov byte [eax], 0x2f
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x427982
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 0x427ae9
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.00426cd0
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 0x427b0b
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 0x427bad
test byte [esp + 0x2c], 8
je 0x427b26
mov eax, dword [ebp + 0x20]
cmp byte [eax + ebp + 0x47], 0x2f
je 0x427b82
mov byte [eax + ebp + 0x48], 0x2f
inc dword [ebp + 0x20]
jmp 0x427b82
cmp dword [esi + 8], edi
je 0x427b3c
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 0x427b52
cmp byte [edi], 0x2e
je 0x427b59
dec edi
cmp edi, ebx
ja 0x427b48
jne 0x427b59
cmp byte [edi], 0x2e
jne 0x427af0
mov ebx, 0x4d1540
nop
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x427b7e
push ebx
call dword [esp + 0x34]
inc ebx
add ebx, eax
cmp byte [ebx], 0
jne 0x427b60
jmp 0x427af0
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 0x427bad
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.004262d0
mov edi, dword [ebx]
test edi, edi
jne 0x428054
mov edx, dword [esi]
mov ecx, dword [ebp + 0x20]
test edx, edx
jns 0x427bfe
lea eax, [ecx + 0xb]
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], eax
jmp 0x427d35
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 0x427d35
mov edx, dword [esi + 8]
mov dword [esi + 0x38], 0x12345678
mov dword [esi + 0x3c], 0x23456789
mov dword [esi + 0x40], 0x34567890
test edx, edx
je 0x427c7f
mov al, byte [edx]
test al, al
je 0x427c7f
mov ecx, dword [esi + 0x38]
movsx eax, al
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d2f08]
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 + 0x4d2f08]
mov dword [esi + 0x40], ecx
add edx, 1
jne 0x427c34
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 0x427c87
mov al, byte [ebp + 5]
xor ebp, ebp
mov byte [esp + 0x53], al
nop
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 + 0x4d2f08]
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 + 0x4d2f08]
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 0x427ca0
push 0xc
lea edx, [esp + 0x4c]
mov ecx, esi
call fcn.00426f30
mov edi, dword [esi + 0x20]
lea ebx, [esi + 0x20]
mov ebp, dword [esp + 0x60]
add esp, 4
test edi, edi
jne 0x428054
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 0x427e14
cmp byte [esp + 0x14], 8
mov ecx, esi
jne 0x427d55
mov edx, ebp
call fcn.00427290
jmp 0x427dde
test dl, dl
jns 0x427d89
mov edi, dword [esi + 0x68]
mov edx, eax
push edi
call fcn.00426f30
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.00426cd0
add esp, 4
mov dword [esi + 0x60], eax
add dword [esi + 0x70], edi
adc dword [esi + 0x74], 0
jmp 0x427dd7
lea edx, [esi + 0x84]
push 0x4000
call fcn.004271d0
mov edi, eax
add esp, 4
test edi, edi
je 0x427dd7
cmp dword [ebx], 0
jne 0x427dd3
push edi
lea edx, [esi + 0x84]
mov ecx, esi
call fcn.00426f30
add esp, 4
lea edx, [esi + 0x84]
mov ecx, esi
push 0x4000
call fcn.004271d0
mov edi, eax
add esp, 4
test edi, edi
jne 0x427da2
mov ebp, dword [esp + 0x5c]
add dword [esi + 0x78], edi
adc dword [esi + 0x7c], 0
mov edi, dword [ebx]
test edi, edi
jne 0x428054
and dword [esi], 0xffffffef
test byte [esi], 0x40
je 0x427df7
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 0x427e6f
or edx, 8
cmp dword [esp + 0x20], 0
mov dword [esi], edx
jne 0x428042
mov edx, dword [esi + 0x60]
mov ecx, esi
call fcn.00426dc0
movzx edx, word [esi + 0x62]
mov ecx, esi
call fcn.00426dc0
mov edx, dword [esi + 0x58]
mov ecx, esi
call fcn.00426dc0
mov edx, dword [esi + 0x58]
mov ecx, esi
mov eax, dword [esi + 0x5c]
shrd edx, eax, 0x10
call fcn.00426dc0
mov edi, dword [ebx]
test edi, edi
jne 0x428054
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 0x427e8d
mov byte [esp + 0x1c], 1
cmp dword [ebp + 0x14], ecx
je 0x427e92
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 0x427f3d
test edx, edx
jne 0x427f3d
movzx eax, byte [esp + 0x14]
mov word [ebp + 2], ax
movzx eax, word [ebp]
mov ecx, eax
test al, 1
jne 0x427ee1
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.004270a0
add esp, 8
test eax, eax
je 0x427f2c
mov edx, esi
mov ecx, ebp
call fcn.004262d0
mov edi, dword [ebx]
test edi, edi
jne 0x428054
push dword [esi + 0x14]
mov ecx, esi
push dword [esi + 0x10]
call fcn.004270a0
add esp, 8
test eax, eax
jne 0x428008
mov edi, 0x10
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x427961
mov cl, byte [esp + 0x14]
movzx eax, cl
cmp word [ebp + 2], ax
jne 0x42804f
test cl, cl
jne 0x427f5c
cmp byte [esp + 0x1c], cl
je 0x42804f
mov edx, 0x8074b50
mov ecx, esi
call fcn.00426dc0
mov edx, 0x807
mov ecx, esi
call fcn.00426dc0
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.00426dc0
movzx edx, word [ebp + 0xa]
mov ecx, esi
call fcn.00426dc0
cmp dword [ebp + 0x14], 0
mov edx, dword [ebp + 0x10]
ja 0x427faa
cmp edx, 0xffffffff
jae 0x427faa
mov ecx, esi
call fcn.00426dc0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
shrd edx, eax, 0x10
jmp 0x427fb7
or edx, 0xffffffff
mov ecx, esi
call fcn.00426dc0
or edx, 0xffffffff
mov ecx, esi
call fcn.00426dc0
cmp dword [ebp + 0x1c], 0
mov edx, dword [ebp + 0x18]
ja 0x427fdf
cmp edx, 0xffffffff
jae 0x427fdf
mov ecx, esi
call fcn.00426dc0
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x1c]
shrd edx, eax, 0x10
jmp 0x427fec
or edx, 0xffffffff
mov ecx, esi
call fcn.00426dc0
or edx, 0xffffffff
mov ecx, esi
call fcn.00426dc0
mov edi, dword [ebx]
test edi, edi
jne 0x428054
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 0x42801f
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 0x42803c
nop dword [eax]
mov ecx, eax
mov eax, dword [ecx + 0x14c]
test eax, eax
jne 0x428030
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 0x427961