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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x541299
sub esp, 0x40
mov edx, dword [0x1e6e3e8]
mov eax, dword [edx]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov dword [esp], ecx
mov dword [esp + 4], ebx
call eax
mov edx, dword [0x1e6e3e8]
mov eax, dword [edx]
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x24], ebp
mov esi, dword [esp + 8]
mov dword [esp + 0x20], esi
mov dword [esp], ecx
mov dword [esp + 4], ebx
call eax
mov edx, dword [0x1e6e3e8]
mov eax, dword [edx]
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 8]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0xc]
mov dword [esp + 0x18], esi
mov dword [esp], ecx
mov dword [esp + 4], ebx
call eax
mov edx, dword [0x1e6e3e8]
mov eax, dword [edx]
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 8]
mov dword [esp + 0x10], esi
mov dword [esp], ecx
mov dword [esp + 4], ebx
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
mov ebx, dword [esp + 0x20]
mov dword [esp], ebx
mov ebp, dword [esp + 0x1c]
mov dword [esp + 4], ebp
call fcn.0044e590
movzx eax, byte [esp + 8]
test al, al
je 0x541090
mov eax, dword [esp + 0x1c]
jmp 0x541094
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 4], edx
call fcn.0044e590
movzx eax, byte [esp + 8]
test al, al
je 0x5410bb
mov eax, dword [esp + 0x18]
jmp 0x5410bf
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x10]
mov dword [esp], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], edx
call fcn.0044e590
movzx eax, byte [esp + 8]
test al, al
je 0x5410e6
mov eax, dword [esp + 0x3c]
jmp 0x5410ea
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
call fcn.0044e590
movzx eax, byte [esp + 8]
test al, al
je 0x541111
mov eax, dword [esp + 0x38]
jmp 0x541115
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], edx
call fcn.0044e590
movzx eax, byte [esp + 8]
test al, al
je 0x54113c
mov eax, dword [esp + 0x2c]
jmp 0x541140
mov eax, dword [esp + 0x34]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
call fcn.0044e590
movzx eax, byte [esp + 8]
test al, al
je 0x541167
mov eax, dword [esp + 0x28]
jmp 0x54116b
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
call fcn.0044e590
movzx eax, byte [esp + 8]
test al, al
je 0x541192
mov eax, dword [esp + 0x1c]
jmp 0x541196
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x18]
mov dword [esp], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 4], edx
call fcn.0044e590
movzx eax, byte [esp + 8]
test al, al
je 0x5411bd
mov eax, dword [esp + 0x18]
jmp 0x5411c1
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 4], edx
call fcn.0044e590
movzx eax, byte [esp + 8]
test al, al
je 0x5411e8
mov eax, dword [esp + 0x3c]
jmp 0x5411ec
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 4], edx
call fcn.0044e590
movzx eax, byte [esp + 8]
test al, al
je 0x541213
mov eax, dword [esp + 0x38]
jmp 0x541217
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
call fcn.0044e590
movzx eax, byte [esp + 8]
test al, al
je 0x54123e
mov eax, dword [esp + 0x1c]
jmp 0x541242
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x18]
mov dword [esp], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 4], edx
call fcn.0044e590
movzx eax, byte [esp + 8]
test al, al
je 0x541269
mov eax, dword [esp + 0x18]
jmp 0x54126d
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x40
ret
call fcn.004649b0
jmp fcn.00540fb0