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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x542ace
sub esp, 0x48
lea edi, [esp + 0x60]
xor eax, eax
call fcn.00465fe9
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x34], ecx
test ecx, ecx
jne 0x542641
mov edx, 0
mov ebx, 0
mov ebp, 0
jmp 0x54268e
lea eax, [ecx + 0x20]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00553e80
movzx eax, byte [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test al, al
je 0x542675
mov ebx, dword [esp + 0x34]
test ebx, ebx
jmp 0x54267f
mov ebx, dword [esp + 0x34]
mov byte [ebx + 0x50], 1
test ebx, ebx
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0x34]
mov edx, eax
mov eax, 0
jne 0x5426b7
mov esi, dword [esp + 0x4c]
mov edi, ecx
mov ecx, dword [esi + 0x1e8]
mov dword [esp + 0x3c], ecx
mov esi, dword [esi + 0x1ec]
mov dword [esp + 0x28], esi
xor eax, eax
mov dword [esp + 0x24], eax
xor eax, eax
jmp 0x5429f3
test ecx, ecx
jne 0x5428e9
lea eax, [0x6d8760]
mov dword [esp], eax
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
movzx ecx, byte [esp + 0x5d]
mov byte [eax + 8], cl
movzx ecx, byte [esp + 0x5e]
mov byte [eax + 9], cl
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x1e0]
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], edx
nop
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov edx, dword [eax + 0x34]
mov ebx, dword [eax + 0x3c]
mov ebp, dword [eax + 0x38]
inc ebp
cmp ebx, ebp
jae 0x542768
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6dace0]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
mov dword [ebx + 0x3c], edx
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x542756
mov dword [ebx + 0x34], eax
jmp 0x54275e
lea edi, [ebx + 0x34]
call fcn.00465d80
mov ebp, ecx
mov edx, eax
mov eax, ebx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x38], ebp
lea ebx, [edx + ebp*8 - 8]
mov dword [ebx], 0
lea edx, [edx + ebp*8 - 4]
mov dword [edx], 0
mov dword [eax + 0x2c], 0
mov edx, dword [eax + 0x28]
mov ebx, dword [eax + 0x30]
cmp ebx, 1
jb 0x542798
mov ebx, 1
jmp 0x5427f4
mov dword [esp], edx
mov dword [esp + 4], 1
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6e3d00]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
mov dword [ebx + 0x30], edx
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x5427e0
mov dword [ebx + 0x28], eax
jmp 0x5427e8
lea edi, [ebx + 0x28]
call fcn.00465d80
mov edx, eax
mov ebx, ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x2c], ebx
dec ebx
shl ebx, 4
mov dword [edx + ebx], 0
mov dword [edx + ebx + 4], 0
mov dword [edx + ebx + 8], 0xf4240
mov dword [edx + ebx + 0xc], 0xf4240
mov edx, dword [ecx + 0x1ec]
inc edx
mov ebx, dword [ecx + 0x1e8]
mov ebp, dword [ecx + 0x1f0]
cmp ebp, edx
jae 0x542892
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6b8340]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x4c]
mov dword [ebx + 0x1f0], edx
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x54287b
mov dword [ebx + 0x1e8], eax
jmp 0x542886
lea edi, [ebx + 0x1e8]
call fcn.00465d80
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x1ec], edx
mov ebp, dword [0x1eaa9f0]
lea edi, [ebx + edx*4 - 4]
test ebp, ebp
jne 0x5428ac
mov dword [ebx + edx*4 - 4], eax
jmp 0x5428b1
call fcn.00465d80
lea ecx, [eax + 0x20]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00553e80
movzx eax, byte [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test al, al
je 0x542959
mov ebx, edx
mov ebp, ecx
mov edx, eax
mov ecx, dword [esp + 0x34]
xor eax, eax
test dl, dl
je 0x542947
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x4c]
mov esi, dword [edx + 0x1f4]
mov dword [ecx + 0x4c], esi
mov esi, dword [esp + 0x54]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x58]
lea edi, [esp + 0x60]
call fcn.00465fe9
mov ecx, dword [edx + 0x1f4]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebx
mov ecx, dword [esp + 0x28]
add ecx, ebp
mov dword [esp + 0x6c], ecx
lea ecx, [esi + ebx]
mov dword [esp + 0x70], ecx
mov byte [esp + 0x7c], 1
add esp, 0x48
ret
lea edi, [esp + 0x60]
call fcn.00465fe9
mov byte [esp + 0x7c], 0
add esp, 0x48
ret
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00409780
mov eax, dword [esp + 8]
lea ecx, [0x6dace0]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea eax, [0x6ff56f]
mov dword [esp], eax
mov dword [esp + 4], 0x28
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x5429d8
mov eax, dword [eax + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00436d20
inc edx
mov esi, dword [esp + 0x28]
mov dword [esp + 0x24], edx
mov edx, ecx
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x23], dl
mov edx, dword [esp + 0x24]
cmp edx, esi
jge 0x542ab6
mov ecx, dword [ecx + edx*4]
movzx esi, byte [esp + 0x5c]
xchg esi, eax
test al, al
xchg esi, eax
je 0x542a1f
mov esi, dword [ecx + 0x18]
test esi, esi
je 0x542a1f
movzx ecx, byte [esp + 0x23]
jmp 0x5429e4
movzx esi, byte [esp + 0x5f]
xchg esi, eax
test al, al
xchg esi, eax
je 0x542a3b
movzx esi, byte [ecx + 0x50]
xchg esi, eax
test al, al
xchg esi, eax
je 0x542a3b
movzx ecx, byte [esp + 0x23]
jmp 0x5429e4
movzx esi, byte [ecx + 8]
xchg esi, eax
cmp byte [esp + 0x5d], al
xchg esi, eax
jne 0x542a5c
mov dword [esp + 0x38], ecx
movzx esi, byte [ecx + 9]
movzx ecx, byte [esp + 0x5e]
and esi, ecx
xchg esi, eax
cmp cl, al
xchg esi, eax
je 0x542a63
movzx ecx, byte [esp + 0x23]
jmp 0x5429e4
mov eax, dword [esp + 0x38]
lea ecx, [eax + 0x20]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00553e80
movzx eax, byte [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test al, al
jne 0x542ab0
mov esi, dword [esp + 0x38]
mov byte [esi + 0x50], 1
mov edi, dword [esp + 0x34]
mov ebx, edx
mov ebp, ecx
mov edx, dword [esp + 0x24]
mov ecx, eax
xor eax, eax
jmp 0x5429e4
mov edi, dword [esp + 0x38]
jmp 0x542abf
movzx eax, byte [esp + 0x23]
mov edx, ebx
mov ecx, ebp
mov ebx, edx
mov ebp, ecx
mov ecx, edi
mov edx, eax
xor eax, eax
jmp 0x5426b7
call fcn.004649b0
jmp fcn.00542600