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

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xb4]
cmp eax, dword [ecx + 8]
jbe 0x4d6bae
sub esp, 0x134
mov byte [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
nop
mov eax, dword [esp + 0x144]
lea ecx, [esp + 0xe0]
cmp eax, ecx
je 0x4d6049
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
test edx, edx
jg 0x4d5f46
mov ebp, edx
xor esi, esi
xor edi, edi
jmp 0x4d5fe1
mov dword [esp + 0x5c], edx
mov dword [esp + 0x9c], ebx
cmp edx, 1
jne 0x4d5f9f
lea eax, [0x6dbbc0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0046c5c0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xe0]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x5c]
mov edx, 1
mov esi, eax
mov edi, 1
mov eax, dword [esp + 0x144]
jmp 0x4d5fe1
lea eax, [0x6dbbc0]
mov dword [esp], eax
mov dword [esp + 4], edx
lea ecx, [edx + 4]
mov dword [esp + 0x38], ecx
mov dword [esp + 8], ecx
call fcn.0046c5c0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xe0]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x5c]
mov edx, ebp
mov esi, eax
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x144]
cmp edx, ebp
jg 0x4d5fe7
mov ebp, edx
cmp esi, ebx
je 0x4d602a
mov dword [esp + 0x50], edi
mov dword [esp + 0x44], edx
mov dword [esp + 0x90], esi
mov dword [esp], esi
mov dword [esp + 4], ebx
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.004721c0
mov eax, dword [esp + 0x144]
lea ecx, [esp + 0xe0]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x90]
mov edi, dword [esp + 0x50]
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], edi
mov dword [esp + 0xe4], esi
movzx edx, byte [eax]
mov byte [esp + 0xe0], dl
mov byte [esp + 0xe0], 0
mov byte [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
nop
mov edx, dword [esp + 0x148]
lea ebx, [esp + 0xd0]
cmp edx, ebx
je 0x4d6203
mov ebp, dword [edx + 8]
mov esi, dword [edx + 4]
test ebp, ebp
jg 0x4d60ba
mov edi, ebp
xor ebp, ebp
mov dword [esp + 0x8c], ebp
xor ecx, ecx
mov dword [esp + 0x4c], ecx
mov ebp, edi
lea ecx, [esp + 0xe0]
jmp 0x4d6191
mov dword [esp + 0x58], ebp
mov dword [esp + 0x98], esi
cmp ebp, 1
jne 0x4d6131
lea eax, [0x6dbbc0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0046c5c0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xe0]
mov edx, dword [esp + 0x148]
lea ebx, [esp + 0xd0]
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x58]
mov ebp, 1
mov dword [esp + 0x8c], eax
mov edx, 1
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x144]
mov edx, dword [esp + 0x148]
jmp 0x4d6191
lea eax, [0x6dbbc0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea ecx, [ebp + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 8], ecx
call fcn.0046c5c0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xe0]
mov edx, dword [esp + 0x148]
lea ebx, [esp + 0xd0]
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x58]
mov ebp, edi
mov dword [esp + 0x8c], eax
mov edx, dword [esp + 0x34]
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x144]
mov edx, dword [esp + 0x148]
cmp ebp, edi
jg 0x4d6197
mov edi, ebp
mov eax, dword [esp + 0x8c]
cmp eax, esi
je 0x4d61d9
mov dword [esp + 0x40], ebp
mov dword [esp], eax
mov dword [esp + 4], esi
shl edi, 2
mov dword [esp + 8], edi
call fcn.004721c0
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0xe0]
mov edx, dword [esp + 0x148]
lea ebx, [esp + 0xd0]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0xd8], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xd4], eax
movzx eax, byte [edx]
mov byte [esp + 0xd0], al
mov eax, dword [esp + 0x144]
mov byte [esp + 0xd0], 0
mov ebp, dword [esp + 0x13c]
test ebp, ebp
je 0x4d6224
mov esi, dword [esp + 0x140]
mov edi, 1
jmp 0x4d6234
mov esi, dword [esp + 0x140]
test esi, esi
xchg edi, ebx
setne bl
xchg edi, ebx
xchg edi, eax
mov byte [esp + 0x2d], al
xchg edi, eax
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4d6257
xor ecx, ecx
mov dword [esp + 0xa4], ecx
xor ecx, ecx
mov dword [esp + 0xf0], ecx
jmp 0x4d62e1
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
lea eax, [esp + 0xc0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 0
call fcn.004d4390
mov eax, dword [esp + 0xc]
mov byte [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
lea ecx, [esp + 0xb0]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xf0], eax
mov byte [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov byte [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov byte [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov byte [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xec]
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd8]
mov esi, dword [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.004d8780
mov eax, dword [esp + 0x18]
test eax, eax
jge 0x4d63f1
lea eax, [esp + 0xe0]
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xa4]
lea ebx, [esp + 0xd0]
jmp 0x4d640d
lea eax, [esp + 0xd0]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xf0]
lea ebx, [esp + 0xe0]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa8], eax
jmp 0x4d6447
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0xac]
mov ebp, dword [eax + 8]
cmp ebp, 1
jle 0x4d65e7
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004d5660
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4d6576
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x74], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x6c], ebx
movzx ebp, byte [esp + 0x18]
xchg ebp, eax
mov byte [esp + 0x2f], al
xchg ebp, eax
mov esi, dword [esp + 0xac]
mov dword [esp], esi
mov edi, dword [esp + 0xa8]
mov dword [esp + 4], edi
lea esi, [esp + 0x124]
mov dword [esp + 8], esi
lea esi, [esp + 0x114]
mov dword [esp + 0xc], esi
lea esi, [esp + 0x104]
mov dword [esp + 0x10], esi
lea esi, [esp + 0xf4]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
xchg ebp, eax
mov byte [esp + 0x28], al
xchg ebp, eax
call fcn.004d5860
movzx eax, byte [esp + 0x2d]
test al, al
je 0x4d642b
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
lea edx, [esp + 0x124]
mov dword [esp + 8], edx
lea ebx, [esp + 0x114]
mov dword [esp + 0xc], ebx
lea ebp, [esp + 0x104]
mov dword [esp + 0x10], ebp
lea esi, [esp + 0xf4]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x70]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x24], edi
movzx edi, byte [esp + 0x2f]
xchg edi, eax
mov byte [esp + 0x28], al
xchg edi, eax
call fcn.004d5860
movzx eax, byte [esp + 0x2d]
jmp 0x4d642b
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0xc], ebx
lea ebp, [esp + 0x124]
mov dword [esp + 0x10], ebp
lea esi, [esp + 0x114]
mov dword [esp + 0x14], esi
lea edi, [esp + 0x104]
mov dword [esp + 0x18], edi
lea edi, [esp + 0xf4]
mov dword [esp + 0x1c], edi
movzx edi, byte [esp + 0x2d]
xchg edi, eax
mov byte [esp + 0x20], al
xchg edi, eax
call fcn.004d5b10
movzx eax, byte [esp + 0x2d]
jmp 0x4d642b
test ebp, ebp
je 0x4d66b4
cmp dword [ebx + 8], 1
jle 0x4d665c
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
lea ebp, [esp + 0x124]
mov dword [esp + 0x10], ebp
lea ebp, [esp + 0x114]
mov dword [esp + 0x14], ebp
lea ebp, [esp + 0x104]
mov dword [esp + 0x18], ebp
lea esi, [esp + 0xf4]
mov dword [esp + 0x1c], esi
movzx edi, byte [esp + 0x2d]
xchg edi, eax
mov byte [esp + 0x20], al
xchg edi, eax
call fcn.004d5b10
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0xac]
mov ebp, dword [eax + 8]
test ebp, ebp
je 0x4d66b4
mov ebp, dword [ebx + 8]
test ebp, ebp
jbe 0x4d6ba4
mov ebp, dword [eax + 4]
mov esi, dword [ebx + 4]
mov esi, dword [esi]
mov ebp, dword [ebp]
movzx edi, byte [esp + 0x2d]
xchg edi, eax
test al, al
xchg edi, eax
je 0x4d6969
xor edi, edi
mov edi, 1
mov dword [esp + 0x68], edi
mov edi, 1
mov dword [esp + 0x64], edi
xor edi, edi
mov dword [esp + 0x60], edi
mov edi, 1
xchg edi, eax
mov byte [esp + 0x2e], al
xchg edi, eax
xor edi, edi
jmp 0x4d6a09
mov ecx, dword [esp + 0x144]
movzx ebp, byte [ecx]
mov esi, dword [esp + 0x140]
test esi, esi
je 0x4d68c5
xchg ebp, eax
mov byte [esp + 0x2c], al
xchg ebp, eax
mov edi, dword [esp + 0x148]
cmp edi, esi
jne 0x4d6838
nop
cmp edi, eax
je 0x4d683a
mov ebx, dword [eax + 0xc]
mov ebp, dword [edi + 8]
mov dword [esp + 0x54], ebp
mov edx, dword [edi + 4]
cmp ebx, ebp
jl 0x4d6704
mov ecx, dword [eax + 4]
jmp 0x4d679f
mov dword [esp + 0x94], edx
cmp ebp, 1
jne 0x4d675a
lea eax, [0x6dbbc0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0046c5c0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0x94]
mov esi, dword [esp + 0x140]
mov edi, dword [esp + 0x148]
mov ebp, 1
mov ebx, 1
jmp 0x4d679f
lea eax, [0x6dbbc0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [ebp + 4]
mov dword [esp + 0x30], eax
mov dword [esp + 8], eax
call fcn.0046c5c0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0x94]
mov esi, dword [esp + 0x140]
mov edi, dword [esp + 0x148]
mov ebp, dword [esp + 0x54]
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x54]
cmp ebp, esi
jg 0x4d67a9
mov esi, ebp
cmp ecx, edx
je 0x4d67ec
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x88], ecx
mov dword [esp], ecx
mov dword [esp + 4], edx
shl esi, 2
mov dword [esp + 8], esi
call fcn.004721c0
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x148]
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebx
mov edx, dword [0x93f150]
test edx, edx
je 0x4d680d
mov edx, edi
call fcn.00471840
mov dword [edi], ecx
mov ebx, dword [eax + 4]
mov dword [edi + 4], ebx
mov edi, edx
mov dword [eax + 4], ecx
movzx ecx, byte [edi]
mov byte [eax], cl
mov ecx, dword [esp + 0x144]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0xac]
movzx ebp, byte [esp + 0x2c]
mov esi, dword [esp + 0x140]
jmp 0x4d683a
mov eax, edi
mov dword [esp + 0xa8], eax
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004d48e0
movzx eax, byte [esp + 0x2c]
test al, al
je 0x4d686b
mov ecx, dword [esp + 0x140]
movzx edx, byte [ecx]
xor edx, 1
mov byte [ecx], dl
jmp 0x4d6872
mov ecx, dword [esp + 0x140]
mov dword [esp], ecx
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004d4690
mov eax, dword [esp + 0x140]
mov dword [esp], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
call fcn.004d4b80
mov eax, dword [esp + 0x13c]
test eax, eax
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0xac]
movzx ebp, byte [esp + 0x2c]
jmp 0x4d68ce
mov eax, dword [esp + 0x13c]
test eax, eax
je 0x4d6910
mov ecx, dword [edx + 8]
mov esi, dword [edx + 0xc]
movzx edi, byte [edx]
mov edx, dword [edx + 4]
xchg edi, ebx
mov byte [eax], bl
xchg edi, ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov ecx, dword [0x93f150]
test ecx, ecx
je 0x4d68ff
call fcn.00471840
mov dword [edi], edx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov dword [eax + 4], edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4d6910
movzx ecx, byte [eax]
xor ecx, 1
mov byte [eax], cl
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
movzx edx, byte [ebx]
mov ebx, dword [ebx + 4]
mov ebp, dword [esp + 0x138]
mov byte [ebp], dl
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
mov eax, dword [0x93f150]
test eax, eax
je 0x4d6943
call fcn.00471840
mov dword [edi], ebx
mov eax, dword [ebp + 4]
mov dword [edi + 4], eax
mov dword [ebp + 4], ebx
mov dword [esp + 0x14c], ebp
add esp, 0x134
ret
mov ecx, eax
mov eax, esi
xor edx, edx
div ebp
mov eax, ecx
mov esi, ebp
mov ebp, edx
mov edx, dword [esp + 0xa4]
test ebp, ebp
jne 0x4d6954
mov ebp, dword [ebx + 8]
test ebp, ebp
jbe 0x4d697e
mov ecx, dword [ebx + 4]
mov dword [ecx], esi
jmp 0x4d66b4
xor eax, eax
mov ecx, eax
call fcn.004718b0
mov eax, esi
xor edx, edx
div ebp
mov edx, edi
imul edx, eax
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x68]
imul eax, edx
mov dword [esp + 0x80], eax
mov eax, esi
mov esi, edx
xor edx, edx
div ebp
mov eax, edx
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x64]
add edx, ebx
mov ebx, edx
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x60]
add edx, ecx
mov ecx, edx
movzx edx, byte [esp + 0x2e]
xor edx, 1
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], esi
mov byte [esp + 0x2e], dl
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov edi, ebx
mov esi, ebp
mov ebx, dword [esp + 0xac]
mov ebp, eax
mov eax, dword [esp + 0xa8]
test ebp, ebp
jne 0x4d6987
mov dword [esp + 0x7c], esi
mov ebp, dword [esp + 0x100]
mov edi, dword [esp + 0xf8]
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x4d6a2f
xor eax, eax
jmp 0x4d6a7f
nop
test ebp, ebp
jne 0x4d6a78
lea eax, [0x6dbbc0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0046c5c0
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0xac]
mov esi, dword [esp + 0x7c]
mov ebp, 1
mov dword [edi], eax
mov eax, 1
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ebp
mov dword [esp + 0xf8], edi
mov eax, dword [esp + 0x110]
mov ebp, dword [esp + 0x108]
mov edi, dword [esp + 0x60]
test edi, edi
jne 0x4d6aae
xor edi, edi
jmp 0x4d6aff
nop
test eax, eax
jne 0x4d6af7
lea eax, [0x6dbbc0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0046c5c0
mov ebp, dword [esp + 0xc]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0xac]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x60]
mov eax, 1
mov dword [ebp], edi
mov edi, 1
mov dword [esp + 0x10c], edi
mov dword [esp + 0x110], eax
mov dword [esp + 0x108], ebp
movzx eax, byte [esp + 0x2e]
mov ecx, eax
xor eax, 1
mov byte [esp + 0xf4], al
mov byte [esp + 0x104], cl
lea eax, [esp + 0xf4]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004d48e0
lea eax, [esp + 0x104]
mov dword [esp], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004d48e0
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
lea ecx, [esp + 0xf4]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x104]
mov dword [esp + 8], ecx
call fcn.004d4440
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0xac]
mov esi, dword [esp + 0x7c]
jmp 0x4d696d
xor eax, eax
mov ecx, eax
call fcn.004718b0
nop
call fcn.00470430
jmp fcn.004d5ed0