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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100a85e8
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x7c]
test eax, eax
jle 0x10039009
dec eax
mov dword [edi + 0x7c], eax
test eax, eax
jg 0x10039009
push 0xc
call fcn.100817e6
mov eax, dword [edi + 0x78]
test eax, eax
jle 0x1003901f
dec eax
mov dword [edi + 0x78], eax
test eax, eax
jg 0x1003901f
push 0xb
call fcn.100817e6
mov ebx, dword [ebp + 8]
mov byte [esp + 0x10], 0
test ebx, ebx
je 0x10039255
mov esi, 1
mov ecx, dword [ebx + 4]
lea eax, [ecx - 1]
cmp eax, 0x14
ja case.default.0x10039043
jmp dword [eax*4 + 0x10039460]
mov ecx, dword [edi + 0x60]
mov eax, ecx
and eax, 0x101
cmp eax, 1
je 0x10039098
test ecx, 0x100
jne 0x1003906c
mov eax, dword [edi]
cmp eax, dword [edi + 0x4c]
je case.0x10039043.1
mov eax, dword [edi]
cmp byte [eax - 1], 0xa
setne al
mov dword [esp + 0x10], eax
jmp 0x1003923f
test byte [edi + 0x60], 2
jne 0x10039098
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je case.0x10039043.1
cmp byte [eax], 0xa
je case.0x10039043.1
mov bl, 1
jmp 0x10039259
mov ecx, dword [edi + 0x60]
test cl, 4
je 0x100390ae
mov eax, dword [edi]
cmp eax, dword [edi + 0x4c]
je 0x100390ba
test cl, 8
je 0x100390be
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
jne 0x100390be
xor cl, cl
jmp 0x10039119
mov eax, dword [edi]
cmp eax, dword [edi + 0x4c]
jne 0x100390d4
test ecx, 0x100
jne 0x100390d4
mov byte [esp + 0xf], 0
jmp 0x100390ef
mov al, byte [eax - 1]
movsx eax, al
push eax
push str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_
call fcn.10087220
add esp, 8
test eax, eax
setne byte [esp + 0xf]
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
jne 0x100390fa
xor al, al
jmp 0x10039112
mov al, byte [eax]
movsx eax, al
push eax
push str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_
call fcn.10087220
add esp, 8
test eax, eax
setne al
cmp byte [esp + 0xf], al
setne cl
mov al, byte [ebx + 8]
and al, 1
cmp cl, al
je 0x10039098
jmp case.0x10039043.1
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x10039098
mov cl, byte [eax]
cmp cl, 0xa
je 0x10039098
cmp cl, 0xd
je 0x10039098
inc eax
mov dword [edi], eax
jmp case.0x10039043.1
mov eax, dword [edi + 0x60]
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
and eax, 0x80
setne al
movzx eax, al
push eax
push dword [edi + 0x5c]
lea eax, [ecx + edx]
push dword [edi + 0x70]
mov ecx, dword [edi]
push eax
push edx
mov edx, dword [edi + 0x50]
call fcn.1003a2a0
add esp, 0x14
cmp eax, dword [edi]
je 0x10039098
mov dword [edi], eax
jmp case.0x10039043.1
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x10039098
push ebx
mov ecx, edi
call fcn.10039fd0
test al, al
je 0x10039098
mov byte [esp + 0x10], 0
jmp 0x10039243
mov eax, dword [edi]
cmp ecx, 0xb
lea esi, [edi + 4]
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], eax
sete bl
mov dword [esp + 0x30], eax
call fcn.100222a0
mov eax, dword [esi + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x4c], 0
push dword [eax + 0x14]
mov ecx, edi
call fcn.10038fd0
cmp al, bl
jne 0x10039214
mov eax, dword [esp + 0x2c]
mov dword [edi], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], eax
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.100222f0
mov byte [esp + 0x10], 1
jmp 0x1003921a
mov eax, dword [esp + 0x18]
mov dword [edi], eax
mov dword [esp + 0x4c], 0xffffffff
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10039233
push eax
call fcn.100852d7
add esp, 4
mov ebx, dword [ebp + 8]
mov esi, 1
mov eax, dword [esp + 0x10]
test al, al
jne 0x10039255
test ebx, ebx
je 0x10039255
mov ebx, dword [ebx + 0xc]
mov dword [ebp + 8], ebx
test ebx, ebx
jne 0x10039034
mov ebx, dword [esp + 0x10]
mov eax, dword [edi + 0x7c]
test eax, eax
jle 0x10039264
inc eax
mov dword [edi + 0x7c], eax
mov ecx, dword [esp + 0x44]
pop edi
xor eax, eax
test bl, bl
pop esi
sete al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebx + 0x14]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi]
mov dword [ecx + edx*8], eax
mov eax, dword [edi + 0x10]
cmp dword [ebx + 0x14], eax
jae case.0x10039043.1
dec eax
mov esi, dword [edi + 4]
jns 0x100392b1
mov ecx, eax
neg ecx
je 0x100392b1
or ecx, 0xffffffff
sub ecx, eax
shr ecx, 5
lea ecx, [ecx*4 + 4]
sub esi, ecx
jmp 0x100392b9
mov ecx, eax
shr ecx, 5
lea esi, [esi + ecx*4]
mov ecx, eax
and ecx, 0x1f
mov edx, 1
shl edx, cl
not edx
and dword [esi], edx
cmp dword [ebx + 0x14], eax
jb 0x10039292
jmp 0x10039236
cmp byte [edi + 0x65], 0
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x18], eax
jne 0x100392ea
cmp dword [eax + 0x14], 0
je case.0x10039043.1
push dword [eax + 0x14]
lea eax, [esp + 0x20]
lea ecx, [edi + 4]
push eax
call fcn.100381c0
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov edx, 1
shl edx, cl
or dword [esi], edx
mov edx, dword [esp + 0x18]
mov ecx, dword [edi + 0x14]
mov edx, dword [edx + 0x14]
mov eax, dword [edi]
mov dword [ecx + edx*8 + 4], eax
jmp 0x10039236
mov esi, dword [ebx + 0x14]
push esi
lea eax, [esp + 0x28]
lea ecx, [edi + 4]
push eax
call fcn.100381c0
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov edx, 1
shl edx, cl
test dword [eax], edx
je 0x10039236
mov eax, dword [edi + 0x14]
mov ecx, dword [edi]
mov edx, dword [eax + esi*8]
mov esi, dword [eax + esi*8 + 4]
cmp edx, esi
je 0x1003937e
mov eax, dword [edi + 0x60]
and eax, 0x80
setne al
movzx eax, al
push eax
push dword [edi + 0x5c]
push dword [edi + 0x70]
push esi
push edx
mov edx, dword [edi + 0x50]
call fcn.1003a2a0
mov ecx, eax
add esp, 0x14
cmp ecx, dword [edi]
je 0x10039098
mov dword [edi], ecx
jmp 0x10039236
push ebx
mov ecx, edi
call fcn.10039bf0
mov ebx, dword [esp + 0x10]
movzx ebx, bl
test al, al
cmove ebx, esi
mov dword [esp + 0x10], ebx
xor ebx, ebx
jmp case.0x10039043.1
mov eax, dword [ebx + 8]
shr eax, 1
and al, 1
movzx eax, al
push 0
push eax
push ebx
mov ecx, edi
call fcn.10039d90
mov edx, dword [esp + 0x10]
movzx ecx, dl
test al, al
cmove ecx, esi
mov byte [esp + 0x10], cl
xor ebx, ebx
jmp case.0x10039043.1
mov edx, dword [ebx + 0x14]
mov eax, dword [edi + 0x40]
cmp dword [edx + 0x24], 0
mov ecx, dword [edx + 0x20]
jne 0x100393c9
push dword [eax + ecx*8]
mov eax, dword [edx + 8]
shr eax, 1
and al, 1
movzx eax, al
push eax
push edx
jmp 0x100393b2
test dword [edi + 0x60], 0x2020
je 0x10039400
mov eax, dword [edi + 0x4c]
inc edi
dec esp
cmp eax, dword [edi]
je 0x1003940d
cmp byte [edi + 0x74], 0
je 0x10039419
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x10039419
mov byte [esp + 0x10], 1
xor ebx, ebx
jmp case.0x10039043.1
cmp byte [edi + 0x64], 0
je 0x1003942a
mov ecx, edi
call fcn.1003a1a0
add byte [eax], al
test al, al
je 0x100393c9
mov eax, dword [edi]
lea edx, [edi + 4]
mov dword [edi + 0x20], eax
mov eax, dword [edx + 0xc]
lea ecx, [edi + 0x24]
push edx
mov dword [ecx + 0xc], eax
call fcn.100222f0
lea eax, [edi + 0x14]
push eax
lea ecx, [edi + 0x34]
call fcn.10038220
mov byte [edi + 0x64], 1
xor ebx, ebx
jmp case.0x10039043.1
push 0xd
call fcn.100817e6
nop
cmp edx, dword [edx - 0x6fb5effd]
add edx, dword [eax]
jle 0x100393fa
add edx, dword [eax]
lahf
nop
add edx, dword [eax]
sub edx, dword [ecx - 0x6eadeffd]
add edx, dword [eax]
mov ss, word [ecx - 0x6dc4effd]
add edx, dword [eax]
cmp edx, dword [edx - 0x6e4ceffd]
add edx, dword [eax]
mov bl, 0x91
add edx, dword [eax]
popfd
xchg ebx, eax
add edx, dword [eax]
jg 0x10039424
add edx, dword [eax]
rcl dword [edx - 0x6ce2effd], cl
add edx, dword [eax]
test dword [ebx - 0x6dc4effd], edx
add edx, dword [eax]
movsb byte es:[edi], byte [esi]
xchg ebx, eax
add edx, dword [eax]
rcl byte [ebx - 0x6dc4effd]
add edx, dword [eax]
invalid