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

Disassembly:
sub esp, 0x7c
xor edx, edx
mov byte [esp + 0xc], dl
push ebx
mov byte [esp + 0x11], dl
push esi
mov byte [esp + 0x16], dl
push edi
push ebp
mov eax, pe_nt_image_headers32
mov byte [esp + 0x1f], dl
mov byte [esp + 0x20], dl
mov byte [esp + 0x21], dl
mov byte [esp + 0x22], al
mov byte [esp + 0x23], dl
mov byte [esp + 0x24], dl
mov byte [esp + 0x25], al
mov byte [esp + 0x26], dl
mov byte [esp + 0x27], dl
mov byte [esp + 0x28], dl
mov byte [esp + 0x29], al
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2c], al
mov byte [esp + 0x2d], dl
mov byte [esp + 0x2e], dl
mov byte [esp + 0x2f], dl
mov byte [esp + 0x30], al
mov byte [esp + 0x31], dl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
mov byte [esp + 0x34], al
mov ecx, 0xc0
mov byte [esp + 0x35], al
mov byte [esp + 0x36], dl
mov byte [esp + 0x37], dl
mov byte [esp + 0x38], cl
mov byte [esp + 0x39], cl
mov byte [esp + 0x3a], cl
mov byte [esp + 0x3b], dl
mov byte [esp + 0x3c], al
mov byte [esp + 0x3d], al
mov byte [esp + 0x3e], al
mov byte [esp + 0x3f], dl
mov eax, 0xff
mov byte [esp + 0x40], dl
mov byte [esp + 0x41], dl
mov byte [esp + 0x42], al
mov byte [esp + 0x43], dl
mov byte [esp + 0x44], dl
mov byte [esp + 0x45], al
mov byte [esp + 0x46], dl
mov byte [esp + 0x47], dl
mov byte [esp + 0x48], dl
mov byte [esp + 0x49], al
mov byte [esp + 0x4a], al
mov byte [esp + 0x4b], dl
mov byte [esp + 0x4c], al
mov byte [esp + 0x4d], dl
mov byte [esp + 0x4e], dl
mov byte [esp + 0x4f], dl
mov byte [esp + 0x50], al
mov byte [esp + 0x51], dl
mov byte [esp + 0x52], al
mov byte [esp + 0x53], dl
mov byte [esp + 0x54], al
mov byte [esp + 0x55], al
mov byte [esp + 0x56], dl
mov byte [esp + 0x57], dl
mov byte [esp + 0x58], al
mov byte [esp + 0x59], al
mov byte [esp + 0x5a], al
mov byte [esp + 0x5b], dl
cmp word [esp + 0x94], 1
jb 0x460d43
cmp word [esp + 0x98], 1
jb 0x460d43
cmp byte [esp + 0xa0], dl
je 0x460925
cmp byte [esp + 0x9c], 8
je 0x460925
mov ax, 0x65
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x7c
ret
cmp byte [esp + 0x9c], 0x18
je 0x460959
cmp byte [esp + 0x9c], 8
je 0x460959
cmp byte [esp + 0x9c], 4
je 0x460959
cmp byte [esp + 0x9c], 1
je 0x460959
mov ax, 0x65
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x7c
ret
movzx dx, byte [esp + 0x9c]
movzx eax, dx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x94]
and eax, 0xffff
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x64], 0x28
imul ecx, eax
add ecx, 0x1f
mov dword [esp + 0x68], eax
and ecx, 0xffffffe7
mov eax, dword [esp + 0x98]
shr ecx, 3
and eax, 0xffff
mov dword [esp + 0x14], ecx
mov dword [esp + 0x6c], eax
imul ecx, eax
xor eax, eax
mov dword [esp + 0x78], ecx
mov word [esp + 0x70], 1
cmp byte [esp + 0x9c], 0x18
mov word [esp + 0x72], dx
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
je 0x4609ea
mov eax, 1
mov cl, byte [esp + 0x9c]
shl eax, cl
mov dword [esp + 0x84], eax
jmp 0x4609f5
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x84]
mov ebp, dword [0x4c2588]
mov dword [esp + 0x88], eax
lea eax, [eax*4 + 0x28]
add eax, dword [esp + 0x78]
push eax
push 0x42
call ebp
mov dword [esp + 0x10], eax
test eax, eax
jne 0x460a2d
mov ax, 0x66
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x7c
ret
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x4c258c]
lea esi, [esp + 0x64]
mov edi, eax
mov ecx, 0xa
mov dword [esp + 0x5c], eax
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x14]
add ebx, 0x28
push ecx
push 2
call ebp
mov dword [esp + 0x18], eax
test eax, eax
jne 0x460a83
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x4c2590]
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x4c2594]
mov ax, 0x66
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x7c
ret
mov eax, dword [esp + 0x18]
push eax
call dword [0x4c258c]
cmp byte [esp + 0x9c], 1
mov ebp, eax
jne 0x460ac0
mov byte [ebx], 0
inc ebx
inc ebx
inc ebx
inc ebx
inc ebx
inc ebx
mov byte [ebx - 5], 0
inc ebx
mov byte [ebx - 5], 0
mov byte [ebx - 4], 0
mov byte [ebx - 3], 0xff
mov byte [ebx - 2], 0xff
mov byte [ebx - 1], 0xff
mov byte [ebx], 0xff
inc ebx
cmp byte [esp + 0x9c], 4
jne 0x460ad7
lea esi, [esp + 0x1c]
mov edi, ebx
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
cmp byte [esp + 0xa0], 0
je 0x460afd
xor ax, ax
mov byte [ebx], al
inc ebx
inc ebx
inc ebx
mov byte [ebx - 2], al
mov byte [ebx - 1], al
mov byte [ebx], 0
inc ebx
inc ax
cmp ax, 0x100
jl 0x460ae4
jmp 0x460b3c
cmp byte [esp + 0x9c], 8
jne 0x460b3c
xor ax, ax
xor dx, dx
xor cx, cx
mov byte [ebx], cl
inc ebx
add cx, 0x33
inc ebx
inc ebx
inc ebx
cmp cx, 0xff
mov byte [ebx - 3], al
mov byte [ebx - 2], dl
jle 0x460b10
add dx, 0x33
cmp dx, 0xff
jle 0x460b0d
add ax, 0x33
cmp ax, 0xff
jle 0x460b0a
mov eax, dword [esp + 0x84]
mov esi, 1
mov ecx, dword [esp + 0x5c]
lea ebx, [ecx + eax*4 + 0x28]
mov ecx, dword [esp + 0x60]
dec ecx
cmp ecx, 0x17
ja 0x460cd6
xor eax, eax
mov al, byte [ecx + 0x460164]
jmp dword [eax*4 + 0x460150]
cmp esi, 1
jne 0x460d0c
cmp word [esp + 0x98], 0
je 0x460d0c
mov ax, word [esp + 0x98]
mov edx, dword [esp + 0x14]
mov edi, ebx
mov esi, ebp
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add ebx, dword [esp + 0x14]
dec ax
jne 0x460cf2
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov esi, dword [0x4c2590]
push edx
mov dword [eax], ecx
call esi
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x4c2594]
mov ecx, dword [esp + 0x10]
push ecx
call esi
xor ax, ax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x7c
ret
mov ax, 0x65
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x7c
ret