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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f8798
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x90]
test eax, eax
je 0x493cab
lea eax, [esp + 0x64]
push eax
call dword [0x4fd68c]
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x64]
push ecx
push edx
call dword [0x4fd690]
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov eax, ebx
cdq
idiv dword [esi + 0x80]
mov edi, eax
mov eax, ecx
cdq
idiv dword [esi + 0x7c]
test ecx, ecx
mov ebp, eax
jl 0x493a17
test ebx, ebx
jl 0x493a17
cmp edi, dword [esi + 0x5c]
jne 0x493a17
cmp ebp, dword [esi + 0x60]
je 0x493cab
push esi
lea ecx, [esp + 0x40]
call fcn.004d6e60
test edi, edi
mov dword [esp + 0x58], 0
jl 0x493b2a
test ebp, ebp
jl 0x493b2a
mov eax, dword [esi + 0x88]
cmp edi, eax
jge 0x493a4f
cmp ebp, dword [esi + 0x84]
jl 0x493b2a
cmp edi, eax
mov ebx, eax
jl 0x493a5c
inc edi
mov dword [esi + 0x88], edi
cmp ebp, dword [esi + 0x84]
jl 0x493a6b
inc ebp
mov dword [esi + 0x84], ebp
lea eax, [esp + 0x2c]
push 0
push eax
push 0
push 0x30
call dword [0x4fd5d4]
mov eax, dword [0x55eb94]
mov edi, dword [esi + 0x8c]
mov edx, dword [esi + 0x78]
mov ecx, dword [esp + 0x38]
neg eax
shl eax, 1
sub eax, edi
mov ebp, dword [esp + 0x34]
sub eax, edx
add eax, ecx
cdq
idiv dword [esi + 0x80]
mov edx, dword [esi + 0x74]
mov ecx, eax
mov eax, dword [0x55eb90]
neg eax
shl eax, 1
sub eax, edx
add eax, ebp
cdq
idiv dword [esi + 0x7c]
mov edx, dword [esi + 0x88]
cmp edx, ecx
jge 0x493ac5
mov ecx, edx
mov dword [esi + 0x88], ecx
mov ecx, dword [esi + 0x84]
cmp ecx, eax
jl 0x493ad7
mov ecx, eax
mov dword [esi + 0x84], ecx
push 0
mov ecx, esi
call fcn.00493520
cmp ebx, dword [esi + 0x88]
jge 0x493b1e
mov eax, dword [esi + 0x84]
xor edi, edi
test eax, eax
jle 0x493b13
mov ecx, dword [esp + 0x40]
push edi
push ebx
push ecx
mov ecx, esi
call fcn.00493870
mov eax, dword [esi + 0x84]
inc edi
cmp edi, eax
jl 0x493afa
mov eax, dword [esi + 0x88]
inc ebx
cmp ebx, eax
jl 0x493aee
mov edx, dword [esp + 0x40]
mov ecx, esi
push edx
call fcn.00493690
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [0x4fd6b4]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov edi, dword [esi + 0x8c]
mov ebp, dword [esp + 0x64]
lea ecx, [edx - 1]
sub eax, edi
cmp ebp, ecx
mov dword [esp + 0x28], eax
jl 0x493b5e
mov ebp, ecx
mov dword [esp + 0x64], ebp
mov ecx, dword [esp + 0x68]
dec eax
cmp ecx, eax
jl 0x493b6b
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x5c]
xor ecx, ecx
test eax, eax
setl cl
dec ecx
xor ebx, ebx
and ecx, eax
mov eax, dword [esi + 0x60]
test eax, eax
setl bl
dec ebx
mov dword [esp + 0x18], ecx
and ebx, eax
mov eax, dword [esp + 0x68]
cdq
idiv dword [esi + 0x80]
mov edi, eax
mov eax, ebp
cdq
idiv dword [esi + 0x7c]
test ebp, ebp
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
jl 0x493c5e
mov edx, dword [esp + 0x68]
test edx, edx
jl 0x493c5e
cmp ecx, edi
mov dword [esp + 0x18], ecx
jl 0x493bc2
mov dword [esp + 0x18], edi
cmp ecx, edi
jle 0x493bcc
mov dword [esp + 0x14], ecx
jmp 0x493bd2
mov dword [esp + 0x14], edi
mov ecx, edi
cmp ebx, eax
jge 0x493bde
mov edx, ebx
mov dword [esp + 0x10], edx
jmp 0x493be4
mov dword [esp + 0x10], eax
mov edx, eax
cmp ebx, eax
mov ebp, ebx
jg 0x493bec
mov ebp, eax
xor ebx, ebx
test ecx, ecx
jl 0x493c18
cmp edx, ebp
mov edi, edx
jg 0x493c13
mov eax, dword [esp + 0x40]
push edi
push ebx
push eax
mov ecx, esi
call fcn.00493870
inc edi
cmp edi, ebp
jle 0x493bf8
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc ebx
cmp ebx, ecx
jle 0x493bf2
mov ebx, dword [esp + 0x18]
cmp ebx, ecx
jg 0x493c48
xor edi, edi
test edx, edx
jl 0x493c43
mov ecx, dword [esp + 0x40]
push edi
push ebx
push ecx
mov ecx, esi
call fcn.00493870
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jle 0x493c26
mov ecx, dword [esp + 0x14]
mov edx, eax
inc ebx
cmp ebx, ecx
jle 0x493c20
mov edx, dword [esp + 0x40]
mov ecx, esi
push edx
call fcn.00493720
mov dword [esp + 0x58], 0xffffffff
jmp 0x493ca2
or edi, 0xffffffff
xor ebp, ebp
test ecx, ecx
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
jl 0x493c92
xor edi, edi
test ebx, ebx
jl 0x493c8a
mov eax, dword [esp + 0x40]
push edi
push ebp
push eax
mov ecx, esi
call fcn.00493870
inc edi
cmp edi, ebx
jle 0x493c73
mov ecx, dword [esp + 0x18]
inc ebp
cmp ebp, ecx
jle 0x493c6d
or edi, 0xffffffff
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, esi
call fcn.00493720
mov dword [esp + 0x58], edi
lea ecx, [esp + 0x3c]
call fcn.004d6ed2
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 0xc