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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5ee3d0
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x220]
test eax, eax
jne 0x4d0ff3
mov edi, dword [esp + 0x94]
lea ecx, [esp + 0x38]
push ecx
mov edx, dword [edi + 0x1c]
push edx
call dword [0x5ff8b0]
mov eax, dword [esi + 0xe4]
dec eax
cmp eax, 8
ja case.0x4d0474.5
jmp dword [eax*4 + 0x4d1010]
push edi
lea ecx, [esp + 0x74]
call fcn.005cbf94
mov eax, dword [esi + 8]
xor ecx, ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x18]
push esi
add ecx, eax
mov dword [esp + 0x18], ecx
call fcn.004eb860
add esp, 4
test eax, eax
je 0x4d051e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x100]
mov ebx, dword [eax + 0x14]
mov ebp, dword [eax + 0x18]
add eax, 0x14
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x100]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x100]
mov ecx, dword [eax + 0x14]
add eax, 0x14
add ebx, ecx
mov ecx, esi
mov eax, dword [eax + 4]
add ebp, eax
mov eax, dword [esi]
call dword [eax + 0x100]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x100]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x100]
mov ecx, dword [eax + 0x14]
add eax, 0x14
add ebx, ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 4]
add ecx, ebx
add ebp, eax
mov eax, dword [esp + 0x14]
add eax, ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.004bfeb0
mov ecx, dword [edi + 0x1f4]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, edi
call fcn.004bfdd0
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.004bfe30
push 6
lea ecx, [esp + 0x74]
call fcn.005cb843
push 0
push 1
push 2
lea ecx, [esp + 0x24]
mov ebx, eax
call fcn.005cc2a9
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 1
push ecx
lea ecx, [esp + 0x74]
call fcn.005cb70b
mov edx, dword [esp + 0x14]
mov ebp, eax
push edx
lea eax, [esp + 0x24]
push 0
push eax
lea ecx, [esp + 0x7c]
call fcn.005cbc8a
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x3c]
sub edx, ecx
lea ecx, [esp + 0x74]
push edx
call fcn.005cbcd6
push ebp
lea ecx, [esp + 0x74]
call fcn.005cb70b
push ebx
lea ecx, [esp + 0x74]
call fcn.005cb843
mov dword [esp + 0x18], 0x1ac2184
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 2
call fcn.005cc293
mov dword [esp + 0x8c], 0xffffffff
lea ecx, [esp + 0x70]
jmp 0x4d075e
push edi
lea ecx, [esp + 0x74]
call fcn.005cbf94
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x14]
add ecx, eax
push esi
mov dword [esp + 0x90], 3
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], ecx
call fcn.004eb860
add esp, 4
test eax, eax
je 0x4d0695
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x100]
mov ebp, dword [eax + 0x14]
mov ebx, dword [eax + 0x18]
add eax, 0x14
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x100]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x100]
mov ecx, dword [eax + 0x14]
add eax, 0x14
add ebp, ecx
mov ecx, esi
mov eax, dword [eax + 4]
add ebx, eax
mov eax, dword [esi]
call dword [eax + 0x100]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x100]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x100]
mov ecx, dword [eax + 0x14]
add eax, 0x14
add ebp, ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 4]
add ecx, ebp
add ebx, eax
mov eax, dword [esp + 0x14]
add eax, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.004bfeb0
mov ecx, dword [edi + 0x1f4]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, edi
call fcn.004bfdd0
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.004bfe30
push 6
lea ecx, [esp + 0x74]
call fcn.005cb843
push 0
push 1
push 2
lea ecx, [esp + 0x24]
mov ebx, eax
call fcn.005cc2a9
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 4
push ecx
lea ecx, [esp + 0x74]
call fcn.005cb70b
mov edx, dword [esp + 0x10]
mov ebp, eax
push 0
lea eax, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x7c]
call fcn.005cbc8a
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
sub ecx, eax
push ecx
push edx
lea ecx, [esp + 0x78]
call fcn.005cbcd6
push ebp
lea ecx, [esp + 0x74]
call fcn.005cb70b
push ebx
lea ecx, [esp + 0x74]
call fcn.005cb843
mov dword [esp + 0x18], 0x1ac2184
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 5
call fcn.005cc293
mov dword [esp + 0x8c], 0xffffffff
lea ecx, [esp + 0x70]
call fcn.005cc006
lea ecx, [esp + 0x48]
call fcn.005c2ef9
lea eax, [esp + 0x48]
mov ecx, esi
push eax
mov dword [esp + 0x90], 6
call fcn.004d97a0
lea ecx, [esp + 0x5c]
call fcn.005c2ef9
lea ecx, [esp + 0x5c]
mov byte [esp + 0x8c], 7
push ecx
mov ecx, esi
call fcn.004d9820
mov eax, dword [esi + 0xe4]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x98]
cmp eax, 6
jne 0x4d0911
push 0
push esi
mov ecx, edi
call fcn.004bf6c0
mov ecx, dword [esi + 0x110]
mov eax, ebp
sub eax, ecx
mov ecx, dword [esi + 0xe0]
push eax
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0x20]
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx + 0x18]
dec edx
push edx
push eax
push ecx
push eax
push edi
mov ecx, esi
call fcn.004c6410
test eax, eax
je 0x4d08dc
push 0
push esi
mov ecx, edi
mov dword [esi + 0xe4], 0
call fcn.004bf6c0
mov ecx, esi
call fcn.004c3b00
lea ecx, [esp + 0x70]
call fcn.005c2ef9
mov eax, dword [esp + 0x50]
xor esi, esi
test eax, eax
mov byte [esp + 0x8c], 8
mov ebp, eax
jle 0x4d087e
mov eax, dword [esp + 0x4c]
push 0x10
mov ebx, dword [eax + esi*4]
call fcn.005c3c60
add esp, 4
test eax, eax
je 0x4d0868
add ebx, 0x14
mov ecx, eax
mov edx, dword [ebx]
mov dword [ecx], edx
mov edx, dword [ebx + 4]
mov dword [ecx + 4], edx
mov edx, dword [ebx + 8]
mov dword [ecx + 8], edx
mov edx, dword [ebx + 0xc]
mov dword [ecx + 0xc], edx
jmp 0x4d086a
xor eax, eax
push eax
mov eax, dword [esp + 0x7c]
push eax
lea ecx, [esp + 0x78]
call fcn.005c2898
inc esi
cmp esi, ebp
jl 0x4d0836
lea ecx, [esp + 0x70]
lea edx, [esp + 0x5c]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
push 1
push 2
lea ecx, [edi + 0xb8]
call fcn.00521e40
lea ecx, [esp + 0x70]
mov byte [esp + 0x8c], 7
call fcn.005c2f2c
lea ecx, [esp + 0x5c]
mov byte [esp + 0x8c], 6
call fcn.005c2f2c
lea ecx, [esp + 0x48]
mov dword [esp + 0x8c], 0xffffffff
call fcn.005c2f2c
mov eax, 1
jmp 0x4d0ff5
mov ecx, dword [esi + 0xe0]
push 0
mov dword [esi + 0xe4], 3
push ecx
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.004c3ce0
mov ecx, dword [eax]
mov dword [esi + 0xe8], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0xec], edx
jmp 0x4d0ce8
cmp eax, 7
jne 0x4d0a4d
push 0
push esi
mov ecx, edi
call fcn.004bf6c0
mov ecx, dword [esi + 0x114]
mov eax, ebx
sub eax, ecx
mov ecx, dword [esi + 0xe0]
push eax
mov edx, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x14]
dec edx
push ebx
push edx
push ebx
push ecx
push edi
mov ecx, esi
call fcn.004c6790
test eax, eax
je 0x4d0a31
mov ecx, esi
mov dword [esi + 0xe4], 0
call fcn.004c3b00
push 0
push esi
mov ecx, edi
call fcn.004bf6c0
lea ecx, [esp + 0x70]
call fcn.005c2ef9
mov eax, dword [esp + 0x50]
xor esi, esi
test eax, eax
mov byte [esp + 0x8c], 9
mov ebp, eax
jle 0x4d09d3
mov eax, dword [esp + 0x4c]
push 0x10
mov ebx, dword [eax + esi*4]
call fcn.005c3c60
add esp, 4
test eax, eax
je 0x4d09bd
add ebx, 0x14
mov ecx, eax
mov edx, dword [ebx]
mov dword [ecx], edx
mov edx, dword [ebx + 4]
mov dword [ecx + 4], edx
mov edx, dword [ebx + 8]
mov dword [ecx + 8], edx
mov edx, dword [ebx + 0xc]
mov dword [ecx + 0xc], edx
jmp 0x4d09bf
xor eax, eax
push eax
mov eax, dword [esp + 0x7c]
push eax
lea ecx, [esp + 0x78]
call fcn.005c2898
inc esi
cmp esi, ebp
jl 0x4d098b
lea ecx, [esp + 0x70]
lea edx, [esp + 0x5c]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
push 1
push 2
lea ecx, [edi + 0xb8]
call fcn.00521e40
lea ecx, [esp + 0x70]
mov byte [esp + 0x8c], 7
call fcn.005c2f2c
lea ecx, [esp + 0x5c]
mov byte [esp + 0x8c], 6
call fcn.005c2f2c
lea ecx, [esp + 0x48]
mov dword [esp + 0x8c], 0xffffffff
call fcn.005c2f2c
mov eax, 1
jmp 0x4d0ff5
mov ecx, dword [esi + 0xe0]
push 0
mov dword [esi + 0xe4], 1
push ecx
lea edx, [esp + 0x30]
jmp 0x4d0cc8
cmp eax, 8
jne 0x4d0b91
push 0
push esi
mov ecx, edi
call fcn.004bf6c0
mov ecx, dword [esi + 0x110]
mov eax, ebp
sub eax, ecx
mov ecx, dword [esi + 0xe0]
push eax
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0x20]
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx + 0x18]
dec edx
push edx
push eax
push ecx
push eax
push edi
mov ecx, esi
call fcn.004c6410
test eax, eax
je 0x4d0b75
mov ecx, esi
mov dword [esi + 0xe4], 0
call fcn.004c3b00
push 0
push esi
mov ecx, edi
call fcn.004bf6c0
lea ecx, [esp + 0x70]
call fcn.005c2ef9
mov eax, dword [esp + 0x50]
xor esi, esi
test eax, eax
mov byte [esp + 0x8c], 0xa
mov ebp, eax
jle 0x4d0b17
mov eax, dword [esp + 0x4c]
push 0x10
mov ebx, dword [eax + esi*4]
call fcn.005c3c60
add esp, 4
test eax, eax
je 0x4d0b01
add ebx, 0x14
mov ecx, eax
mov edx, dword [ebx]
mov dword [ecx], edx
mov edx, dword [ebx + 4]
mov dword [ecx + 4], edx
mov edx, dword [ebx + 8]
mov dword [ecx + 8], edx
mov edx, dword [ebx + 0xc]
mov dword [ecx + 0xc], edx
jmp 0x4d0b03
xor eax, eax
push eax
mov eax, dword [esp + 0x7c]
push eax
lea ecx, [esp + 0x78]
call fcn.005c2898
inc esi
cmp esi, ebp
jl 0x4d0acf
lea ecx, [esp + 0x70]
lea edx, [esp + 0x5c]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
push 1
push 2
lea ecx, [edi + 0xb8]
call fcn.00521e40
lea ecx, [esp + 0x70]
mov byte [esp + 0x8c], 7
call fcn.005c2f2c
lea ecx, [esp + 0x5c]
mov byte [esp + 0x8c], 6
call fcn.005c2f2c
lea ecx, [esp + 0x48]
mov dword [esp + 0x8c], 0xffffffff
call fcn.005c2f2c
mov eax, 1
jmp 0x4d0ff5
mov ecx, dword [esi + 0xe0]
push 0
mov dword [esi + 0xe4], 4
push ecx
lea edx, [esp + 0x30]
jmp 0x4d08f3
cmp eax, 9
jne 0x4d0ce8
push 0
push esi
mov ecx, edi
call fcn.004bf6c0
mov ecx, dword [esi + 0x114]
mov eax, ebx
sub eax, ecx
mov ecx, dword [esi + 0xe0]
push eax
mov edx, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x14]
dec edx
push ebx
push edx
push ebx
push ecx
push edi
mov ecx, esi
call fcn.004c6790
test eax, eax
je 0x4d0cb1
mov ecx, esi
mov dword [esi + 0xe4], 0
call fcn.004c3b00
push 0
push esi
mov ecx, edi
call fcn.004bf6c0
lea ecx, [esp + 0x70]
call fcn.005c2ef9
mov eax, dword [esp + 0x50]
xor esi, esi
test eax, eax
mov byte [esp + 0x8c], 0xb
mov ebp, eax
jle 0x4d0c53
mov eax, dword [esp + 0x4c]
push 0x10
mov ebx, dword [eax + esi*4]
call fcn.005c3c60
add esp, 4
test eax, eax
je 0x4d0c3d
add ebx, 0x14
mov ecx, eax
mov edx, dword [ebx]
mov dword [ecx], edx
mov edx, dword [ebx + 4]
mov dword [ecx + 4], edx
mov edx, dword [ebx + 8]
mov dword [ecx + 8], edx
mov edx, dword [ebx + 0xc]
mov dword [ecx + 0xc], edx
jmp 0x4d0c3f
xor eax, eax
push eax
mov eax, dword [esp + 0x7c]
push eax
lea ecx, [esp + 0x78]
call fcn.005c2898
inc esi
cmp esi, ebp
jl 0x4d0c0b
lea ecx, [esp + 0x70]
lea edx, [esp + 0x5c]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
push 1
push 2
lea ecx, [edi + 0xb8]
call fcn.00521e40
lea ecx, [esp + 0x70]
mov byte [esp + 0x8c], 7
call fcn.005c2f2c
lea ecx, [esp + 0x5c]
mov byte [esp + 0x8c], 6
call fcn.005c2f2c
lea ecx, [esp + 0x48]
mov dword [esp + 0x8c], 0xffffffff
call fcn.005c2f2c
mov eax, 1
jmp 0x4d0ff5
mov ecx, dword [esi + 0xe0]
push 0
mov dword [esi + 0xe4], 2
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call fcn.004c3ce0
mov ecx, dword [eax]
mov ebx, dword [esp + 0x9c]
mov dword [esi + 0xe8], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0xec], edx
mov eax, dword [esp + 0x64]
test eax, eax
lea ecx, [eax - 1]
mov dword [esp + 0x10], ecx
je 0x4d0d1a
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x10]
mov eax, dword [edx + eax*4]
push eax
call fcn.005c3c89
mov eax, dword [esp + 0x14]
add esp, 4
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x4d0cf7
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x64]
call fcn.005c2f59
mov eax, dword [esi + 0xe4]
cmp eax, 4
jne 0x4d0dce
push 0
push esi
mov ecx, edi
call fcn.004bf6c0
mov ecx, dword [esi + 0x110]
mov edx, dword [esi + 0xec]
sub ebp, ecx
push edx
mov ecx, esi
call fcn.004c41d0
mov ecx, dword [esi + 0xec]
add eax, ebp
push eax
push ecx
push ecx
push edi
mov ecx, esi
call fcn.004c51a0
test eax, eax
je 0x4d0d84
mov eax, dword [esi + 0xec]
lea ecx, [edi + 0xb8]
neg ebp
push ebp
push eax
push 2
call fcn.00521730
mov ecx, esi
call fcn.004c3b00
push 0
push esi
mov ecx, edi
mov dword [esi + 0xe4], 0
call fcn.004bf6c0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x8c], 6
call fcn.005c2f2c
lea ecx, [esp + 0x48]
mov dword [esp + 0x8c], 0xffffffff
call fcn.005c2f2c
mov eax, 1
jmp 0x4d0ff5
cmp eax, 3
jne 0x4d0e7a
push 0
push esi
mov ecx, edi
call fcn.004bf6c0
mov edx, dword [esi + 0x110]
mov eax, dword [esi + 0xec]
sub ebp, edx
dec eax
test eax, eax
jl 0x4d0fce
push eax
mov ecx, esi
call fcn.004c41d0
mov ecx, dword [esi + 0xec]
add eax, ebp
dec ecx
push eax
push ecx
push ecx
push edi
mov ecx, esi
call fcn.004c51a0
test eax, eax
je 0x4d0e30
mov ecx, dword [esi + 0xec]
neg ebp
dec ecx
push ebp
push ecx
push 2
lea ecx, [edi + 0xb8]
call fcn.00521730
mov ecx, esi
call fcn.004c3b00
push 0
push esi
mov ecx, edi
mov dword [esi + 0xe4], 0
call fcn.004bf6c0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x8c], 6
call fcn.005c2f2c
lea ecx, [esp + 0x48]
mov dword [esp + 0x8c], 0xffffffff
call fcn.005c2f2c
mov eax, 1
jmp 0x4d0ff5
cmp eax, 1
jne 0x4d0f26
push 0
push esi
mov ecx, edi
call fcn.004bf6c0
mov edx, dword [esi + 0x114]
mov eax, dword [esi + 0xe8]
sub ebx, edx
dec eax
test eax, eax
jl 0x4d0fce
push eax
mov ecx, esi
call fcn.004c4170
mov ecx, dword [esi + 0xe8]
add eax, ebx
dec ecx
push eax
push ecx
push ecx
push edi
mov ecx, esi
call fcn.004c5160
test eax, eax
je 0x4d0edc
mov edx, dword [esi + 0xe8]
lea ecx, [edi + 0xb8]
neg ebx
dec edx
push ebx
push edx
push 2
call fcn.00521620
mov ecx, esi
call fcn.004c3b00
push 0
push esi
mov ecx, edi
mov dword [esi + 0xe4], 0
call fcn.004bf6c0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x8c], 6
call fcn.005c2f2c
lea ecx, [esp + 0x48]
mov dword [esp + 0x8c], 0xffffffff
call fcn.005c2f2c
mov eax, 1
jmp 0x4d0ff5
cmp eax, 2
jne 0x4d0fc4
push 0
push esi
mov ecx, edi
call fcn.004bf6c0
mov eax, dword [esi + 0xe8]
mov edx, dword [esi + 0x114]
push eax
mov ecx, esi
sub ebx, edx
call fcn.004c4170
mov ecx, dword [esi + 0xe8]
add eax, ebx
push eax
push ecx
push ecx
push edi
mov ecx, esi
call fcn.004c5160
test eax, eax
je 0x4d0f7d
mov ecx, dword [esi + 0xe8]
neg ebx
push ebx
push ecx
push 2
lea ecx, [edi + 0xb8]
call fcn.00521620
mov ecx, esi
call fcn.004c3b00
push 0
push esi
mov ecx, edi
mov dword [esi + 0xe4], 0
call fcn.004bf6c0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x8c], 6
call fcn.005c2f2c
lea ecx, [esp + 0x48]
mov dword [esp + 0x8c], 0xffffffff
call fcn.005c2f2c
mov eax, 1
jmp 0x4d0ff5
mov dword [esi + 0xe4], 0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x8c], 6
call fcn.005c2f2c
lea ecx, [esp + 0x48]
mov dword [esp + 0x8c], 0xffffffff
call fcn.005c2f2c
xor eax, eax
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x80
ret 0xc