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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5422a8
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
call fcn.0052d0c0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
lea ebp, [edx - 1]
test ebp, ebp
jl 0x542294
mov ebx, dword [ebx + edx*4 - 4]
nop
cmp ebx, 0x10000
jb 0x54228d
shr ebx, 0x10
mov esi, 0x10
cmp ebx, 0x100
jb 0x541dcc
shr ebx, 8
add esi, 8
cmp ebx, 0x100
jae 0x54229b
shl ebp, 5
lea edi, [0x6e2360]
movzx ebx, byte [edi + ebx]
add ebx, esi
add ebx, ebp
test edx, edx
jne 0x542272
xor ecx, ecx
test ecx, ecx
jg 0x541e25
mov eax, dword [0x7011b8]
mov ecx, dword [0x7011bc]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x5c
ret
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x542257
xor ecx, ecx
test ecx, ecx
jle 0x541df7
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x54223c
xor ecx, ecx
test ecx, ecx
jle 0x541df7
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x542221
xor ecx, ecx
test ecx, ecx
jle 0x541df7
test ebx, 7
jne 0x541df7
sar ebx, 3
mov dword [esp + 0x24], ebx
mov ecx, 0xa
xor edx, edx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x541fe3
mov eax, dword [esp + 0x40]
nop
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.0048b550
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x5421f2
mov dword [esp + 0x3c], edx
mov dword [esp + 0x2c], eax
nop
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.004e6200
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x50], eax
mov byte [esp + 0x4c], 0
mov eax, dword [esp + 0x54]
test eax, eax
setne al
movzx eax, al
test eax, eax
jg 0x5421cd
xor eax, eax
test al, al
je 0x541e81
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x4c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00541c80
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
lea ecx, [0x5b1040]
mov dword [esp], ecx
call fcn.0040b910
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.004da4b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 4]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004da000
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5421b2
xor ecx, ecx
test ecx, ecx
jne 0x542037
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x28]
dec edx
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
mov ebx, ecx
mov ecx, edx
mov edx, ebx
mov ebx, dword [esp + 0x24]
test ecx, ecx
jle 0x542214
mov dword [esp + 0x28], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], ebp
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea eax, [0x5a5da0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.004451f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
jmp 0x541e85
nop
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x14], edx
call fcn.004e6200
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x50], eax
mov byte [esp + 0x4c], 0
lea eax, [0x5b1040]
mov dword [esp], eax
call fcn.0040b910
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x10]
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
call fcn.004d9c80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], eax
mov dword [esp], eax
mov dword [esp + 4], eax
lea ecx, [esp + 0x4c]
mov dword [esp + 8], ecx
call fcn.004d9800
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x34]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004da000
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
call fcn.004d9c80
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x34]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004da000
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x54219a
xor ecx, ecx
test ecx, ecx
jne 0x54213e
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
jmp 0x541fc0
mov ecx, dword [esp + 0x28]
test ecx, ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x30]
jne 0x542180
mov eax, dword [0x7011b8]
mov ecx, dword [0x7011bc]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x5c
ret
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
add esp, 0x5c
ret
movzx ecx, byte [eax]
test cl, cl
je 0x5421a8
mov ecx, 0xffffffff
jmp 0x54212d
mov ecx, 1
jmp 0x54212d
movzx ecx, byte [eax]
test cl, cl
je 0x5421c3
mov ecx, 0xffffffff
jmp 0x541fb8
mov ecx, 1
jmp 0x541fb8
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x4c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004da210
mov eax, dword [esp + 8]
test eax, eax
setl al
jmp 0x541f2e
mov eax, dword [esp + 0x44]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
add esp, 0x5c
ret
mov ecx, esi
mov eax, edx
mov ebx, ebp
mov edx, edi
jmp 0x542150
movzx ecx, byte [ecx]
test cl, cl
je 0x542232
mov ecx, 0xffffffff
jmp 0x541e5c
mov ecx, 1
jmp 0x541e5c
movzx ecx, byte [ecx]
test cl, cl
je 0x54224d
mov ecx, 0xffffffff
jmp 0x541e48
mov ecx, 1
jmp 0x541e48
movzx ecx, byte [ecx]
test cl, cl
je 0x542268
mov ecx, 0xffffffff
jmp 0x541e34
mov ecx, 1
jmp 0x541e34
movzx ecx, byte [ecx]
test cl, cl
je 0x542283
mov ecx, 0xffffffff
jmp 0x541df3
mov ecx, 1
jmp 0x541df3
xor esi, esi
jmp 0x541dbe
xor ebx, ebx
jmp 0x541de9
mov eax, ebx
mov ecx, 0x100
call fcn.0045e2b0
nop
call fcn.0045ccc0
jmp fcn.00541d60