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

Disassembly:
mov ecx, dword [0x6c4e70]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4da079
sub esp, 0x60
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edx
call fcn.004dd590
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4d9f37
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4d9aeb
test eax, 0x200
jne 0x4d9aeb
lea ecx, [0x5c13b8]
mov edx, dword [esp + 0x74]
jmp 0x4d9b13
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.0048a890
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov ecx, eax
mov eax, dword [esp + 0x7c]
cmp dword [0x69ff18], ecx
jne 0x4d9b42
mov eax, dword [0x69ff1c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00404090
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4d9e6b
mov eax, dword [esp + 0x7c]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x20], eax
nop
nop
cmp eax, 0x14
ja 0x4d9bef
cmp eax, 0xe
ja 0x4d9b7a
test eax, eax
je 0x4d9f92
cmp eax, 0xb
jbe 0x4d9de7
cmp eax, 0xd
jae 0x4d9de7
jmp 0x4d9f92
cmp eax, 0x11
je 0x4d9cec
cmp eax, 0x14
jne 0x4d9f92
mov eax, dword [esp + 0x78]
mov edx, dword [eax]
test edx, edx
je 0x4d9beb
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00487840
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
call fcn.004d9a90
jmp 0x4d9e67
add esp, 0x60
ret
cmp eax, 0x16
ja 0x4d9ce3
cmp eax, 0x15
jne 0x4d9c62
test ecx, 0x200
je 0x4d9c0b
mov eax, dword [esp + 0x78]
jmp 0x4d9c25
test ecx, 0x80
je 0x4d9c1b
mov eax, dword [esp + 0x78]
mov edx, dword [eax]
jmp 0x4d9c21
mov eax, dword [esp + 0x78]
mov edx, eax
test edx, edx
je 0x4d9c5e
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.004db7a0
jmp 0x4d9e67
add esp, 0x60
ret
test ecx, 0x200
je 0x4d9c70
mov eax, dword [esp + 0x78]
jmp 0x4d9c8a
test ecx, 0x80
je 0x4d9c80
mov eax, dword [esp + 0x78]
mov edx, dword [eax]
jmp 0x4d9c86
mov eax, dword [esp + 0x78]
mov edx, eax
test edx, edx
je 0x4d9cdf
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00487840
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
call fcn.004d9a90
jmp 0x4d9e67
add esp, 0x60
ret
cmp eax, 0x17
jne 0x4d9de2
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004dd080
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov edx, dword [0x69aa18]
mov ebx, dword [0x69aa1c]
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.00409580
mov eax, dword [esp + 8]
lea ecx, [0x5c0604]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
call fcn.004ec1b0
movzx eax, byte [esp + 0x10]
test al, al
je 0x4d9d9c
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
call fcn.004db4c0
jmp 0x4d9e67
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], 0
call fcn.004dde50
jmp 0x4d9e67
cmp eax, 0x18
jne 0x4d9e26
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov byte [esp + 0x1c], 0
call fcn.004dde50
jmp 0x4d9e67
cmp eax, 0x19
jne 0x4d9f92
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.004db7a0
add esp, 0x60
ret
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.00487f10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0x14]
lea edi, [esp + 0x4c]
xor eax, eax
call fcn.004610eb
mov eax, dword [esp + 0x28]
lea ecx, [0x56a8e0]
cmp eax, ecx
jne 0x4d9f7c
lea edi, [esp + 0x4c]
call fcn.004615ce
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4d9efd
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4d9ef5
movzx ecx, byte [eax + 0xf]
nop
mov edx, ecx
and ecx, 0x1f
test dl, 0x20
jne 0x4d9eef
or ecx, 0x80
mov edx, dword [esp + 0x30]
jmp 0x4d9f03
xor ecx, ecx
xor eax, eax
xor edx, edx
jmp 0x4d9f03
xor ecx, ecx
xor eax, eax
xor edx, edx
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
call fcn.004d9a90
add esp, 0x60
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], 0
call fcn.004dde50
add esp, 0x60
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x561720]
mov dword [esp + 8], eax
call fcn.00409280
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call fcn.00409600
mov eax, dword [esp + 0xc]
lea ecx, [0x56f300]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00409470
mov eax, dword [esp + 4]
lea ecx, [0x563160]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
lea eax, [0x58f3b7]
mov dword [esp], eax
mov dword [esp + 4], 0x21
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004adf70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
lea eax, [0x56bba0]
mov dword [esp], eax
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.004093b0
mov eax, dword [esp + 8]
lea ecx, [0x56bba0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435490
nop
call fcn.0045faf0
jmp fcn.004d9a90