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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x636d91
sub esp, 0x40
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x636d66
mov ecx, dword [eax + 0x64]
mov edx, dword [eax + 0x60]
test edx, edx
je 0x636d66
test eax, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], edx
je 0x636d5a
mov ebx, dword [eax + 0x74]
mov ebp, dword [eax + 0x78]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], ebx
je 0x636aa0
mov esi, dword [eax + 0x68]
test esi, esi
ja 0x636d47
test eax, eax
mov esi, dword [0x8470f0]
mov dword [esp + 0x18], esi
je 0x636ab3
mov edi, dword [eax + 0x1c]
test edi, edi
jg 0x636ab9
mov edi, dword [0x8470d4]
mov dword [esp + 0x1c], edi
lea eax, [0x6b4b60]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00437440
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x3c], edx
lea ebx, [0x6f1fe0]
mov dword [esp], ebx
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x44]
mov dword [eax], ecx
mov ecx, dword [0x884700]
lea edx, [eax + 4]
test ecx, ecx
jne 0x636d2e
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x884700]
lea edx, [eax + 0x14]
test ecx, ecx
jne 0x636d15
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x884700]
lea edx, [eax + 0x1c]
test ecx, ecx
jne 0x636cfc
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x1dc], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x1e0], ecx
mov ecx, dword [0x884700]
lea edx, [eax + 0x1d8]
test ecx, ecx
jne 0x636cdd
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x1d8], ecx
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x636bb4
mov ecx, dword [ecx + 0x18]
test ecx, ecx
jg 0x636bba
mov ecx, dword [0x8470d0]
mov dword [eax + 0x28], ecx
lea ecx, [eax + 0x1a4]
test byte [ecx], al
mov dword [eax + 0x9c], 0x1e
mov dword [eax + 0xa0], 0x1e
mov ecx, 0x14
lea ecx, [eax + ecx + 0x1a4]
mov dword [esp + 0x3c], ecx
mov edx, dword [0x884700]
lea ebx, [eax + 0x98]
test edx, edx
jne 0x636cc4
mov dword [eax + 0x98], ecx
mov dword [eax + 0xa4], 1
mov dword [eax + 0x118], 0x1e
mov dword [eax + 0x11c], 0x1e
mov edx, dword [0x884700]
lea ebx, [eax + 0x114]
test edx, edx
jne 0x636caf
mov dword [eax + 0x114], ecx
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x636c49
mov dword [esp + 0x50], eax
add esp, 0x40
ret
mov edx, dword [edx + 0x1c]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x38]
mov dword [edx + 0x120], ecx
mov ecx, dword [0x884700]
lea ebx, [edx + 0x124]
test ecx, ecx
jne 0x636c9d
mov dword [edx + 0x124], eax
lea eax, [edx + 0x120]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.006356c0
mov eax, dword [esp + 0x38]
jmp 0x636c41
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040d5a0
mov edx, dword [esp + 0x38]
jmp 0x636c79
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x38]
jmp 0x636c37
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
jmp 0x636c03
mov dword [esp], edx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov ecx, dword [esp + 0x4c]
test ecx, ecx
mov eax, dword [esp + 0x38]
jmp 0x636bab
mov dword [esp], edx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x38]
jmp 0x636b65
mov dword [esp], edx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x38]
jmp 0x636b46
mov dword [esp], edx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x38]
jmp 0x636b27
cmp esi, 3
jb 0x636d53
test eax, eax
jmp 0x636aa0
test eax, eax
jmp 0x636aa6
mov ebp, 0
mov ebx, ebp
jmp 0x636a89
lea ecx, [0x84b200]
mov dword [esp], ecx
lea ecx, [0x884440]
mov dword [esp + 4], ecx
call fcn.0040a900
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x4c]
test eax, eax
jmp 0x636a75
call fcn.004486b0
jmp fcn.00636a40