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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d557e
sub esp, 0x7c
mov eax, dword [esp + 0x84]
cmp eax, 0x63
je 0x4d508f
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.004d3d00
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.004d4110
nop
mov eax, dword [esp + 0x84]
xor ecx, ecx
jmp 0x4d50c3
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
call fcn.004d4670
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], ecx
add esp, 0x7c
ret
cmp ecx, 7
jge 0x4d5495
lea edx, [0x6b28ca]
movzx ebx, byte [edx + ecx]
cmp ebx, 0x80
jge 0x4d50e1
inc ecx
jmp 0x4d510a
mov dword [esp], edx
mov dword [esp + 4], 7
mov dword [esp + 8], ecx
call fcn.0045d380
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x84]
lea edx, [0x6b28ca]
cmp eax, ebx
jne 0x4d50c3
cmp eax, 0x58
jg 0x4d511f
cmp eax, 0x55
je 0x4d5152
cmp eax, 0x58
je 0x4d5152
jmp 0x4d5164
cmp eax, 0x62
jne 0x4d5136
mov ecx, 2
mov edx, 2
lea ebx, [0x6b11c2]
jmp 0x4d5174
cmp eax, 0x6f
jne 0x4d514d
mov ecx, 8
mov edx, 8
lea ebx, [0x6b2aca]
jmp 0x4d5174
cmp eax, 0x78
jne 0x4d5164
mov ecx, 0x16
mov edx, 0x10
lea ebx, [0x6bb261]
jmp 0x4d5174
mov ecx, 0xa
mov edx, 0xa
lea ebx, [0x6b3826]
cmp eax, 0x55
je 0x4d51aa
cmp eax, 0x76
je 0x4d5185
xor eax, eax
jmp 0x4d522a
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.004d4860
mov edx, dword [esp + 4]
movzx eax, byte [esp + 0x10]
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jmp 0x4d522a
mov dword [esp + 0x44], ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x80]
mov dword [esp], eax
lea ecx, [0x728919]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov byte [esp + 0xc], 0
call fcn.004d3f40
movzx eax, byte [esp + 0x10]
test al, al
je 0x4d5439
mov eax, dword [esp + 0x80]
mov dword [esp], eax
lea ecx, [0x6b1179]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov byte [esp + 0xc], 0
call fcn.004d3f40
movzx eax, byte [esp + 0x10]
test al, al
je 0x4d5439
mov ecx, dword [esp + 0x44]
xor eax, eax
mov ebx, dword [esp + 0x70]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x4c], edx
mov ebp, dword [esp + 0x80]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov byte [esp + 0xc], al
call fcn.004d4540
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x40
call fcn.004a1710
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test eax, eax
jne 0x4d5404
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x88]
add eax, 0xffffffc0
neg eax
lea ebx, [eax - 0x20]
mov dword [esp + 0x54], ebx
cmp ebx, 0x20
sbb ebp, ebp
mov dword [esp + 0x50], ebp
cmp eax, 0x20
sbb esi, esi
mov edi, ebx
neg ebx
mov dword [esp + 0x60], ebx
cmp ebx, 0x20
sbb ebp, ebp
mov dword [esp + 0x5c], ebp
mov ecx, ebx
shr edx, cl
mov ecx, edi
mov ebx, dword [esp + 0x34]
shl ebx, cl
mov ecx, eax
mov edi, dword [esp + 0x38]
shl edi, cl
and edi, esi
and edx, ebp
or edx, edi
mov edi, dword [esp + 0x50]
and ebx, edi
or edx, ebx
mov dword [esp + 0x50], edx
mov ebx, edx
shr edx, cl
and edx, esi
mov ebp, dword [esp + 0x38]
cmp ebp, edx
setne dl
mov byte [esp + 0x2f], dl
mov ebp, dword [esp + 0x34]
shl ebp, cl
and ebp, esi
mov ecx, dword [esp + 0x60]
shl ebx, cl
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
shr edx, cl
and edx, edi
mov edi, dword [esp + 0x5c]
and ebx, edi
mov ecx, eax
shr ebp, cl
and ebp, esi
or ebp, ebx
or ebp, edx
mov eax, dword [esp + 0x34]
cmp eax, ebp
setne dl
movzx ebx, byte [esp + 0x2f]
or ebx, edx
test bl, bl
jne 0x4d5358
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
mov dword [esp], 0
lea eax, [0x6c26db]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x23
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
call fcn.0044efc0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
lea edx, [0x6828e0]
mov dword [esp], edx
call fcn.0040b7f0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x3c]
mov dword [edi + 4], eax
mov eax, dword [0x112f780]
test eax, eax
jne 0x4d53f9
mov eax, dword [esp + 0x68]
mov dword [edi], eax
lea eax, [0x72a21c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
lea eax, [0x682940]
mov dword [esp], eax
lea ecx, [esp + 0x74]
mov dword [esp + 4], ecx
call fcn.00408f80
mov eax, dword [esp + 8]
lea ecx, [0x682940]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436fb0
mov eax, dword [esp + 0x68]
call fcn.00462e70
jmp 0x4d53bf
nop
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebp
lea eax, [0x682940]
mov dword [esp], eax
lea ecx, [esp + 0x74]
mov dword [esp + 4], ecx
call fcn.00408f80
mov eax, dword [esp + 8]
lea ecx, [0x682940]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436fb0
nop
lea eax, [0x6828e0]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x6b98bd]
mov dword [eax], ecx
lea ecx, [0x72a21c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea eax, [0x682940]
mov dword [esp], eax
lea ecx, [esp + 0x74]
mov dword [esp + 4], ecx
call fcn.00408f80
mov eax, dword [esp + 8]
lea ecx, [0x682940]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436fb0
lea ecx, [esp + 0x58]
mov dword [esp], ecx
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.0044f750
mov dword [esp], 0
lea eax, [0x6b4593]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xb
lea eax, [0x6b20a1]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 6
lea eax, [0x6b2979]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 7
call fcn.0044f100
mov eax, dword [esp + 0x24]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x40], ecx
lea edx, [0x6828e0]
mov dword [esp], edx
call fcn.0040b7f0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x40]
mov dword [edi + 4], eax
mov eax, dword [0x112f780]
test eax, eax
jne 0x4d5573
mov eax, dword [esp + 0x6c]
mov dword [edi], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x72a21c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
lea eax, [0x682940]
mov dword [esp], eax
lea ecx, [esp + 0x74]
mov dword [esp + 4], ecx
call fcn.00408f80
mov eax, dword [esp + 8]
lea ecx, [0x682940]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436fb0
mov eax, dword [esp + 0x6c]
call fcn.00462e70
jmp 0x4d5529
call fcn.00461a60
jmp fcn.004d5040