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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x543118
sub esp, 0x8c
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x542fce
mov eax, dword [esp + 0x9c]
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
test edx, edx
jne 0x542fb9
mov dword [esp + 0x5c], ebp
mov edx, dword [esp + 0x90]
mov ebx, dword [edx]
lea esi, [eax + ecx]
mov dword [esp + 0x2c], esi
nop
mov edi, dword [ebx + 8]
mov ebx, dword [ebx + 4]
lea ebp, [edi - 1]
test ebp, ebp
jl 0x542fb2
mov ebx, dword [ebx + edi*4 - 4]
nop
cmp ebx, 0x10000
jb 0x542fab
shr ebx, 0x10
mov edi, 0x10
cmp ebx, 0x100
jb 0x542bf3
shr ebx, 8
add edi, 8
cmp ebx, 0x100
jae 0x5430ee
shl ebp, 5
lea esi, [0x6e2360]
movzx ebx, byte [ebx + esi]
add ebx, edi
add ebx, ebp
lea ebp, [eax + ecx + 0xb]
lea esi, [ebx + 7]
sar esi, 0x1f
shr esi, 0x1d
lea ebx, [esi + ebx + 7]
sar ebx, 3
cmp ebx, ebp
jl 0x542f8a
mov ebp, dword [esp + 0xa8]
cmp ebx, ebp
jne 0x542f69
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], ecx
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0xac]
mov dword [esp + 0x14], eax
call fcn.004e6200
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov byte [esp + 0x7c], 0
mov byte [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp + 8], eax
call fcn.005442d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], eax
lea ecx, [0x5a5da0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004451f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
call fcn.004da420
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test ecx, ecx
jbe 0x5430e7
movzx ebx, byte [eax]
cmp ecx, 1
jbe 0x5430dd
movzx ebp, byte [eax + 1]
dec ebx
shr ebx, 0x1f
xor ebp, 1
xchg ebp, eax
movzx eax, al
xchg ebp, eax
dec ebp
shr ebp, 0x1f
and ebx, ebp
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x3c]
mov edi, ebp
sub ebp, esi
cmp edi, edx
ja 0x5430d6
cmp edi, ebp
jb 0x5430cd
mov dword [esp + 0x40], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x48], edx
mov esi, edi
sub edi, ebp
sub edx, ebp
neg edx
sar edx, 0x1f
and edx, ebp
add edx, eax
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x9c]
cmp edx, edi
je 0x542eec
xor edx, edx
and edx, ebx
mov ebx, dword [esp + 0x2c]
sub esi, ebx
cmp ebp, esi
jb 0x5430bb
sub ebp, esi
mov ebx, dword [esp + 0x48]
sub ebx, esi
neg ebx
sar ebx, 0x1f
and ebx, esi
add ebx, eax
mov edi, dword [esp + 0x28]
cmp ebp, edi
je 0x542e7e
xor ebx, ebx
and ebx, edx
lea edx, [esi - 1]
cmp ecx, edx
jbe 0x5430ab
movzx ebp, byte [esi + eax - 1]
dec ebp
shr ebp, 0x1f
and ebp, ebx
mov ebx, 2
jmp 0x542e2e
lea esi, [ebx + 1]
movzx edi, byte [ebx + eax]
xor edi, 0xffffffff
xchg edi, eax
movzx eax, al
xchg edi, eax
dec edi
shr edi, 0x1f
and ebp, edi
mov ebx, esi
cmp edx, ebx
jle 0x542e3b
cmp ecx, ebx
ja 0x542e17
jmp 0x5430a4
cmp ebp, 1
je 0x542e61
mov eax, dword [0x7011e8]
mov ecx, dword [0x7011ec]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x8c
ret
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x8c
ret
mov dword [esp + 0x48], esi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x34], eax
xor eax, eax
mov byte [esp + 0x26], al
mov eax, dword [esp + 0x54]
jmp 0x542ec4
lea eax, [esi + 1]
movzx ecx, byte [esi + ebx]
movzx esi, byte [edi + esi]
xor esi, ecx
movzx ecx, byte [esp + 0x26]
or ecx, esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x34], eax
mov byte [esp + 0x26], cl
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x34]
cmp ebp, esi
jle 0x542ed3
ja 0x542e9c
jmp 0x5430b2
movzx ebp, byte [esp + 0x26]
xchg ebp, eax
movzx eax, al
xchg ebp, eax
lea ebx, [ebp - 1]
shr ebx, 0x1f
mov esi, dword [esp + 0x48]
jmp 0x542df8
mov dword [esp + 0x44], ebp
mov edx, dword [esp + 0x98]
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x38], eax
xor eax, eax
mov byte [esp + 0x27], al
mov eax, dword [esp + 0x4c]
jmp 0x542f41
lea ecx, [ebp + 1]
mov eax, dword [esp + 0x60]
movzx esi, byte [ebp + eax]
movzx ebp, byte [ebp + edx]
xor ebp, esi
movzx esi, byte [esp + 0x27]
or esi, ebp
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x38], ecx
xchg esi, eax
mov byte [esp + 0x27], al
xchg esi, eax
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x38]
cmp edi, ebp
jle 0x542f50
ja 0x542f0d
jmp 0x5430c4
movzx edi, byte [esp + 0x27]
xchg edi, eax
movzx eax, al
xchg edi, eax
lea edx, [edi - 1]
shr edx, 0x1f
mov ebp, dword [esp + 0x44]
jmp 0x542dc9
mov eax, dword [0x7011e8]
mov ecx, dword [0x7011ec]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x8c
ret
mov eax, dword [0x7011e8]
mov ecx, dword [0x7011ec]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x8c
ret
xor edi, edi
jmp 0x542be5
xor ebx, ebx
jmp 0x542c10
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ebx
add esp, 0x8c
ret
nop
cmp eax, 0x14
jae 0x5430ff
mov ecx, dword [0x6fcde4]
mov edx, dword [0x6fcde0]
cmp eax, ecx
jae 0x5430fa
movzx ecx, byte [edx + eax]
mov edx, dword [esp + 0x9c]
cmp edx, ecx
je 0x54302e
nop
lea eax, [0x5abc80]
mov dword [esp], eax
call fcn.0040b910
mov ebx, dword [esp + 4]
mov dword [ebx + 4], 0x28
lea eax, [0x5dae0b]
mov dword [ebx], eax
xor eax, eax
xor ecx, ecx
lea edx, [0x61098c]
xor ebp, ebp
jmp 0x542b9e
mov dword [esp + 0x48], ecx
mov ecx, dword [0x700964]
lea edx, [0x5a6ae0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0040e6a0
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x10]
mov edx, dword [eax]
mov eax, dword [eax + 4]
test cl, cl
je 0x543071
mov ecx, eax
xor ebx, ebx
mov ebp, edx
mov eax, dword [esp + 0x48]
xor edx, edx
jmp 0x542b9e
nop
lea eax, [0x5abc80]
mov dword [esp], eax
call fcn.0040b910
mov ebx, dword [esp + 4]
mov dword [ebx + 4], 0x25
lea eax, [0x5da217]
mov dword [ebx], eax
xor eax, eax
xor ecx, ecx
lea edx, [0x61098c]
xor ebp, ebp
jmp 0x542b9e
mov eax, ebx
call fcn.0045e2a0
mov eax, edx
call fcn.0045e2a0
mov eax, esi
mov ecx, ebp
call fcn.0045e2a0
mov eax, esi
mov ecx, ebp
call fcn.0045e300
mov eax, ebp
mov ecx, edi
call fcn.0045e2a0
mov eax, ebp
mov ecx, edi
call fcn.0045e300
mov ecx, edi
call fcn.0045e2e0
mov eax, 1
call fcn.0045e2a0
xor eax, eax
call fcn.0045e2a0
mov eax, ebx
mov ecx, 0x100
call fcn.0045e2b0
call fcn.0045e2b0
lea eax, [0x5a5ba0]
mov dword [esp], eax
lea eax, [0x60e650]
mov dword [esp + 4], eax
call fcn.00431c00
nop
call fcn.0045ccc0
jmp fcn.00542b60