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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x84]
cmp eax, dword [ecx + 8]
jbe 0x4d674f
sub esp, 0x104
mov eax, dword [esp + 0x108]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 0x1c]
mov ebx, dword [eax + 0x20]
test edx, edx
je 0x4d672a
mov ebp, dword [ecx]
mov dword [esp + 0x38], ebp
mov esi, dword [ecx + 4]
mov dword [esp + 0x28], esi
test esi, esi
je 0x4d6705
movzx edi, byte [ebp]
xchg edi, eax
cmp al, 0x2d
xchg edi, eax
jne 0x4d6705
cmp esi, 1
je 0x4d6705
movzx edi, byte [ebp + 1]
xchg edi, eax
cmp al, 0x2d
xchg edi, eax
jne 0x4d66fb
cmp esi, 2
je 0x4d66a0
mov edi, 2
cmp edi, esi
ja 0x4d6699
sub esi, edi
mov dword [esp + 0x2c], esi
lea ecx, [esi - 1]
sar ecx, 0x1f
xor ecx, 0xffffffff
and edi, ecx
mov dword [esp + 0x30], edi
lea ecx, [edi + ebp]
mov dword [esp + 0x3c], ecx
test esi, esi
je 0x4d65e1
movzx edi, byte [ebp + edi]
xchg edi, eax
cmp al, 0x2d
xchg edi, eax
je 0x4d65e1
xchg edi, eax
cmp al, 0x3d
xchg edi, eax
je 0x4d65e1
dec edx
mov dword [eax + 0x1c], edx
lea edx, [ebx - 1]
mov dword [eax + 0x20], edx
lea edx, [ebx - 2]
sar edx, 0x1f
xor edx, 0xffffffff
and edx, 8
mov ebx, dword [esp + 0x60]
add edx, ebx
mov ebx, dword [0x884700]
lea edi, [eax + 0x18]
mov dword [esp + 0x5c], edi
test ebx, ebx
jne 0x4d65b9
mov dword [eax + 0x18], edx
mov edx, 1
cmp edx, esi
jge 0x4d5da5
jae 0x4d65b2
movzx ebx, byte [ecx + edx]
cmp bl, 0x3d
je 0x4d658b
inc edx
cmp edx, esi
jl 0x4d5d8d
mov edx, esi
xor edi, edi
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x2c], edx
xchg edi, eax
mov byte [esp + 0x23], al
xchg edi, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], esi
mov ebx, dword [eax + 0x14]
lea esi, [0x6b6d20]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.004098e0
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x48], eax
test cl, cl
jne 0x4d5f3a
mov eax, dword [esp + 0x2c]
cmp eax, 4
jne 0x4d5f2d
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
movzx ebx, byte [edx + ecx]
cmp bl, 0x68
jne 0x4d5e67
movzx ebx, byte [edx + ecx + 1]
cmp bl, 0x65
jne 0x4d5e67
movzx ebx, byte [edx + ecx + 2]
cmp bl, 0x6c
jne 0x4d5e67
movzx ebx, byte [edx + ecx + 3]
cmp bl, 0x70
jne 0x4d5e67
mov eax, dword [esp + 0x108]
mov dword [esp], eax
call fcn.004d5c40
mov eax, dword [0x87281c]
mov ecx, dword [0x872818]
mov byte [esp + 0x10c], 0
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], eax
add esp, 0x104
ret
cmp eax, 1
jne 0x4d5e75
movzx ecx, byte [edx + ecx]
cmp cl, 0x68
je 0x4d5e2f
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
lea eax, [0x6b4960]
mov dword [esp], eax
lea eax, [esp + 0xa4]
mov dword [esp + 4], eax
call fcn.0040a880
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x108]
mov dword [esp], eax
lea eax, [0x711036]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x22
lea eax, [esp + 0xac]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004d5b50
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x10c], 0
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], eax
add esp, 0x104
ret
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
jmp 0x4d5e67
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
lea ebx, [0x6c8460]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0040ab90
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x40], edx
test al, al
jne 0x4d62eb
movzx eax, byte [esp + 0x23]
test al, al
je 0x4d626f
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], edx
test al, al
je 0x4d61b9
mov eax, dword [esp + 0x48]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov ebx, dword [ebx + 0x14]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp], ebp
call ebx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4d60cc
mov edx, dword [esp + 0x34]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x70], edx
je 0x4d5feb
mov ecx, dword [ecx + 4]
mov dword [esp + 0x58], ecx
lea edi, [esp + 0xd4]
xor eax, eax
call fcn.0044a37a
lea ecx, [0x6b4960]
mov dword [esp], ecx
lea ebx, [esp + 0x74]
mov dword [esp + 4], ebx
call fcn.0040a880
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], ecx
lea ecx, [0x6b4960]
mov dword [esp], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 4], ecx
call fcn.0040a880
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xe4], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xe8], ecx
mov ecx, dword [esp + 0x108]
mov dword [esp], ecx
lea ecx, [0x710a5d]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x21
lea ecx, [esp + 0xd4]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.004d5b50
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x10c], 0
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], edx
add esp, 0x104
ret
mov eax, dword [esp + 0x108]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4d6154
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x68], ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 4], eax
lea eax, [0x6b6d20]
mov dword [esp], eax
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
call fcn.00406cf0
mov eax, dword [esp + 0xc]
test byte [eax], al
mov ecx, dword [0x884700]
test ecx, ecx
jne 0x4d6142
mov ecx, dword [esp + 0x48]
mov dword [eax], ecx
mov byte [esp + 0x10c], 1
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
add esp, 0x104
ret
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
call fcn.0040d5a0
jmp 0x4d611d
lea ecx, [0x6b6d20]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00406240
mov eax, dword [0x884700]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x108]
lea ebx, [edx + 0x10]
test eax, eax
jne 0x4d61a4
mov dword [edx + 0x10], ecx
mov eax, edx
jmp 0x4d60da
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov edx, dword [esp + 0x108]
jmp 0x4d619d
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea eax, [0x6b4960]
mov dword [esp], eax
lea eax, [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.0040a880
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x108]
mov dword [esp], eax
lea eax, [0x70dd45]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0x84]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004d5b50
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x10c], 0
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], eax
add esp, 0x104
ret
mov ecx, dword [esp + 0x108]
mov edx, dword [ecx + 0x20]
mov ebx, dword [ecx + 0x1c]
mov ebp, dword [ecx + 0x18]
test ebx, ebx
jle 0x4d5f80
mov eax, dword [ebp + 4]
mov dword [esp + 0x24], eax
mov esi, dword [ebp]
mov dword [esp + 0x34], esi
dec ebx
mov dword [ecx + 0x1c], ebx
lea ebx, [edx - 1]
mov dword [ecx + 0x20], ebx
add edx, 0xfffffffe
sar edx, 0x1f
xor edx, 0xffffffff
and edx, 8
add edx, ebp
mov ebx, dword [0x884700]
test ebx, ebx
jne 0x4d62ca
mov dword [ecx + 0x18], edx
mov eax, 1
mov ecx, esi
mov edx, dword [esp + 0x24]
jmp 0x4d5f88
mov ebx, dword [esp + 0x5c]
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.0040d5a0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x108]
mov esi, dword [esp + 0x34]
jmp 0x4d62ba
mov eax, dword [edx + 0x14]
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 4]
test al, al
je 0x4d5f73
movzx eax, byte [esp + 0x23]
test al, al
je 0x4d6464
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
test eax, eax
je 0x4d60cc
mov edx, dword [esp + 0x34]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x98], edx
je 0x4d645d
mov edx, dword [eax + 4]
mov dword [esp + 0x58], edx
lea edi, [esp + 0xec]
xor eax, eax
call fcn.0044a37a
lea ecx, [0x6b4960]
mov dword [esp], ecx
lea ebx, [esp + 0x9c]
mov dword [esp + 4], ebx
call fcn.0040a880
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp + 0xec], edx
mov dword [esp + 0xf0], ecx
lea ecx, [0x6b4960]
mov dword [esp], ecx
lea ecx, [esp + 0x94]
mov dword [esp + 4], ecx
call fcn.0040a880
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp + 0xf4], edx
mov dword [esp + 0xf8], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xfc], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0x108]
mov dword [esp], ecx
lea ecx, [0x711cbd]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x24
lea ecx, [esp + 0xec]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.004d5b50
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [esp + 0x10c], 0
mov dword [esp + 0x110], edx
mov dword [esp + 0x114], ecx
add esp, 0x104
ret
mov edx, eax
jmp 0x4d6376
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x18]
lea ecx, [0x704b3f]
mov dword [esp + 4], ecx
mov dword [esp + 8], 4
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4d60cc
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x90], edx
je 0x4d64b5
mov ecx, dword [ecx + 4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
lea edx, [0x6b4960]
mov dword [esp], edx
lea edx, [esp + 0x8c]
mov dword [esp + 4], edx
call fcn.0040a880
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x108]
mov dword [esp], eax
lea eax, [0x70de6e]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0xc4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.004d5b50
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x10c], 0
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], eax
add esp, 0x104
ret
lea ebx, [edx + 1]
cmp ebx, esi
ja 0x4d65ab
sub esi, ebx
lea edi, [esi - 1]
sar edi, 0x1f
xor edi, 0xffffffff
and ebx, edi
add ebx, ecx
mov edi, 1
jmp 0x4d5dad
call fcn.004246e0
ud2
call fcn.00424680
ud2
mov dword [esp], edi
mov dword [esp + 4], edx
call fcn.0040d5a0
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x5c]
jmp 0x4d5d84
mov dword [esp + 0xb4], ebp
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
lea ecx, [0x6b4960]
mov dword [esp], ecx
lea ecx, [esp + 0xb4]
mov dword [esp + 4], ecx
call fcn.0040a880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov eax, dword [esp + 0x108]
mov dword [esp], eax
lea eax, [0x709f14]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
lea eax, [esp + 0xbc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004d5b50
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x10c], 0
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
add esp, 0x104
ret
call fcn.004246e0
ud2
dec edx
mov dword [eax + 0x1c], edx
lea edx, [ebx - 1]
mov dword [eax + 0x20], edx
lea edx, [ebx - 2]
sar edx, 0x1f
xor edx, 0xffffffff
and edx, 8
add ecx, edx
mov edx, dword [0x884700]
lea ebx, [eax + 0x18]
test edx, edx
jne 0x4d66ed
mov dword [eax + 0x18], ecx
mov byte [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
add esp, 0x104
ret
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040d5a0
jmp 0x4d66c8
mov edi, 1
jmp 0x4d5d09
mov byte [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
add esp, 0x104
ret
mov byte [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
add esp, 0x104
ret
call fcn.004486b0
jmp fcn.004d5c80