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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x84]
cmp eax, dword [ecx + 8]
jbe 0x4d456d
sub esp, 0x104
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov ebx, dword [esp + 0x10c]
mov dword [esp + 0x60], ebx
cmp ebx, 4
jge 0x4d3aec
jmp 0x4d3c8d
mov ebx, dword [esp + 0x108]
mov edx, dword [esp + 0x10c]
cmp edx, 4
jae 0x4d3b04
jmp 0x4d4562
jmp 0x4d3b06
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], 4
jmp 0x4d3b1a
jmp 0x4d3b1c
movzx edx, byte [ebx]
jmp 0x4d3b21
movzx ebp, byte [ebx + 1]
shl ebp, 8
or edx, ebp
jmp 0x4d3b2c
movzx ebp, byte [ebx + 2]
shl ebp, 0x10
or edx, ebp
jmp 0x4d3b37
movzx ebx, byte [ebx + 3]
shl ebx, 0x18
or edx, ebx
cmp edx, 0x5c3f3f5c
je 0x4d3b4a
jmp 0x4d3b6d
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
add esp, 0x104
ret
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0x108]
test ecx, ecx
ja 0x4d3b84
jmp 0x4d455b
movzx eax, byte [edx]
mov byte [esp + 0x26], al
mov byte [esp], al
call fcn.004d39d0
movzx eax, byte [esp + 4]
mov byte [esp + 0x28], al
mov byte [esp + 0x29], al
test al, al
jne 0x4d3ba6
jmp 0x4d3bdd
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0x108]
cmp ecx, 1
ja 0x4d3bbe
jmp 0x4d4551
movzx eax, byte [edx + 1]
mov byte [esp + 0x25], al
mov byte [esp], al
call fcn.004d39d0
movzx eax, byte [esp + 4]
mov byte [esp + 0x27], al
mov byte [esp + 0x29], al
jmp 0x4d3bdf
jmp 0x4d3bdf
movzx edx, byte [esp + 0x29]
mov byte [esp + 0x2a], dl
test dl, dl
jne 0x4d3bee
jmp 0x4d3c13
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0x108]
cmp ecx, 2
ja 0x4d3c06
jmp 0x4d4547
cmp byte [edx + 2], 0x3f
sete dl
mov byte [esp + 0x2a], dl
jmp 0x4d3c15
jmp 0x4d3c15
movzx edx, byte [esp + 0x2a]
mov byte [esp + 0x2b], dl
test dl, dl
jne 0x4d3c24
jmp 0x4d3c5b
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0x108]
cmp ecx, 3
ja 0x4d3c3c
jmp 0x4d453d
movzx eax, byte [edx + 3]
mov byte [esp + 0x24], al
mov byte [esp], al
call fcn.004d39d0
movzx eax, byte [esp + 4]
mov byte [esp + 0x27], al
mov byte [esp + 0x2b], al
jmp 0x4d3c5d
jmp 0x4d3c5d
movzx eax, byte [esp + 0x2b]
test al, al
jne 0x4d3c68
jmp 0x4d3c8b
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
add esp, 0x104
ret
jmp 0x4d3c8f
jmp 0x4d3c8f
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x10c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004c52b0
movzx eax, byte [esp + 8]
mov byte [esp + 0x28], al
test al, al
jne 0x4d3cc3
jmp 0x4d3cc8
jmp 0x4d3ddd
lea eax, [0x5cfa00]
mov dword [esp], eax
call fcn.0047e530
mov eax, dword [0x5cfa0c]
test eax, eax
je 0x4d3ce5
jmp 0x4d3db5
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
call fcn.004ac6c0
mov eax, dword [esp]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], edx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], ebx
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
mov dword [0x5cfa0c], ecx
mov ecx, dword [0x5efdd0]
test ecx, ecx
je 0x4d3d99
jmp 0x4d3d9b
jmp 0x4d3dad
call fcn.004757c0
mov dword [edi], eax
mov ecx, dword [0x5cfa08]
mov dword [edi + 4], ecx
jmp 0x4d3dad
mov dword [0x5cfa08], eax
jmp 0x4d3db7
jmp 0x4d3db7
mov eax, dword [0x5cfa0c]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x44]
lea eax, [eax + ecx + 1]
mov dword [esp + 0x44], eax
lea eax, [0x5cfa00]
mov dword [esp], eax
call fcn.0047e980
jmp 0x4d3ddd
cmp dword [esp + 0x44], 0xf8
jl 0x4d3de9
jmp 0x4d3e0c
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
add esp, 0x104
ret
mov byte [esp + 0x1f], 0
mov byte [esp + 0x20], 0
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x60], edx
cmp edx, 2
setge dl
mov byte [esp + 0x29], dl
jge 0x4d3e2f
jmp 0x4d3e64
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0x108]
test ecx, ecx
ja 0x4d3e46
jmp 0x4d4536
movzx eax, byte [edx]
mov byte [esp + 0x23], al
mov byte [esp], al
call fcn.004d39d0
movzx eax, byte [esp + 4]
mov byte [esp + 0x2a], al
mov byte [esp + 0x29], al
jmp 0x4d3e66
jmp 0x4d3e66
movzx edx, byte [esp + 0x29]
mov byte [esp + 0x28], dl
test dl, dl
jne 0x4d3e75
jmp 0x4d3eac
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0x108]
cmp ecx, 1
ja 0x4d3e8d
jmp 0x4d452c
movzx eax, byte [edx + 1]
mov byte [esp + 0x22], al
mov byte [esp], al
call fcn.004d39d0
movzx eax, byte [esp + 4]
mov byte [esp + 0x2a], al
mov byte [esp + 0x28], al
jmp 0x4d3eae
jmp 0x4d3eae
movzx edx, byte [esp + 0x28]
test dl, dl
jne 0x4d3ebc
jmp 0x4d3f5f
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x60], edx
cmp edx, 4
setge dl
mov byte [esp + 0x28], dl
jge 0x4d3ed5
jmp 0x4d3efa
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0x108]
cmp ecx, 2
ja 0x4d3eed
jmp 0x4d4522
cmp byte [edx + 2], 0x2e
sete dl
mov byte [esp + 0x28], dl
jmp 0x4d3efc
jmp 0x4d3efc
movzx edx, byte [esp + 0x28]
mov byte [esp + 0x29], dl
test dl, dl
jne 0x4d3f0b
jmp 0x4d3f42
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0x108]
cmp ecx, 3
ja 0x4d3f23
jmp 0x4d4518
movzx eax, byte [edx + 3]
mov byte [esp + 0x21], al
mov byte [esp], al
call fcn.004d39d0
movzx eax, byte [esp + 4]
mov byte [esp + 0x2a], al
mov byte [esp + 0x29], al
jmp 0x4d3f44
jmp 0x4d3f44
movzx eax, byte [esp + 0x29]
test al, al
jne 0x4d3f4f
jmp 0x4d3f56
mov byte [esp + 0x20], 1
jmp 0x4d3f5d
mov byte [esp + 0x1f], 1
jmp 0x4d3f5d
jmp 0x4d3f61
jmp 0x4d3f61
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
movzx eax, byte [esp + 0x1f]
test al, al
jne 0x4d3f87
jmp 0x4d4043
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea eax, [esp + 0x34]
mov dword [esp + 0xc0], eax
test byte [eax], al
mov word [eax], 0x5c
mov eax, dword [esp + 0xc0]
test byte [eax], al
mov word [eax + 2], 0x5c
mov eax, dword [esp + 0xc0]
test byte [eax], al
mov word [eax + 4], 0x3f
mov eax, dword [esp + 0xc0]
test byte [eax], al
mov word [eax + 6], 0x5c
mov eax, dword [esp + 0xc0]
test byte [eax], al
mov word [eax + 8], 0x55
mov eax, dword [esp + 0xc0]
test byte [eax], al
mov word [eax + 0xa], 0x4e
mov eax, dword [esp + 0xc0]
test byte [eax], al
mov word [eax + 0xc], 0x43
mov eax, dword [esp + 0xc0]
test byte [eax], al
mov word [eax + 0xe], 0x5c
mov eax, dword [esp + 0xc0]
test byte [eax], al
jmp 0x4d402d
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 8
mov dword [esp + 0x70], 8
jmp 0x4d40c2
movzx eax, byte [esp + 0x20]
test al, al
jne 0x4d404e
jmp 0x4d4050
jmp 0x4d40c0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
lea eax, [esp + 0x2c]
mov dword [esp + 0xbc], eax
test byte [eax], al
mov word [eax], 0x5c
mov eax, dword [esp + 0xbc]
test byte [eax], al
mov word [eax + 2], 0x5c
mov eax, dword [esp + 0xbc]
test byte [eax], al
mov word [eax + 4], 0x3f
mov eax, dword [esp + 0xbc]
test byte [eax], al
mov word [eax + 6], 0x5c
mov eax, dword [esp + 0xbc]
test byte [eax], al
jmp 0x4d40aa
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 4
mov dword [esp + 0x70], 4
jmp 0x4d40c0
jmp 0x4d40c2
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x10c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004aaec0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], ebp
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xcc]
mov dword [esp + 0xf8], edx
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], ecx
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0x100]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
test eax, eax
jne 0x4d41d3
jmp 0x4d41f6
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
add esp, 0x104
ret
mov eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
jmp 0x4d4222
jmp 0x4d4224
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x48]
add eax, ecx
mov dword [esp + 0x54], eax
lea ecx, [0x5116e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004711a0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x60], eax
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
test ecx, ecx
ja 0x4d429c
jmp 0x4d4511
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
cmp ecx, eax
ja 0x4d42be
jmp 0x4d450c
lea eax, [edx + eax*2]
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0xb8]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call fcn.004ae440
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], edx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x64], ecx
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], edx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
test eax, eax
jne 0x4d433b
jmp 0x4d435e
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
add esp, 0x104
ret
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x60], ebx
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x58], ebp
sub ebx, ebp
cmp dword [esp + 0x48], ebx
jbe 0x4d437e
jmp 0x4d44f6
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x58], ebx
mov ebp, dword [esp + 0x48]
lea ecx, [ebp + ebx]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x90]
cmp edx, ecx
jae 0x4d43a2
jmp 0x4d4507
jmp 0x4d43a4
mov dword [esp + 0x8c], ecx
jmp 0x4d43ad
movzx edx, byte [esp + 0x1f]
test dl, dl
jne 0x4d43b8
jmp 0x4d4402
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x90]
jmp 0x4d43cf
cmp ecx, 2
jae 0x4d43d9
jmp 0x4d44fd
lea eax, [ebx - 2]
add ecx, 0xfffffffe
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, 4
add eax, edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ebx
jmp 0x4d4404
jmp 0x4d4404
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x50], ecx
cmp ecx, eax
jg 0x4d4460
jmp 0x4d4466
mov dword [esp + 0x50], eax
jmp 0x4d4468
jmp 0x4d4468
mov eax, dword [esp + 0xa0]
cmp dword [esp + 0x94], eax
jne 0x4d447a
jmp 0x4d44a4
mov eax, dword [esp + 0x50]
mov dword [esp + 0x4c], eax
shl eax, 1
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0xa0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00476100
jmp 0x4d44a6
jmp 0x4d44a6
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004ab050
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
add esp, 0x104
ret
jmp 0x4d44f8
jmp 0x4d4222
mov eax, 2
call fcn.00475890
call fcn.00475880
call fcn.00475830
xor eax, eax
call fcn.00475830
mov eax, 3
call fcn.00475830
mov eax, 2
call fcn.00475830
mov eax, 1
call fcn.00475830
xor eax, eax
call fcn.00475830
mov eax, 3
call fcn.00475830
mov eax, 2
call fcn.00475830
mov eax, 1
call fcn.00475830
xor eax, eax
call fcn.00475830
mov ecx, 4
call fcn.00475850
nop
call fcn.004743b0
jmp fcn.004d3aa0