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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d40e4
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov ebx, dword [eax + 0x40]
mov ebp, dword [esp + 0x64]
mov dword [esp], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
lea ecx, [0x6cde20]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x70]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
lea edi, [0x679d20]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], ebx
call fcn.004ccf80
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
jmp 0x4d3f93
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov ebx, dword [eax + 0x40]
mov ebp, dword [esp + 0x64]
mov dword [esp], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
lea ecx, [0x6cde20]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x70]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
lea edi, [0x679d20]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], ebx
call fcn.004ccf80
mov eax, dword [esp + 0x40]
inc eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
mov ebp, esi
mov esi, edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x40], eax
mov eax, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x54], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x50], eax
mov ebp, dword [esp + 0x40]
cmp ebp, 2
jge 0x4d40dd
test esi, esi
je 0x4d3fbb
mov ebp, dword [esi + 0xc]
test ebp, ebp
jne 0x4d40d6
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004d40f0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4d4078
mov eax, 1
test al, al
je 0x4d3ffe
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4d3ef5
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.004c5ea0
jmp 0x4d3ef5
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4d4060
lea eax, [0x64d4a0]
mov dword [esp], eax
call fcn.0040c800
mov edi, dword [esp + 4]
mov dword [esp + 0x58], edi
mov eax, dword [0x7e34e0]
test eax, eax
jne 0x4d4055
mov eax, dword [esp + 0x50]
mov dword [edi], eax
mov dword [esp], eax
mov byte [esp + 4], 1
call fcn.004d41f0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov eax, dword [esp + 0x50]
call fcn.0045c920
jmp 0x4d402c
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
add esp, 0x5c
ret
lea eax, [0x6caeb0]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jne 0x4d40cc
mov edx, dword [esp + 0x54]
mov ebx, dword [edx + 0x20]
mov ebp, dword [edx + 0x24]
lea esi, [0x6cb130]
cmp esi, ebx
jne 0x4d40a0
mov ebx, dword [ebp + 8]
mov ebp, dword [ebp + 0xc]
test ebx, ebx
je 0x4d40c4
lea edi, [0x65e740]
cmp dword [ebx + 4], edi
jne 0x4d40c0
cmp dword [ebp], 0x20000003
sete bl
mov eax, ebx
jmp 0x4d3fdd
xor ebx, ebx
jmp 0x4d40b9
lea edi, [0x65e740]
jmp 0x4d40c0
mov edx, dword [esp + 0x54]
mov ebp, edx
mov ebx, ecx
jmp 0x4d4090
xor eax, eax
jmp 0x4d3fdd
xor eax, eax
jmp 0x4d3fdd
call fcn.0045b380
jmp fcn.004d3e40