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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
xor eax, 1
add eax, 2
jne 0x10001083
je 0x10001083
call 0x9304010a
rol byte [ebx + eax*4], 0xf0
add eax, 0x90559090
xor eax, 3
add eax, 4
xor eax, 5
nop
nop
push ebp
nop
mov ebp, esp
add esp, 4
add esp, 0xfffffffc
inc ecx
dec ecx
push ebx
pop ebx
nop
mov esp, ebp
nop
pop ebp
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov word [ebp - 0x18], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x20], ecx
nop
nop
push ebp
nop
nop
mov ebp, esp
test esi, esi
test esi, esi
add esp, 4
sub esp, 4
nop
nop
mov esp, ebp
nop
pop ebp
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x20]
add eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x24]
add edx, dword [ebp + 8]
mov dword [ebp - 0x28], edx
nop
nop
push ebp
nop
nop
mov ebp, esp
add esp, 9
sub esp, 9
inc ecx
dec ecx
inc ecx
dec ecx
test esi, esi
nop
mov esp, ebp
pop ebp
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x10001276
nop
push ebp
nop
mov ebp, esp
add esp, 8
sub esp, 8
push 0xffffc58f
test esi, esi
test esi, esi
nop
nop
mov esp, ebp
nop
pop ebp
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
nop
nop
push ebp
nop
nop
mov ebp, esp
push ebx
pop ebx
nop
mov esp, ebp
nop
nop
pop ebp
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
lea edx, [ecx + eax*4]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
nop
push ebp
mov ebp, esp
add esp, 6
add esp, 0xfffffffa
push edi
pop edi
push edi
pop edi
add esp, 2
sub esp, 2
nop
nop
mov esp, ebp
nop
pop ebp
mov edx, dword [ebp - 0x38]
add edx, dword [ebp + 8]
mov dword [ebp - 0x38], edx
nop
push ebp
nop
mov ebp, esp
add esp, 8
sub esp, 8
inc ecx
dec ecx
add esp, 2
sub esp, 2
mov esp, ebp
pop ebp
mov eax, dword [ebp - 0x38]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], 0
jmp 0x100011fa
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x34]
jae 0x1000125f
nop
push ebp
mov ebp, esp
test esi, esi
add esp, 7
sub esp, 7
add esp, 9
sub esp, 9
mov esp, ebp
nop
nop
pop ebp
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + eax*4]
add edx, dword [ebp + 8]
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov cl, byte [edx + eax]
mov edx, dword [ebp - 0x1c]
sub edx, ecx
mov dword [ebp - 0x1c], edx
nop
push ebp
nop
mov ebp, esp
inc ecx
dec ecx
add esp, 0xa
add esp, 0xfffffff6
add esp, 8
sub esp, 8
test esi, esi
nop
nop
mov esp, ebp
pop ebp
pushal
mov eax, dword [ebp - 0x1c]
ror eax, 3
ror eax, 4
mov dword [ebp - 0x1c], eax
popal
jmp 0x100011f1
cmp dword [ebp - 0x1c], 0
jne 0x10001267
jmp 0x10001276
push ebp
nop
mov ebp, esp
push esi
pop esi
mov esp, ebp
nop
pop ebp
jmp 0x1000114a
push ebp
nop
mov ebp, esp
inc ecx
dec ecx
inc ecx
dec ecx
test esi, esi
nop
mov esp, ebp
nop
nop
pop ebp
cmp dword [ebp - 0x14], 0
ja 0x10001290
xor eax, eax
jmp 0x100012fd
nop
nop
push ebp
nop
mov ebp, esp
add esp, 0xa
add esp, 0xfffffff6
test esi, esi
nop
mov esp, ebp
nop
pop ebp
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov dx, word [ecx + eax*2]
mov word [ebp - 0x18], dx
nop
push ebp
nop
mov ebp, esp
test esi, esi
add esp, 0xa
sub esp, 0xa
add esp, 6
add esp, 0xfffffffa
nop
nop
mov esp, ebp
nop
pop ebp
mov eax, dword [ebp - 0x18]
and eax, 0xffff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4]
add edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
push ebp
nop
nop
mov ebp, esp
add esp, 6
add esp, 0xfffffffa
add esp, 3
sub esp, 3
add esp, 0xa
sub esp, 0xa
mov esp, ebp
nop
nop
pop ebp
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret