Function at 0x4627b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x58]
mov ecx, dword [0x4c1ad8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
mov ebx, eax
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
and eax, 0xffff
push edi
mov edi, dword [esi]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x18], 1
shl ecx, 4
shr ebx, 0x10
lea eax, [eax + eax*2]
push ecx
push 0x40
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], eax
call ebp
mov edx, dword [0x4c1ad8]
mov dword [esp + 0x68], eax
shl edx, 4
push edx
push 0x40
call ebp
mov cl, byte [esp + 0x60]
mov dl, byte [esp + 0x5c]
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0x64]
mov byte [esp + 0x20], al
mov byte [esp + 0x23], al
mov byte [esp + 0x26], al
mov byte [esp + 0x29], al
mov byte [esp + 0x2c], al
mov byte [esp + 0x2f], al
mov byte [esp + 0x32], al
mov byte [esp + 0x35], al
mov eax, dword [esi]
mov byte [esp + 0x21], cl
test eax, eax
mov byte [esp + 0x22], dl
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], dl
mov byte [esp + 0x27], cl
mov byte [esp + 0x28], dl
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2e], dl
mov byte [esp + 0x30], cl
mov byte [esp + 0x31], dl
mov byte [esp + 0x33], cl
mov byte [esp + 0x34], dl
mov byte [esp + 0x36], cl
mov byte [esp + 0x37], dl
jne 0x46289b
push 0x4c1fa4
call fcn.00491850
add esp, 4
mov dword [esp + 0x18], 0
jmp case.0x4629d6.4
mov ebp, dword [esp + 0x58]
test ebp, ebp
jne 0x4628a8
mov ebp, 0x4c1adc
mov eax, dword [esp + 0x14]
cmp eax, 0xd
je 0x4628b6
cmp eax, 0xb
jne 0x4628be
test ebx, ebx
je case.0x4629d6.4
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
cmp ecx, eax
mov ebx, ecx
jl 0x4628ce
mov ebx, eax
mov edx, dword [esp + 0x54]
cmp ebx, edx
jl 0x4628d8
mov ebx, edx
cmp ecx, eax
mov esi, ecx
jg 0x4628e0
mov esi, eax
cmp esi, edx
jg 0x4628e6
mov esi, edx
mov edx, dword [ebp + 4]
cmp ebx, edx
jg 0x4628ef
mov ebx, edx
mov edx, dword [ebp + 0xc]
dec edx
cmp esi, edx
jl 0x4628f9
mov esi, edx
cmp ebx, esi
jg 0x462932
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x68]
mov edx, esi
sub ecx, eax
sub edx, ebx
inc edx
mov dword [esp + 0x64], edx
mov edx, dword [ebp + 8]
mov dword [ecx + eax], edx
mov edx, dword [esp + 0x64]
mov dword [eax], 0
add eax, 0x10
dec edx
mov dword [esp + 0x64], edx
jne 0x462910
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
sub eax, ebx
push edx
mov edx, dword [esp + 0x6c]
push edx
push ebp
mov dword [esp + 0x58], eax
push eax
mov eax, dword [esp + 0x58]
sub ecx, ebx
push eax
mov dword [esp + 0x58], ecx
push ecx
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00412d50
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x70]
sub eax, ebx
push ecx
mov ecx, dword [esp + 0x6c]
push ebp
mov dword [esp + 0x7c], eax
push eax
mov eax, dword [esp + 0x78]
push edx
push eax
push ecx
call fcn.00412d50
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x94]
push ebp
push ecx
mov ecx, dword [esp + 0x98]
push edx
push eax
push ecx
call fcn.00412d50
mov edx, ebx
mov eax, dword [esp + 0x68]
imul edx, dword [esp + 0x64]
add esp, 0x54
add edi, edx
dec eax
cmp eax, 0xc
ja case.0x4629d6.6
xor ecx, ecx
mov cl, byte [eax + 0x462bbc]
jmp dword [ecx*4 + 0x462ba4]
cmp ebx, esi
jg case.0x4629d6.4
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
sub ecx, eax
sub esi, ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ecx
inc esi
jmp 0x462a04
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
add ecx, eax
push edx
lea edx, [esp + 0x24]
push edx
push ebp
push ecx
push eax
push edi
call fcn.00462210
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
add esp, 0x18
add edx, 0x10
add edi, ecx
dec esi
mov dword [esp + 0x44], edx
jne 0x4629fc
jmp case.0x4629d6.4
cmp ebx, esi
jg case.0x4629d6.4
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
sub ecx, eax
sub esi, ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ecx
inc esi
jmp 0x462a5c
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
add ecx, eax
push edx
lea edx, [esp + 0x24]
push edx
push ebp
push ecx
push eax
push edi
call fcn.00462440
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
add esp, 0x18
add edx, 0x10
add edi, ecx
dec esi
mov dword [esp + 0x44], edx
jne 0x462a54
jmp case.0x4629d6.4
cmp ebx, esi
jg case.0x4629d6.4
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
sub ecx, eax
sub esi, ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ecx
inc esi
jmp 0x462ab4
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x20]
add ecx, eax
push edx
push ebp
push ecx
push eax
push edi
call fcn.004625c0
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
add esp, 0x14
add edx, 0x10
add edi, ecx
dec esi
mov dword [esp + 0x44], edx
jne 0x462aac
jmp case.0x4629d6.4
cmp ebx, esi
jg case.0x4629d6.4
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
sub ecx, eax
sub esi, ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ecx
inc esi
jmp 0x462b07
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x20]
add ecx, eax
push edx
push ebp
push ecx
push eax
push edi
call fcn.00462700
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
add esp, 0x14
add edx, 0x10
add edi, ecx
dec esi
mov dword [esp + 0x44], edx
jne 0x462aff
jmp case.0x4629d6.4
cmp ebx, esi
jg case.0x4629d6.4
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
sub ecx, eax
sub esi, ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ecx
inc esi
jmp 0x462b53
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x20]
add ecx, eax
push edx
push ebp
push ecx
push eax
push edi
call fcn.004620f0
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
add esp, 0x14
add edx, 0x10
add edi, ecx
dec esi
mov dword [esp + 0x44], edx
jne 0x462b4b
mov eax, dword [esp + 0x68]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x462b8b
push eax
call esi
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x462b96
push eax
call esi
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret