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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x493755
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x4bf490]
xor eax, esp
mov dword [esp + 0xbc], eax
push esi
push edi
mov eax, dword [0x4bf490]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
cmp byte [0x4c2309], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], eax
je 0x461b53
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
push eax
lea ecx, [esp + 0xb0]
call fcn.00403369
xor edi, edi
mov dword [esp + 0xd8], edi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
push eax
lea ecx, [esp + 0x94]
call fcn.00403369
mov byte [esp + 0xd8], 1
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x5c]
call fcn.00403369
mov byte [esp + 0xd8], 2
mov esi, 0x4a57c0
push esi
call fcn.00477183
pop ecx
push eax
mov eax, esi
lea esi, [esp + 0x5c]
call fcn.0040aac1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x98]
push eax
mov ecx, esi
call fcn.0040ab88
mov eax, esi
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004623c1
mov eax, dword [esp + 0x24]
mov esi, dword [0x4c2624]
cmp eax, edi
je 0x461940
cmp eax, dword [0x4c2610]
je 0x461945
call fcn.00476d83
cmp dword [esp + 0x28], esi
je 0x461b11
lea esi, [esp + 0x24]
call fcn.004025f0
mov esi, eax
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x28]
add esi, 0x1c
push 0x38
cdq
pop ecx
idiv ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], eax
cmp eax, edi
jbe 0x461acb
jmp 0x461983
mov esi, dword [esp + 0x20]
push dword [esp + 0x14]
call fcn.004621cf
mov edx, eax
add edx, 0x1c
mov ecx, ebx
call fcn.00461dc4
push edi
lea ecx, [esp + 0x78]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x90], 7
call fcn.0040290d
mov byte [esp + 0xd8], 3
mov eax, dword [0x4c2318]
mov edi, dword [eax]
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x1c]
add edi, 0xc
call fcn.004621cf
mov ecx, dword [0x4c2318]
push eax
call dword [edi]
lea eax, [esp + 0x40]
push eax
call fcn.0046d446
mov byte [esp + 0xd8], 4
mov ecx, dword [0x4c2318]
mov eax, dword [ecx]
lea edx, [esp + 0x40]
push edx
push dword [esp + 0x1c]
call dword [eax + 0x10]
test al, al
jne 0x461a1f
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x44]
call fcn.0040998e
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x4c]
and dword [esp + 0x10], 0
sar eax, 2
mov dword [esp + 0x2c], eax
test eax, eax
jbe 0x461a90
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [0x4c2318]
mov eax, dword [eax]
mov edi, dword [esp + 0x10]
lea esi, [esp + 0x40]
mov dword [esp + 0x34], eax
call fcn.00405fc6
push dword [esp + 0x1c]
mov ecx, dword [0x4c2318]
push dword [eax]
mov eax, dword [esp + 0x3c]
call dword [eax]
call fcn.00405fc6
mov eax, dword [eax]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
push eax
call fcn.00463aff
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x2c]
jb 0x461a3f
mov byte [esp + 0xd8], 3
lea eax, [esp + 0x40]
push eax
call fcn.00412310
mov byte [esp + 0xd8], 2
push 0
push 1
lea ecx, [esp + 0x7c]
call fcn.0040292b
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, dword [esp + 0x24]
jb 0x46197f
mov byte [esp + 0xd8], 1
push edi
push 1
lea ecx, [esp + 0x60]
call fcn.0040292b
mov byte [esp + 0xd8], 0
push edi
push 1
lea ecx, [esp + 0x98]
call fcn.0040292b
or dword [esp + 0xd8], 0xffffffff
push edi
push 1
lea ecx, [esp + 0xb4]
call fcn.0040292b
mov al, 1
jmp 0x461b55
mov byte [esp + 0xd8], 1
push edi
push 1
lea ecx, [esp + 0x60]
call fcn.0040292b
mov byte [esp + 0xd8], 0
push edi
push 1
lea ecx, [esp + 0x98]
call fcn.0040292b
or dword [esp + 0xd8], 0xffffffff
push edi
push 1
lea ecx, [esp + 0xb4]
call fcn.0040292b
xor al, al
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.00476b4b
mov esp, ebp
pop ebp
ret 4