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

Disassembly:
push 0xffffffffffffffff
push 0x5c9270
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0x48]
push edi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x18]
xor ebx, ebx
mov dword [esp + 0x44], 0x5f544c
mov dword [esp + 0x48], ebx
lea edx, [esi + 0x90]
mov dword [esp + 0x64], ebx
push edx
call dword [0x5da224]
push eax
lea ecx, [esp + 0x48]
call fcn.00597595
mov edi, dword [esp + 0x6c]
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x28]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x84]
cmp eax, ebx
jne 0x4d23f6
mov ecx, dword [edi + 4]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x70]
push 1
push eax
push ecx
mov byte [esp + 0x7c], 0x41
call dword [0x5da1e0]
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x84], edx
mov eax, dword [esp + 0x58]
cdq
idiv dword [esi + 0x84]
mov ebx, eax
mov eax, dword [esi + 0x108]
inc ebx
cmp eax, 0xffffffff
mov dword [esp + 0x30], ebx
je 0x4d241b
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov eax, dword [esi + 0x10c]
cmp eax, 0xffffffff
je 0x4d242e
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x2c]
mov eax, dword [edi + 8]
push eax
call dword [0x5da178]
mov ecx, dword [edi + 8]
mov dword [esp + 0x1c], eax
push ecx
call dword [0x5da17c]
mov edx, dword [esi + 0xd0]
mov dword [esp + 0x20], eax
mov dword [esp + 0x6c], edx
mov ecx, dword [esi + 0xd0]
mov eax, dword [esi + 0x24]
add ecx, ebx
cmp eax, ecx
jl 0x4d2465
mov eax, ecx
cmp edx, eax
jge 0x4d2814
lea ebx, [esi + 0x1c]
push edx
mov ecx, ebx
call fcn.004c78d0
mov edx, dword [eax]
lea ecx, [esi + 0x58]
push edx
mov dword [esp + 0x14], eax
xor ebp, ebp
call fcn.004c79a0
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.004d1b40
test al, al
je 0x4d24e0
mov ebx, dword [esp + 0x6c]
mov eax, dword [esi + 0x38]
cmp ebx, eax
jl 0x4d24e0
cmp ebx, dword [esi + 0x3c]
jg 0x4d24e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x4d24e0
mov ecx, dword [esi + 0x84]
push 0x800000
mov eax, ecx
push ecx
cdq
and edx, 3
add eax, edx
mov edx, dword [esi + 0xd0]
sub ebx, edx
imul ebx, ecx
sar eax, 2
push eax
push ebx
push 4
mov ecx, edi
call fcn.005a667c
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0xc]
dec edx
test edx, edx
jle 0x4d2800
mov eax, dword [esp + 0x18]
lea ecx, [esi + 0x58]
push eax
call fcn.004c79f0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov ebx, dword [ecx + 0xc]
sub ebx, ebp
dec ebx
test eax, eax
je 0x4d251f
mov edx, eax
mov eax, dword [edx]
mov edx, dword [ecx]
sub eax, edx
sub eax, ebp
cmp ebx, eax
jb 0x4d251f
mov ebx, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4d2571
test byte [eax + 0xc], 1
je 0x4d2547
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
jne 0x4d253b
mov eax, dword [esi + 0x108]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov eax, dword [esp + 0x18]
test byte [eax + 0xc], 2
je 0x4d2565
mov eax, dword [eax + 8]
cmp eax, 0xffffffff
jne 0x4d255b
mov eax, dword [esi + 0x10c]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x2c]
jmp 0x4d2571
mov ecx, dword [esp + 0x20]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x2c]
lea ecx, [esi + 0x1c]
call fcn.004d1b40
test al, al
je 0x4d2793
mov eax, dword [esi + 0x38]
mov ecx, dword [esp + 0x6c]
cmp ecx, eax
jl 0x4d2793
mov edx, dword [esi + 0x3c]
cmp ecx, edx
jg 0x4d2793
cmp ecx, eax
jne 0x4d25a6
mov eax, dword [esi + 0x30]
sub eax, ebp
jmp 0x4d25a8
xor eax, eax
cmp ecx, edx
jne 0x4d25b3
mov ecx, dword [esi + 0x34]
sub ecx, ebp
jmp 0x4d25bb
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0xc]
dec ecx
test ecx, ecx
mov dword [esp + 0x14], ecx
jl 0x4d276f
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and eax, ecx
cmp eax, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
jl 0x4d25e1
mov dword [esp + 0x28], ebx
mov edx, dword [edi + 8]
push edx
call dword [0x5da17c]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
push dword [esp + 0x34]
mov eax, dword [esi + 0x84]
mov edx, dword [ecx + 8]
push eax
mov eax, dword [esp + 0x30]
mov ecx, dword [edx + ebp*4]
add eax, ebp
mov edx, dword [edx + eax*4]
mov eax, dword [esp + 0x74]
sub edx, ecx
push edx
mov edx, dword [esi + 0xd0]
sub eax, edx
mov edx, dword [esi + 0xcc]
imul eax, dword [esi + 0x84]
sub ecx, edx
push eax
add ecx, 4
push ecx
mov ecx, edi
call fcn.005a667c
cmp ebx, dword [esp + 0x24]
jle 0x4d27e6
mov edx, dword [edi]
push 0xffffff
mov ecx, edi
call dword [edx + 0x30]
mov eax, dword [edi]
push 0x800000
mov ecx, edi
call dword [eax + 0x2c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov ecx, ebx
sub eax, edx
sub ecx, edx
cmp ecx, eax
mov dword [esp + 0x28], ecx
jl 0x4d2673
mov dword [esp + 0x28], eax
mov ecx, dword [edi + 8]
push ecx
call dword [0x5da17c]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esi + 0x84]
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x28]
add edx, ebp
push eax
mov eax, dword [esp + 0x30]
mov ecx, dword [ecx + edx*4]
mov edx, dword [esp + 0x2c]
add edx, eax
mov eax, dword [esp + 0x18]
add edx, ebp
mov eax, dword [eax + 8]
mov edx, dword [eax + edx*4]
mov eax, dword [esp + 0x74]
sub edx, ecx
push edx
mov edx, dword [esi + 0xd0]
sub eax, edx
mov edx, dword [esi + 0xcc]
imul eax, dword [esi + 0x84]
sub ecx, edx
push eax
add ecx, 4
push ecx
mov ecx, edi
call fcn.005a667c
cmp ebx, dword [esp + 0x14]
jl 0x4d27e6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4d272d
test byte [eax + 0xc], 1
je 0x4d2707
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
jne 0x4d26fb
mov eax, dword [esi + 0x108]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov eax, dword [esp + 0x18]
test byte [eax + 0xc], 2
je 0x4d271f
mov eax, dword [eax + 8]
cmp eax, 0xffffffff
jne 0x4d271b
mov eax, dword [esi + 0x10c]
mov edx, dword [edi]
jmp 0x4d273f
mov ecx, dword [esp + 0x20]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x2c]
jmp 0x4d2745
mov eax, dword [esp + 0x1c]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov edx, dword [edi]
mov eax, dword [esp + 0x20]
push eax
mov ecx, edi
call dword [edx + 0x2c]
mov ecx, dword [edi + 8]
push ecx
call dword [0x5da17c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add ecx, ebp
mov dword [esp + 0x34], eax
mov edx, dword [edx + 8]
mov eax, dword [esi + 0x84]
push dword [esp + 0x34]
mov ecx, dword [edx + ecx*4]
jmp 0x4d27b5
mov ecx, dword [edi + 8]
push ecx
call dword [0x5da17c]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x84]
push dword [esp + 0x34]
mov edx, dword [edx + 8]
mov ecx, dword [edx + ebp*4]
jmp 0x4d27b5
mov ecx, dword [edi + 8]
push ecx
call dword [0x5da17c]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x84]
push dword [esp + 0x34]
mov edx, dword [edx + 8]
mov ecx, dword [edx + ebp*4]
push eax
lea eax, [ebx + ebp]
mov edx, dword [edx + eax*4]
mov eax, dword [esp + 0x74]
sub edx, ecx
push edx
mov edx, dword [esi + 0xd0]
sub eax, edx
imul eax, dword [esi + 0x84]
push eax
mov eax, dword [esi + 0xcc]
sub ecx, eax
add ecx, 4
push ecx
mov ecx, edi
call fcn.005a667c
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
add ebp, ebx
mov dword [esp + 0x18], ecx
mov eax, dword [edx + 0xc]
dec eax
cmp ebp, eax
jl 0x4d24f0
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x6c], eax
mov edx, eax
jmp 0x4d2454
mov eax, dword [esp + 0x1c]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov eax, dword [esp + 0x20]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x2c]
push 1
mov ecx, edi
call fcn.00596bc8
mov ecx, dword [esi + 0xd0]
mov dword [esp + 0x38], eax
mov dword [esp + 0x6c], ecx
mov edx, dword [esi + 0xd0]
mov eax, dword [esi + 0x24]
lea ecx, [edx + ebx]
cmp eax, ecx
jl 0x4d2855
mov eax, ecx
cmp dword [esp + 0x6c], eax
jge 0x4d2bcd
mov eax, dword [esp + 0x6c]
lea ecx, [esi + 0x1c]
push eax
call fcn.004c78d0
mov ecx, dword [esi + 0xc]
mov ebx, eax
mov dword [esp + 0x34], ecx
lea ecx, [esi + 0x58]
mov edx, dword [ebx]
mov dword [esp + 0x10], 0
push edx
call fcn.004c79a0
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0xc]
dec eax
test eax, eax
jle 0x4d2b31
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
lea eax, [ecx + edx*2]
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esi + 0x58]
mov dword [esp + 0x28], eax
call fcn.004c79f0
mov ebp, dword [ebx + 0xc]
mov ecx, dword [esp + 0x10]
sub ebp, ecx
mov dword [esp + 0x2c], eax
dec ebp
test eax, eax
mov dword [esp + 0x18], ebp
je 0x4d28e2
mov ecx, dword [ebx]
mov edx, eax
mov eax, dword [edx]
mov edx, dword [esp + 0x10]
sub eax, ecx
sub eax, edx
cmp ebp, eax
jb 0x4d28e2
mov ebp, eax
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d2938
test byte [eax + 0xc], 1
je 0x4d290a
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
jne 0x4d28fe
mov eax, dword [esi + 0x108]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov eax, dword [esp + 0x14]
test byte [eax + 0xc], 2
je 0x4d2926
mov eax, dword [eax + 8]
cmp eax, 0xffffffff
jne 0x4d291e
mov eax, dword [esi + 0x10c]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x2c]
mov eax, dword [esp + 0x14]
push edi
lea ecx, [esp + 0x48]
push eax
push ecx
mov ecx, esi
call fcn.004d2d10
lea ecx, [esi + 0x1c]
call fcn.004d1b40
test al, al
je 0x4d2b69
mov ecx, dword [esi + 0x38]
mov eax, dword [esp + 0x6c]
cmp eax, ecx
jl 0x4d2b69
mov edx, dword [esi + 0x3c]
cmp eax, edx
jg 0x4d2b69
cmp eax, ecx
jne 0x4d296f
mov ecx, dword [esi + 0x30]
sub ecx, dword [esp + 0x10]
jmp 0x4d2971
xor ecx, ecx
cmp eax, edx
jne 0x4d2980
mov eax, dword [esi + 0x34]
mov edx, dword [esp + 0x10]
sub eax, edx
jmp 0x4d2984
mov eax, dword [ebx + 0xc]
dec eax
test eax, eax
mov dword [esp + 0x28], eax
jl 0x4d2b43
mov eax, dword [esp + 0x14]
xor edx, edx
test ecx, ecx
setl dl
dec edx
and edx, ecx
test eax, eax
mov ebp, edx
je 0x4d29c2
test byte [eax + 0xc], 1
je 0x4d29ce
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
jne 0x4d29b8
mov eax, dword [esi + 0x108]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
jmp 0x4d29ce
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x30]
mov eax, dword [esp + 0x18]
cmp ebp, eax
jge 0x4d29d8
mov eax, ebp
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
push ebx
push eax
mov eax, dword [ebx]
push edx
lea edx, [ecx + eax*2]
mov eax, dword [esp + 0x78]
mov ecx, dword [esi + 0xd0]
push edx
sub eax, ecx
mov ecx, esi
imul eax, dword [esi + 0x84]
push eax
push edi
call fcn.004d1ea0
cmp dword [esp + 0x18], ebp
jle 0x4d2b0f
mov edx, dword [edi]
push 0xffffff
mov ecx, edi
call dword [edx + 0x30]
mov eax, dword [edi]
push 0x800000
mov ecx, edi
call dword [eax + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
sub eax, ebp
sub ecx, ebp
cmp ecx, eax
jge 0x4d2a39
mov eax, ecx
mov ecx, dword [esp + 0x10]
push ebx
push eax
mov eax, dword [ebx]
lea edx, [ecx + ebp]
add ebp, eax
mov eax, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x78]
lea ecx, [eax + ebp*2]
mov eax, dword [esi + 0xd0]
sub edx, eax
push ecx
imul edx, dword [esi + 0x84]
push edx
push edi
mov ecx, esi
call fcn.004d1ea0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jl 0x4d2b0f
mov eax, dword [esp + 0x1c]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov eax, dword [esp + 0x20]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x2c]
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x4d2ad3
test byte [ebp + 0xc], 1
je 0x4d2ab7
mov eax, dword [ebp + 4]
cmp eax, 0xffffffff
jne 0x4d2aaf
mov eax, dword [esi + 0x108]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
test byte [ebp + 0xc], 2
je 0x4d2ad3
mov eax, dword [ebp + 8]
cmp eax, 0xffffffff
jne 0x4d2acb
mov eax, dword [esi + 0x10c]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov ebp, dword [esi + 0xd0]
sub ecx, eax
push ebx
push ecx
lea ecx, [eax + edx]
mov edx, dword [ebx]
push ecx
mov ecx, dword [esp + 0x78]
add eax, edx
mov edx, dword [esp + 0x30]
sub ecx, ebp
imul ecx, dword [esi + 0x84]
lea eax, [edx + eax*2]
push eax
push ecx
push edi
mov ecx, esi
call fcn.004d1ea0
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 0xc]
mov ecx, dword [esp + 0x2c]
add eax, ebp
dec edx
mov dword [esp + 0x10], eax
cmp eax, edx
mov dword [esp + 0x14], ecx
jl 0x4d2898
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x6c], eax
jmp 0x4d2843
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d2b8f
test byte [eax + 0xc], 1
je 0x4d2b9b
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
jne 0x4d2b5f
mov eax, dword [esi + 0x108]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
jmp 0x4d2b9b
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d2b8f
test byte [eax + 0xc], 1
je 0x4d2b9b
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
jne 0x4d2b85
mov eax, dword [esi + 0x108]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
jmp 0x4d2b9b
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x30]
mov edx, dword [esp + 0x10]
mov eax, dword [ebx]
mov ecx, dword [esp + 0x24]
push ebx
push ebp
push edx
lea edx, [ecx + eax*2]
mov eax, dword [esp + 0x78]
push edx
mov edx, dword [esi + 0xd0]
sub eax, edx
mov ecx, esi
imul eax, dword [esi + 0x84]
push eax
push edi
call fcn.004d1ea0
jmp 0x4d2b13
mov eax, dword [esp + 0x38]
mov ecx, edi
push eax
call fcn.00596bc8
mov eax, dword [esp + 0x40]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x28]
mov dword [esp + 0x44], 0x5f1014
lea ecx, [esp + 0x44]
mov dword [esp + 0x64], 1
call fcn.005975ec
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 4