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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x542fc7
sub esp, 0x84
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
call fcn.005411a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
test ebp, ebp
jne 0x542f94
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x94]
cmp ebx, 5
jge 0x542f56
xor ebp, ebp
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x542e93
mov eax, dword [esp + 0x90]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp + 4], edx
call fcn.004a92b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x6c], ebx
lea ebp, [0x5f4880]
mov dword [esp], ebp
lea esi, [esp + 0x70]
mov dword [esp + 4], esi
call fcn.004072a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
lea edx, [0x5f4880]
mov dword [esp], edx
lea ebx, [esp + 0x68]
mov dword [esp + 4], ebx
call fcn.004072a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
lea eax, [0x7ed280]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
call fcn.0045bac0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x5c], edx
lea edx, [0x5f4880]
mov dword [esp], edx
lea ebx, [esp + 0x60]
mov dword [esp + 4], ebx
call fcn.004072a0
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], ecx
lea edx, [0x5f4880]
mov dword [esp], edx
lea ebx, [esp + 0x58]
mov dword [esp + 4], ebx
call fcn.004072a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x7ed2a0]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
call fcn.0045bac0
lea eax, [0x7fe728]
mov dword [esp], eax
call fcn.0045c7e0
lea eax, [0x7fe728]
mov dword [esp + 8], eax
mov dword [esp], 4
lea eax, [0x6475c0]
mov dword [esp + 4], eax
call fcn.00425cd0
test eax, eax
jne 0x542e86
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], ecx
lea edx, [0x7ed260]
mov dword [esp], edx
lea ebx, [0x5f4880]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x48]
mov dword [esp + 8], ebp
call fcn.0045b850
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test al, al
je 0x542e75
lea ebx, [0x5e74e0]
cmp ecx, ebx
jne 0x542faf
mov ecx, dword [edx]
mov ebp, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], edx
mov esi, dword [esp + 0x2c]
xor eax, eax
jmp 0x542ce7
inc eax
mov edx, edi
lea ebx, [0x5e74e0]
cmp eax, ebp
jge 0x542d53
lea ebx, [ecx + eax*8]
mov edi, edx
mov edx, dword [ebx]
mov ebx, dword [ebx + 4]
cmp ebx, esi
jne 0x542cde
mov dword [esp + 0x30], eax
mov dword [esp], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00402150
movzx eax, byte [esp + 0xc]
test al, al
jne 0x542d30
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
jmp 0x542cde
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
nop
call fcn.00426490
add esp, 0x84
ret
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x54], ebx
lea ebx, [ebp + 1]
cmp ebx, edx
jg 0x542e3b
mov eax, edx
lea edx, [ecx + ebp*8 + 4]
mov dword [edx], esi
mov edx, dword [0x7fe8b0]
lea edi, [ecx + ebp*8]
test edx, edx
jne 0x542e29
mov edx, dword [esp + 0x40]
mov dword [edi], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], eax
lea eax, [0x5f4880]
mov dword [esp], eax
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
call fcn.004072a0
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], ecx
lea edx, [0x5e74e0]
mov dword [esp], edx
lea edx, [esp + 0x78]
mov dword [esp + 4], edx
call fcn.00407320
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x7ed260]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
call fcn.0045bac0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
nop
call fcn.00426490
add esp, 0x84
ret
mov edx, eax
mov eax, dword [esp + 0x40]
call fcn.0044b7c0
mov eax, edx
jmp 0x542d8d
lea eax, [0x5f4880]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00437d20
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
jmp 0x542d6e
lea ebx, [0x5e74e0]
xor ecx, ecx
xor ebp, ebp
xor edx, edx
jmp 0x542cca
nop
call fcn.00426490
add esp, 0x84
ret
lea ecx, [0x5f62a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x633140]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 7
call fcn.0040dc40
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test eax, eax
je 0x542ed5
mov ebx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
jmp 0x542adb
lea eax, [0x5f62a0]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
lea ecx, [0x633140]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 7
call fcn.0040e320
mov edi, dword [esp + 0x10]
mov dword [edi + 4], 5
mov eax, dword [0x7fe8b0]
test eax, eax
jne 0x542f49
lea eax, [0x632c43]
mov dword [edi], eax
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
call fcn.0053fd80
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
jmp 0x542adb
lea eax, [0x632c43]
call fcn.0044b7c0
jmp 0x542f1a
mov eax, dword [esp + 0x90]
mov dword [esp], eax
lea ecx, [0x632c2f]
mov dword [esp + 4], ecx
mov dword [esp + 8], 5
call fcn.00402150
movzx ebp, byte [esp + 0xc]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x94]
jmp 0x542aca
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], ebx
nop
call fcn.00426490
add esp, 0x84
ret
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x5f4100]
mov dword [esp + 8], eax
call fcn.00406f40
ud2
call fcn.0044a060
jmp fcn.00542a40