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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d5615
sub esp, 0x54
mov eax, 0
lea edi, [esp + 0x3c]
call fcn.0045cbca
mov byte [esp + 0x23], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x60]
mov dword [esp], edx
lea ebx, [0x532b60]
mov dword [esp + 4], ebx
lea ebx, [0x68aba0]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [0x528f00]
cmp eax, edx
je 0x4d5094
xor ecx, ecx
test ecx, ecx
jne 0x4d50a3
mov eax, dword [esp + 0x58]
xor ecx, ecx
jmp 0x4d5136
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 8]
test edx, edx
je 0x4d50fb
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ecx
mov eax, dword [edx]
mov ebp, dword [esp + 0x58]
mov esi, dword [ebp + 0x44]
mov edi, dword [ebp + 0x48]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4d512f
lea edx, [0x560730]
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x74]
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x23], 1
jmp 0x4d5133
mov eax, dword [esp + 0x58]
setne cl
mov byte [esp + 0x22], cl
mov edx, dword [eax + 0x20]
mov dword [esp + 0x34], edx
mov ebx, dword [eax + 0x1c]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x64]
test ebp, ebp
je 0x4d5497
mov ebp, dword [ebp + 8]
cmp ebp, 0x103a77be
ja 0x4d5242
cmp ebp, 0x3e19b09
jne 0x4d51ce
mov ebp, dword [esp + 0x64]
lea esi, [0x58994c]
cmp ebp, esi
jne 0x4d5497
cmp ebx, esi
je 0x4d5183
xor edx, edx
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], ecx
call fcn.004e3da0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x58ad18]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
jmp 0x4d5314
cmp ebp, 0x103a77be
jne 0x4d5239
mov ebp, dword [esp + 0x64]
lea esi, [0x58991c]
cmp ebp, esi
jne 0x4d5497
cmp ebx, esi
je 0x4d51ee
xor edx, edx
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], ecx
call fcn.004e27a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x58acb8]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
jmp 0x4d5314
mov ebp, dword [esp + 0x64]
jmp 0x4d5497
cmp ebp, 0xd7d15deb
jne 0x4d52aa
mov ebp, dword [esp + 0x64]
lea esi, [0x589934]
cmp ebp, esi
jne 0x4d5497
cmp ebx, esi
je 0x4d5262
xor edx, edx
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], ecx
call fcn.004e3590
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x58ace8]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
jmp 0x4d5314
cmp ebp, 0xff2d2c4c
jne 0x4d5493
mov ebp, dword [esp + 0x64]
lea esi, [0x589904]
cmp ebp, esi
jne 0x4d5497
cmp ebx, esi
je 0x4d52ce
xor edx, edx
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], ecx
call fcn.004d9f90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x58ac88]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x4d536d
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4d5369
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004d5620
add esp, 0x54
ret
lea eax, [0x53f8a0]
mov dword [esp], eax
call fcn.0040b290
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x54e24a]
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0x44]
mov ecx, dword [ecx + 0x48]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x68ad40]
test ecx, ecx
jne 0x4d53aa
mov dword [eax + 8], edx
jmp 0x4d53b8
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.0045c980
mov eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x68ad40]
test ecx, ecx
jne 0x4d53d2
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x14], ecx
jmp 0x4d53e2
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x34]
call fcn.0045c980
mov eax, ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x68ad40]
test ecx, ecx
jne 0x4d53fc
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x1c], ecx
jmp 0x4d540c
lea edi, [eax + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.0045c980
mov eax, ecx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov dword [eax + 0x20], edx
mov edx, dword [0x68ad40]
test edx, edx
jne 0x4d5426
mov dword [eax + 0x24], ecx
jmp 0x4d5434
lea edi, [eax + 0x24]
mov edx, eax
mov eax, ecx
call fcn.0045c980
mov eax, edx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x587904]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4d548f
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004d5620
add esp, 0x54
ret
mov ebp, dword [esp + 0x64]
lea eax, [0x537d00]
mov dword [esp], eax
call fcn.0040b290
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov dword [eax + 4], 0x17
lea ecx, [0x553eb3]
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0x4c]
mov ebx, dword [ecx + 0x50]
mov dword [eax + 0xc], ebx
mov ebx, dword [0x68ad40]
test ebx, ebx
jne 0x4d54d8
mov dword [eax + 8], edx
jmp 0x4d54e2
lea edi, [eax + 8]
mov eax, edx
call fcn.0045c980
lea eax, [0x53f8a0]
mov dword [esp], eax
call fcn.0040b290
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x54e24a]
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0x44]
mov ecx, dword [ecx + 0x48]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x68ad40]
test ecx, ecx
jne 0x4d551f
mov dword [eax + 8], edx
jmp 0x4d552d
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.0045c980
mov eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x68ad40]
test ecx, ecx
jne 0x4d5547
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x14], ecx
jmp 0x4d5557
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x34]
call fcn.0045c980
mov eax, ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x68ad40]
test ecx, ecx
jne 0x4d5571
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x1c], ecx
jmp 0x4d5581
lea edi, [eax + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.0045c980
mov eax, ecx
lea ecx, [0x5878dc]
mov dword [eax + 0x20], ecx
mov ecx, dword [0x68ad40]
test ecx, ecx
jne 0x4d559d
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x24], ecx
jmp 0x4d55ad
lea edi, [eax + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.0045c980
mov eax, ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x587904]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4d5608
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004d5620
add esp, 0x54
ret
call fcn.0045b540
jmp fcn.004d5010