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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d9bb8
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 0x47a0fb
lea eax, [esp + 0x64]
push eax
call dword [0x4de770]
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x64]
push ecx
push edx
call dword [0x4de774]
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 0x479e67
test ebx, ebx
jl 0x479e67
cmp edi, dword [esi + 0x5c]
jne 0x479e67
cmp ebp, dword [esi + 0x60]
je 0x47a0fb
push esi
lea ecx, [esp + 0x40]
call fcn.004b8283
test edi, edi
mov dword [esp + 0x58], 0
jl 0x479f7a
test ebp, ebp
jl 0x479f7a
mov eax, dword [esi + 0x88]
cmp edi, eax
jge 0x479e9f
cmp ebp, dword [esi + 0x84]
jl 0x479f7a
cmp edi, eax
mov ebx, eax
jl 0x479eac
inc edi
mov dword [esi + 0x88], edi
cmp ebp, dword [esi + 0x84]
jl 0x479ebb
inc ebp
mov dword [esi + 0x84], ebp
lea eax, [esp + 0x2c]
push 0
push eax
push 0
push 0x30
call dword [0x4de6ec]
mov eax, dword [0x513b6c]
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 [0x513b68]
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 0x479f15
mov ecx, edx
mov dword [esi + 0x88], ecx
mov ecx, dword [esi + 0x84]
cmp ecx, eax
jl 0x479f27
mov ecx, eax
mov dword [esi + 0x84], ecx
push 0
mov ecx, esi
call fcn.00479970
cmp ebx, dword [esi + 0x88]
jge 0x479f6e
mov eax, dword [esi + 0x84]
xor edi, edi
test eax, eax
jle 0x479f63
mov ecx, dword [esp + 0x40]
push edi
push ebx
push ecx
mov ecx, esi
call fcn.00479cc0
mov eax, dword [esi + 0x84]
inc edi
cmp edi, eax
jl 0x479f4a
mov eax, dword [esi + 0x88]
inc ebx
cmp ebx, eax
jl 0x479f3e
mov edx, dword [esp + 0x40]
mov ecx, esi
push edx
call fcn.00479ae0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [0x4de798]
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 0x479fae
mov ebp, ecx
mov dword [esp + 0x64], ebp
mov ecx, dword [esp + 0x68]
dec eax
cmp ecx, eax
jl 0x479fbb
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 0x47a0ae
mov edx, dword [esp + 0x68]
test edx, edx
jl 0x47a0ae
cmp ecx, edi
mov dword [esp + 0x18], ecx
jl 0x47a012
mov dword [esp + 0x18], edi
cmp ecx, edi
jle 0x47a01c
mov dword [esp + 0x14], ecx
jmp 0x47a022
mov dword [esp + 0x14], edi
mov ecx, edi
cmp ebx, eax
jge 0x47a02e
mov edx, ebx
mov dword [esp + 0x10], edx
jmp 0x47a034
mov dword [esp + 0x10], eax
mov edx, eax
cmp ebx, eax
mov ebp, ebx
jg 0x47a03c
mov ebp, eax
xor ebx, ebx
test ecx, ecx
jl 0x47a068
cmp edx, ebp
mov edi, edx
jg 0x47a063
mov eax, dword [esp + 0x40]
push edi
push ebx
push eax
mov ecx, esi
call fcn.00479cc0
inc edi
cmp edi, ebp
jle 0x47a048
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc ebx
cmp ebx, ecx
jle 0x47a042
mov ebx, dword [esp + 0x18]
cmp ebx, ecx
jg 0x47a098
xor edi, edi
test edx, edx
jl 0x47a093
mov ecx, dword [esp + 0x40]
push edi
push ebx
push ecx
mov ecx, esi
call fcn.00479cc0
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jle 0x47a076
mov ecx, dword [esp + 0x14]
mov edx, eax
inc ebx
cmp ebx, ecx
jle 0x47a070
mov edx, dword [esp + 0x40]
mov ecx, esi
push edx
call fcn.00479b70
mov dword [esp + 0x58], 0xffffffff
jmp 0x47a0f2
or edi, 0xffffffff
xor ebp, ebp
test ecx, ecx
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
jl 0x47a0e2
xor edi, edi
test ebx, ebx
jl 0x47a0da
mov eax, dword [esp + 0x40]
push edi
push ebp
push eax
mov ecx, esi
call fcn.00479cc0
inc edi
cmp edi, ebx
jle 0x47a0c3
mov ecx, dword [esp + 0x18]
inc ebp
cmp ebp, ecx
jle 0x47a0bd
or edi, 0xffffffff
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, esi
call fcn.00479b70
mov dword [esp + 0x58], edi
lea ecx, [esp + 0x3c]
call fcn.004b82f5
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 0xc