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

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push edi
mov edi, dword [esp + 0x1c]
mov ebp, dword [ebx + 0xc]
mov dword [esp + 0xc], ebp
test edi, edi
je 0x461b45
mov eax, dword [edi + 0x78]
cmp eax, 4
jne 0x461b36
pop edi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
cmp eax, 5
jne 0x461b45
pop edi
pop ebp
mov eax, 0x38
pop ebx
pop ecx
ret
push esi
mov esi, dword [esp + 0x1c]
nop word [eax + eax]
push 1
push 0
push esi
call fcn.004359d0
add esp, 0xc
test edx, edx
jl 0x461e60
jg 0x461b6f
test eax, eax
je 0x461e60
mov eax, dword [edi + 0x78]
cmp eax, 3
ja case.default.0x461b7b
jmp dword [eax*4 + 0x461ecc]
push 0x55cd20
push ebx
push esi
call fcn.00433650
push edi
push esi
push ebx
call fcn.00462530
mov ebp, eax
add esp, 0x18
test ebp, ebp
jne 0x461e73
cmp dword [edi + 0x78], 1
je case.0x461b7b.1
push 0x55ca8c
push ebx
push esi
call fcn.00433650
lea eax, [edi + 4]
mov dword [edi + 0x78], 1
push eax
mov dword [edi + 0x68], 1
call fcn.00420f80
add esp, 0x10
push 0x55cd30
push ebx
push esi
call fcn.00433650
lea eax, [esp + 0x24]
push eax
push edi
push esi
push ebx
call fcn.00462470
mov ebp, eax
add esp, 0x1c
test ebp, ebp
jne 0x461e73
cmp byte [esp + 0x18], al
je 0x461ec1
cmp dword [edi + 0x78], 2
je case.0x461b7b.2
push 0x55caa8
push ebx
push esi
call fcn.00433650
add esp, 0xc
mov dword [edi + 0x78], 2
push 0x55cd40
push ebx
push esi
call fcn.00433650
lea eax, [esp + 0x24]
push eax
push edi
push esi
push ebx
call fcn.00462140
push esi
mov ebp, eax
call fcn.004445f0
add esp, 0x20
test eax, eax
jne 0x461d8e
test ebp, ebp
jne 0x461e73
cmp byte [esp + 0x18], al
je 0x461ec1
cmp dword [edi + 0x78], 3
je 0x461c75
push 0x55cac4
push ebx
push esi
call fcn.00433650
add esp, 0xc
mov dword [edi + 0x78], 3
mov ebp, dword [esp + 0x10]
push 0x55cd50
push ebx
push esi
call fcn.00433650
add esp, 0xc
cmp dword [esi + 0x120], 0
je 0x461ce2
lea eax, [esi + 0x88]
push esi
push eax
call fcn.00427cd0
add esp, 8
cmp byte [edi + 0x7d], 0
jne 0x461d98
cmp byte [ebp + 0x246], 0
jne 0x461d98
cmp dword [edi + 0x78], 0
je case.default.0x461b7b
push 0x55ca74
push ebx
push esi
call fcn.00433650
push edi
push esi
push ebx
call fcn.004627a0
add esp, 0x18
cmp dword [esi + 0x120], 0
jne 0x461b50
mov eax, 0x51eb851f
imul dword [esi + 0xd1c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
je 0x461de0
push dword [esi + 0x120]
call dword [0x1341004]
push 2
push ebp
mov dword [esi + 0x120], 0
call fcn.00435840
add esp, 0xc
cmp dword [edi + 0x78], 5
je 0x461d6f
push 0x55cb18
push ebx
push esi
call fcn.00433650
lea eax, [edi + 4]
mov dword [edi + 0x78], 5
push eax
call fcn.00420f80
lea eax, [edi + 0x14]
push eax
call fcn.00420f80
push dword [esi + 0xce8]
mov dword [esi + 0xd18], 0
call dword [0x1341004]
add esp, 0x18
mov dword [esi + 0xce8], 0
push dword [esi + 0xd4]
push 0x55cd98
push esi
call fcn.00433540
add esp, 0xc
mov eax, 0x38
pop esi
pop edi
pop ebp
pop ebx
pop ecx
ret
mov ebp, 0x2a
jmp 0x461e73
push 0x55cd64
push ebx
push esi
call fcn.00433650
push 0x55cd80
push esi
call fcn.00433610
push esi
push ebx
call fcn.00432940
push 0
push ebp
call fcn.00435840
lea eax, [esp + 0x3c]
push eax
push 0
push esi
push dword [ebx + 4]
call fcn.004329c0
add esp, 0x34
mov ebp, eax
test ebp, ebp
je 0x461ec1
jmp 0x461e73
cmp dword [edi + 0x78], 4
je 0x461e42
push 0x55cae0
push ebx
push esi
call fcn.00433650
push 0x55cb00
push esi
call fcn.00433610
lea eax, [edi + 4]
mov word [esi + 0x910], 1
push eax
mov dword [edi + 0x78], 4
call fcn.00420f80
lea eax, [edi + 0x14]
push eax
call fcn.00420f80
push dword [esi + 0xce8]
mov dword [esi + 0xd18], 0
call dword [0x1341004]
add esp, 0x20
mov dword [esi + 0xce8], 0
push dword [esi + 0xd1c]
push 0x55cdbc
push esi
call fcn.00433610
add esp, 0xc
xor ebp, ebp
mov eax, ebp
pop esi
pop edi
pop ebp
pop ebx
pop ecx
ret
push 0x55ccf8
push esi
call fcn.00433540
add esp, 8
mov ebp, 0x1c
cmp dword [edi + 0x78], 5
je 0x461ec1
push 0x55cb18
push ebx
push esi
call fcn.00433650
lea eax, [edi + 4]
mov dword [edi + 0x78], 5
push eax
call fcn.00420f80
lea eax, [edi + 0x14]
push eax
call fcn.00420f80
push dword [esi + 0xce8]
mov dword [esi + 0xd18], 0
call dword [0x1341004]
add esp, 0x18
mov dword [esi + 0xce8], 0
pop esi
pop edi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret