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

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x60]
mov ecx, dword [0x4c1ad8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, eax
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
and eax, 0xffff
mov ebx, dword [esi]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x18], 1
shl ecx, 4
shr edi, 0x10
lea eax, [eax + eax*2]
push ecx
push 0x40
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], eax
call ebp
mov edx, dword [0x4c1ad8]
mov dword [esp + 0x70], eax
shl edx, 4
push edx
push 0x40
call ebp
mov cl, byte [esp + 0x68]
mov dl, byte [esp + 0x64]
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0x6c]
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 0x462cbb
push 0x4c1fa4
call fcn.00491850
add esp, 4
mov dword [esp + 0x18], 0
jmp case.0x462e4f.4
mov ebp, dword [esp + 0x60]
test ebp, ebp
jne 0x462cc8
mov ebp, 0x4c1adc
mov eax, dword [esp + 0x14]
cmp eax, 0xd
je 0x462cd6
cmp eax, 0xb
jne 0x462cde
test edi, edi
je case.0x462e4f.4
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
cmp ecx, eax
mov edi, ecx
jl 0x462cee
mov edi, eax
mov edx, dword [esp + 0x54]
cmp edi, edx
jl 0x462cf8
mov edi, edx
mov edx, dword [esp + 0x5c]
cmp edi, edx
jl 0x462d02
mov edi, edx
cmp ecx, eax
mov esi, ecx
jg 0x462d0a
mov esi, eax
cmp esi, dword [esp + 0x54]
jg 0x462d14
mov esi, dword [esp + 0x54]
cmp esi, edx
jg 0x462d1a
mov esi, edx
mov edx, dword [ebp + 4]
cmp edi, edx
jg 0x462d23
mov edi, edx
mov edx, dword [ebp + 0xc]
dec edx
cmp esi, edx
jl 0x462d2d
mov esi, edx
cmp edi, esi
jg 0x462d69
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x70]
mov ecx, esi
sub edx, eax
sub ecx, edi
inc ecx
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x4c1ad4]
mov dword [edx + eax], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax], 0
add eax, 0x10
dec ecx
mov dword [esp + 0x6c], ecx
jne 0x462d44
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
sub eax, edi
push edx
mov edx, dword [esp + 0x74]
push edx
push ebp
mov dword [esp + 0x58], eax
push eax
mov eax, dword [esp + 0x58]
sub ecx, edi
push eax
mov dword [esp + 0x80], ecx
push ecx
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00412d50
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x78]
sub eax, edi
push ecx
mov ecx, dword [esp + 0x6c]
push ebp
mov dword [esp + 0x6c], 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 + 0x8c]
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0x8c]
sub eax, edi
push ecx
mov ecx, dword [esp + 0x98]
push ebp
mov dword [esp + 0x98], eax
push eax
mov eax, dword [esp + 0x8c]
push edx
push eax
push ecx
call fcn.00412d50
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
add esp, 0x54
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x5c]
push ebp
push ecx
mov ecx, dword [esp + 0x60]
push edx
push eax
push ecx
call fcn.00412d50
mov edx, edi
mov eax, dword [esp + 0x30]
imul edx, dword [esp + 0x2c]
add esp, 0x1c
add ebx, edx
dec eax
cmp eax, 0xc
ja case.0x462e4f.6
xor ecx, ecx
mov cl, byte [eax + 0x463034]
jmp dword [ecx*4 + 0x46301c]
cmp edi, esi
jg case.0x462e4f.4
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x3c]
sub ecx, eax
sub esi, edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], ecx
inc esi
jmp 0x462e7d
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x1c]
add ecx, eax
push edx
lea edx, [esp + 0x24]
push edx
push ebp
push ecx
push eax
push ebx
call fcn.00462210
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x28]
add esp, 0x18
add edx, 0x10
add ebx, ecx
dec esi
mov dword [esp + 0x4c], edx
jne 0x462e75
jmp case.0x462e4f.4
cmp edi, esi
jg case.0x462e4f.4
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x3c]
sub ecx, eax
sub esi, edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], ecx
inc esi
jmp 0x462ed5
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
add ecx, eax
push edx
lea edx, [esp + 0x24]
push edx
push ebp
push ecx
push eax
push ebx
call fcn.00462440
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x28]
add esp, 0x18
add edx, 0x10
add ebx, ecx
dec esi
mov dword [esp + 0x4c], edx
jne 0x462ecd
jmp case.0x462e4f.4
cmp edi, esi
jg case.0x462e4f.4
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x3c]
sub ecx, eax
sub esi, edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], ecx
inc esi
jmp 0x462f2d
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x20]
add ecx, eax
push edx
push ebp
push ecx
push eax
push ebx
call fcn.004625c0
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x24]
add esp, 0x14
add edx, 0x10
add ebx, ecx
dec esi
mov dword [esp + 0x4c], edx
jne 0x462f25
jmp case.0x462e4f.4
cmp edi, esi
jg case.0x462e4f.4
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x3c]
sub ecx, eax
sub esi, edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], ecx
inc esi
jmp 0x462f80
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x20]
add ecx, eax
push edx
push ebp
push ecx
push eax
push ebx
call fcn.00462700
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x24]
add esp, 0x14
add edx, 0x10
add ebx, ecx
dec esi
mov dword [esp + 0x4c], edx
jne 0x462f78
jmp case.0x462e4f.4
cmp edi, esi
jg case.0x462e4f.4
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x3c]
sub ecx, eax
sub esi, edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], ecx
inc esi
jmp 0x462fcc
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x20]
add ecx, eax
push edx
push ebp
push ecx
push eax
push ebx
call fcn.004620f0
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x24]
add esp, 0x14
add edx, 0x10
add ebx, ecx
dec esi
mov dword [esp + 0x4c], edx
jne 0x462fc4
mov eax, dword [esp + 0x70]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x463004
push eax
call esi
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x46300f
push eax
call esi
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret