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

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x30]
push ebp
push esi
mov esi, dword [esp + 0x2c]
mov ebp, eax
mov dword [esp + 0x14], eax
mov ecx, esi
lea eax, [ebx*4]
push edi
mov edx, dword [esi + 0x64]
mov dword [esp + 0x14], eax
mov edx, dword [eax + edx]
call fcn.00451fa0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x30], eax
lea eax, [ebx*8]
mov dword [esp + 0x38], eax
mov edi, dword [ecx]
add edi, eax
mov eax, dword [edi + 4]
cmp eax, 0xfffffffb
jne 0x461fc4
mov ebx, dword [edi]
jmp 0x461fe2
cmp eax, 0xfffffff2
ja 0x462284
mov ecx, dword [esi + 0x54]
mov edx, edi
call fcn.0041bc30
mov ebx, eax
mov dword [edi + 4], 0xfffffffb
mov dword [edi], ebx
push 4
push ebx
push esi
call fcn.00452330
mov ecx, 0x884
movzx eax, ax
mov word [esi + 0x7c], cx
add esp, 0xc
mov ecx, dword [esp + 0x30]
mov word [esi + 0x78], cx
mov ecx, esi
mov word [esi + 0x7a], ax
call fcn.0045b770
mov ecx, dword [ebx + 0x10]
lea eax, [ebx + 0x14]
mov dword [esp + 0x1c], eax
add eax, ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
call fcn.0041bda0
mov ebx, eax
test ebx, ebx
je 0x46222d
mov edx, ebx
cmp ebx, 2
jne 0x46204e
mov ecx, esi
xor edi, edi
call fcn.00451e80
mov ecx, eax
mov eax, ebx
and eax, 0xf
mov dword [esp + 0x30], ecx
dec eax
jmp switch.0x00462080
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x64]
add ecx, 4
add dword [esp + 0x38], 8
mov dword [esp + 0x14], ecx
mov edi, dword [ecx + eax]
mov ecx, esi
call fcn.00451e80
mov ecx, eax
mov dword [esp + 0x30], eax
mov eax, ebx
and eax, 0xf
dec eax
cmp eax, 7
ja case.0x462080.1
jmp dword [eax*4 + 0x46228c]
push 4
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esi + 0x54]
call fcn.0040faa0
add esp, 0xc
push eax
push esi
call fcn.00452330
mov ecx, 0x5685
movzx eax, ax
add esp, 0xc
mov word [esi + 0x7c], cx
mov ecx, esi
mov word [esi + 0x78], bp
mov word [esi + 0x7a], ax
call fcn.0045b770
jmp 0x462218
mov dword [esp + 0x10], 0xb
jmp 0x4620d8
mov dword [esp + 0x10], 0xc
mov eax, edi
shr eax, 0x18
and eax, 0x1f
sub eax, 0xf
cmp eax, 4
jbe 0x462122
mov eax, edi
and eax, 0x1f000000
cmp eax, 0xa000000
jne 0x462187
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
add eax, dword [esp + 0x38]
push eax
push edi
push esi
call fcn.004691c0
push eax
push dword [esp + 0x40]
push ebp
push 0xa
push esi
call fcn.004520a0
add esp, 0x20
jmp 0x462218
mov word [esi + 0x78], di
mov ecx, esi
cmp ebx, 3
jne 0x462159
mov dword [esi + 0x7a], 0x5d040000
call fcn.0045b770
mov ecx, 0x5685
movzx eax, ax
mov word [esi + 0x7c], cx
mov ecx, esi
mov word [esi + 0x78], bp
mov word [esi + 0x7a], ax
call fcn.0045b770
jmp 0x462218
mov dword [esi + 0x7a], 0x5b160ad3
call fcn.0045b770
push eax
push dword [esp + 0x34]
push ebp
push 0xa
push esi
call fcn.004520a0
mov byte [esi + 0x134], 1
jmp 0x462215
mov dword [esp + 0x10], 0xd
mov edx, edi
mov ecx, esi
call fcn.00451f00
push eax
push dword [esp + 0x34]
push ebp
push dword [esp + 0x1c]
jmp 0x46220f
mov eax, edi
and eax, 0x1f000000
cmp eax, 0x4000000
jne case.0x462080.1
cmp ebx, 6
jne 0x4621cd
mov eax, 0x5685
mov word [esi + 0x78], bp
mov ecx, esi
mov word [esi + 0x7c], ax
mov word [esi + 0x7a], di
call fcn.0045b770
jmp 0x462218
push edi
test bl, 0x10
je 0x4621e1
push ebp
push 9
push esi
call fcn.004520a0
add esp, 0x10
jmp 0x462218
push ecx
push ebp
push 0xe
jmp 0x46220f
mov edx, edi
mov ecx, esi
call fcn.0045dc30
cmp ebx, 7
jne 0x462207
mov dword [esi + 0x7a], 0x5d040002
mov ecx, esi
mov word [esi + 0x78], ax
jmp 0x462134
push eax
push dword [esp + 0x34]
push ebp
push 0xf
push esi
call fcn.004520a0
add esp, 0x14
lea ecx, [esp + 0x1c]
mov ebp, eax
call fcn.0041bda0
mov ebx, eax
test ebx, ebx
jne 0x462030
cmp dword [esp + 0x3c], 0
mov ecx, esi
mov word [esi + 0x78], bp
je 0x462261
mov dword [esi + 0x7a], 0x12000000
call fcn.0045b770
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x34]
mov ecx, esi
call fcn.0045ea40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, 0x5784
mov word [esi + 0x7c], ax
mov eax, dword [esp + 0x18]
mov word [esi + 0x7a], ax
call fcn.0045b770
mov ecx, dword [esi + 0x64]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
pop ebx
add esp, 0x1c
ret
push 0xb
push esi
call fcn.00414ce0
dec esi
and al, byte [esi]
xchg dword [eax], esp
inc esi
add dh, al
and byte [esi], al
shl byte [eax], 1
inc esi
add byte [edi + 0x21], bh
inc esi
add byte [ecx + 0x21e70046], bl
inc esi
add byte [esi + 0x22], cl
inc esi
add ah, cl
int3