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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x100
mov edi, dword [edx + 0x1c]
mov dword [esp + 0x74], ecx
test edi, edi
je 0x537082
mov ebx, dword [edx + 0x14]
mov dword [esp + 0xc], edx
mov edx, 0xffffffff
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x78], 0
mov ecx, ebx
mov eax, ebx
mov esi, ebx
mov ebx, 0xffffffff
neg cl
shr eax, 0x10
shl cl, 3
shr ebx, cl
test cl, 0x20
mov ecx, edi
mov edi, ebx
cmove ebx, edx
mov edx, esi
mov esi, 0
cmovne edi, esi
cmp ax, 5
mov esi, dword [esp + 0xc]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x38], edx
sbb ebx, 0
mov dword [esp + 0x70], edi
sbb edi, 0
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], edi
mov edi, ecx
call 0x535d09
pop ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi]
mov ah, byte [esi + 0x20]
mov ebx, dword [esi + 0x18]
mov dword [esp + 0x94], ecx
mov ecx, dword [esi + 4]
mov byte [esp + 0x33], ah
mov dword [esp + 0x48], ecx
movzx ecx, dl
mov dword [esp + 0x64], ecx
mov ecx, edx
test ah, ah
mov dword [esp + 0x10], ebx
je 0x535e30
mov esi, dword [esp + 0xc]
lea ecx, [ebx + 1]
lea edx, [edi - 1]
mov dword [esp + 8], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
xor esi, esi
movzx ecx, byte [ebx]
cmp ecx, 7
ja 0x537217
mov eax, dword [ecx*4 + 0x5375b0]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x14], edx
mov dword [esp + 4], edx
mov dword [esp + 0x18], edx
mov edx, ecx
mov dword [esp + 0x44], 8
mov dword [esp + 0x40], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x3c], edx
mov edx, ecx
add eax, dword [esp + 0x5c]
jmp eax
mov edx, ecx
mov al, 0x17
movzx ecx, dl
dec ecx
cmp ecx, 7
ja 0x536293
mov esi, dword [ecx*4 + 0x537630]
mov edx, dword [esp + 0x64]
mov dword [esp + 4], ecx
xor ecx, ecx
add esi, dword [esp + 0x5c]
jmp esi
mov edx, dword [esp + 0x64]
mov dword [esp + 4], ecx
xor ecx, ecx
mov esi, dword [esp + 0x20]
shld ecx, edx, 8
shl edx, 8
movzx eax, al
mov dword [esp + 0x34], edi
or eax, edx
xor edx, edx
mov dword [esp + 8], eax
xor eax, eax
jmp 0x5369b0
test al, al
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], esi
je 0x537098
mov dword [esp + 0x10], ebx
movzx ebx, byte [esp + 4]
mov edi, dword [esp + 8]
mov dword [esp + 0x48], eax
mov eax, esi
mov esi, ecx
shl eax, 8
or esi, edx
or ebx, eax
mov eax, edi
or eax, ebx
or esi, eax
jne 0x536a2a
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x44], 8
mov dword [esp + 4], 0
xor esi, esi
xor edx, edx
mov dword [esp + 0x40], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
mov dword [esp + 0x18], eax
jmp 0x536a82
mov eax, edi
mov esi, ecx
mov dword [esp + 0x6c], edx
mov edx, ecx
xor ecx, ecx
xor eax, dword [esp + 0x68]
xor esi, dword [esp + 0x70]
or esi, eax
mov esi, dword [esp + 0x20]
cmovne ebx, edi
sete cl
cmove edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x48]
mov eax, ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x18], ebx
shr eax, 0x10
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
mov al, bh
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x44]
cmp ebx, 8
je 0x537070
shl esi, 8
movzx ecx, byte [esp + 0x18]
mov ebx, dword [ebx*4 + 0x537650]
mov eax, esi
movzx esi, byte [esp + 4]
add ebx, dword [esp + 0x5c]
or esi, eax
movzx eax, byte [esp + 0x3c]
shl eax, 8
or ecx, eax
mov eax, dword [esp + 0x40]
shl eax, 0x10
or ecx, eax
jmp ebx
mov eax, dword [esp + 0xc]
mov dword [eax + 0x18], 0x6c4590
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x74]
mov dword [eax + 4], 0
mov dword [eax], 0
jmp 0x5374cd
mov ebx, dword [esp + 8]
mov edi, ecx
mov esi, edx
mov eax, ebx
mov ecx, ebx
mov bl, bh
shr eax, 0x10
jmp 0x537480
mov cl, 0x30
mov dword [esp + 4], eax
mov dword [esp + 0x20], 0
mov ebx, dword [esp + 0x38]
xor esi, esi
jmp 0x537480
movzx edx, bl
shl eax, 0x10
mov ebx, dword [esp + 0x74]
shl edx, 8
or edx, eax
movzx eax, cl
mov ecx, dword [esp + 0x20]
or eax, edx
movzx edx, byte [esp + 4]
mov dword [ebx + 0xc], edi
mov dword [ebx + 8], eax
mov dword [ebx + 0x14], esi
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 0xc]
mov dword [ebx + 0x10], edx
mov dword [ebx + 4], 0
mov dword [ebx], 2
mov dword [ecx + 0x18], 0x6c4590
mov dword [ecx + 0x1c], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret