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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100d2da0
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x7c]
test eax, eax
jle 0x10039eb9
dec eax
mov dword [esi + 0x7c], eax
test eax, eax
jg 0x10039eb9
push 0xc
call fcn.100a5b23
mov eax, dword [esi + 0x78]
test eax, eax
jle 0x10039ecf
dec eax
mov dword [esi + 0x78], eax
test eax, eax
jg 0x10039ecf
push 0xb
call fcn.100a5b23
mov ebx, dword [ebp + 8]
mov byte [esp + 0x10], 0
test ebx, ebx
je 0x1003a107
mov edi, 1
mov ecx, dword [ebx + 4]
lea eax, [ecx - 1]
cmp eax, 0x14
ja case.default.0x10039ef3
jmp dword [eax*4 + 0x1003a2e4]
mov ecx, dword [esi + 0x60]
mov eax, ecx
and eax, 0x101
cmp eax, 1
je 0x10039f48
test ecx, 0x100
jne 0x10039f1c
mov eax, dword [esi]
cmp eax, dword [esi + 0x4c]
je case.0x10039ef3.1
mov eax, dword [esi]
cmp byte [eax - 1], 0xa
setne al
mov dword [esp + 0x10], eax
jmp 0x1003a0f1
test byte [esi + 0x60], 2
jne 0x10039f48
mov eax, dword [esi]
cmp eax, dword [esi + 0x50]
je case.0x10039ef3.1
cmp byte [eax], 0xa
je case.0x10039ef3.1
mov bl, 1
jmp 0x1003a10b
mov ecx, dword [esi + 0x60]
test cl, 4
je 0x10039f5e
mov eax, dword [esi]
cmp eax, dword [esi + 0x4c]
je 0x10039f6a
test cl, 8
je 0x10039f6e
mov eax, dword [esi]
cmp eax, dword [esi + 0x50]
jne 0x10039f6e
xor cl, cl
jmp 0x10039fc9
mov eax, dword [esi]
cmp eax, dword [esi + 0x4c]
jne 0x10039f84
test ecx, 0x100
jne 0x10039f84
mov byte [esp + 0xf], 0
jmp 0x10039f9f
mov al, byte [eax - 1]
movsx eax, al
push eax
push str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_
call fcn.100aa9c0
add esp, 8
test eax, eax
setne byte [esp + 0xf]
mov eax, dword [esi]
cmp eax, dword [esi + 0x50]
jne 0x10039faa
xor al, al
jmp 0x10039fc2
mov al, byte [eax]
movsx eax, al
push eax
push str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_
call fcn.100aa9c0
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 0x10039f48
jmp case.0x10039ef3.1
mov eax, dword [esi]
cmp eax, dword [esi + 0x50]
je 0x10039f48
mov cl, byte [eax]
cmp cl, 0xa
je 0x10039f48
cmp cl, 0xd
je 0x10039f48
inc eax
mov dword [esi], eax
jmp case.0x10039ef3.1
mov eax, dword [esi + 0x60]
mov edx, dword [ebx + 0x1c]
and eax, 0x80
mov ecx, dword [ebx + 0x18]
setne al
movzx eax, al
push eax
push dword [esi + 0x5c]
lea eax, [ecx + edx]
mov ecx, dword [esi]
push dword [esi + 0x70]
push eax
push edx
mov edx, dword [esi + 0x50]
call fcn.1003a340
add esp, 0x14
cmp eax, dword [esi]
je 0x10039f48
mov dword [esi], eax
jmp case.0x10039ef3.1
mov eax, dword [esi]
cmp eax, dword [esi + 0x50]
je 0x10039f48
push ebx
mov ecx, esi
call fcn.1003b7c0
test al, al
je 0x10039f48
mov byte [esp + 0x10], 0
jmp 0x1003a0f5
mov eax, dword [esi]
lea edi, [esi + 4]
mov dword [esp + 0x14], eax
cmp ecx, 0xb
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
push edi
mov ecx, eax
mov dword [esp + 0x1c], eax
sete bl
call fcn.1001d920
mov dword [esp + 0x3c], 0
mov eax, dword [edi + 0xc]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], 3
mov ecx, esi
mov eax, dword [ebp + 8]
push dword [eax + 0x14]
call fcn.10039e80
cmp al, bl
jne 0x1003a0ce
mov eax, dword [esp + 0x1c]
mov ecx, edi
mov dword [esi], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 0xc], eax
lea eax, [esp + 0x20]
push eax
call fcn.10019a40
mov byte [esp + 0x10], 1
jmp 0x1003a0d4
mov eax, dword [esp + 0x14]
mov dword [esi], eax
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.100168a0
mov ebx, dword [ebp + 8]
mov edi, 1
mov eax, dword [esp + 0x10]
test al, al
jne 0x1003a107
test ebx, ebx
je 0x1003a107
mov ebx, dword [ebx + 0xc]
mov dword [ebp + 8], ebx
test ebx, ebx
jne 0x10039ee4
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 0x7c]
test eax, eax
jle 0x1003a116
inc eax
mov dword [esi + 0x7c], eax
mov ecx, dword [esp + 0x34]
xor eax, eax
pop edi
test bl, bl
mov dword fs:[0], ecx
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebx + 0x14]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi]
mov dword [ecx + edx*8], eax
mov edi, dword [esi + 0x10]
cmp dword [ebx + 0x14], edi
jae 0x1003a0e8
mov ecx, dword [esi + 4]
dec edi
mov eax, edi
shr eax, 5
lea edx, [ecx + eax*4]
mov ecx, edi
and ecx, 0x1f
mov eax, 1
shl eax, cl
not eax
and dword [edx], eax
cmp dword [ebx + 0x14], edi
jb 0x1003a144
jmp 0x1003a0e8
cmp byte [esi + 0x65], 0
mov edi, dword [ebx + 0x14]
jne 0x1003a17a
cmp dword [edi + 0x14], 0
je 0x1003a0e8
mov ecx, dword [edi + 0x14]
mov eax, ecx
mov edx, dword [esi + 4]
and ecx, 0x1f
shr eax, 5
lea edx, [edx + eax*4]
mov eax, 1
shl eax, cl
or dword [edx], eax
mov edx, dword [edi + 0x14]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi]
mov dword [ecx + edx*8 + 4], eax
jmp 0x1003a0e8
mov edi, dword [ebx + 0x14]
mov eax, edi
mov ecx, dword [esi + 4]
shr eax, 5
lea edx, [ecx + eax*4]
mov ecx, edi
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [edx], eax
je 0x1003a0e8
mov eax, dword [esi + 0x14]
mov ecx, dword [esi]
mov edx, dword [eax + edi*8]
mov edi, dword [eax + edi*8 + 4]
cmp edx, edi
je 0x1003a203
mov eax, dword [esi + 0x60]
and eax, 0x80
setne al
movzx eax, al
push eax
push dword [esi + 0x5c]
push dword [esi + 0x70]
push edi
push edx
mov edx, dword [esi + 0x50]
call fcn.1003a340
mov ecx, eax
add esp, 0x14
cmp ecx, dword [esi]
je 0x10039f48
mov dword [esi], ecx
jmp 0x1003a0e8
push ebx
mov ecx, esi
call fcn.1003b400
mov ebx, dword [esp + 0x10]
test al, al
movzx ebx, bl
cmove ebx, edi
mov dword [esp + 0x10], ebx
xor ebx, ebx
jmp case.0x10039ef3.1
mov eax, dword [ebx + 8]
shr eax, 1
and al, 1
push 0
movzx eax, al
push eax
push ebx
mov ecx, esi
call fcn.1003b590
mov edx, dword [esp + 0x10]
test al, al
movzx ecx, dl
cmove ecx, edi
mov byte [esp + 0x10], cl
xor ebx, ebx
jmp case.0x10039ef3.1
mov edx, dword [ebx + 0x14]
mov eax, dword [esi + 0x40]
cmp dword [edx + 0x24], 0
mov ecx, dword [edx + 0x20]
jne 0x1003a24e
push dword [eax + ecx*8]
mov eax, dword [edx + 8]
shr eax, 1
and al, 1
movzx eax, al
push eax
push edx
jmp 0x1003a237
test dword [esi + 0x60], 0x2020
je 0x1003a285
mov eax, dword [esi + 0x4c]
cmp eax, dword [esi]
je 0x1003a292
cmp byte [esi + 0x74], 0
je 0x1003a29e
mov eax, dword [esi]
cmp eax, dword [esi + 0x50]
je 0x1003a29e
mov byte [esp + 0x10], 1
xor ebx, ebx
jmp case.0x10039ef3.1
cmp byte [esi + 0x64], 0
je 0x1003a2af
mov ecx, esi
call fcn.1001eda0
test al, al
je 0x1003a24e
mov eax, dword [esi]
lea edx, [esi + 4]
mov dword [esi + 0x20], eax
lea ecx, [esi + 0x24]
mov eax, dword [edx + 0xc]
push edx
mov dword [ecx + 0xc], eax
call fcn.10019a40
lea eax, [esi + 0x14]
push eax
lea ecx, [esi + 0x34]
call fcn.100190f0
mov byte [esi + 0x64], 1
xor ebx, ebx
jmp case.0x10039ef3.1
push 0xd
call fcn.100a5b23
in eax, dx
mov al, byte [2667188227]
add edx, dword [eax]
lahf
add edx, dword [eax]
dec edi
lahf
add edx, dword [eax]
fistp dword [edi - 0x5ffdeffd]
add edx, dword [eax]
mov al, byte ds:[0xa0ed1003]
add edx, dword [eax]
in eax, dx
mov al, byte [2690846723]
add edx, dword [eax]
arpl word [eax - 0x5dddeffd], sp
add edx, dword [eax]
xor dword [ecx - 0x5e98effd], esp
add edx, dword [eax]
movsd dword es:[edi], dword [esi]
mov eax, dword [-1576398845]
add edx, dword [eax]
in eax, dx
mov al, byte [2720600067]
add edx, dword [eax]
push ebp
mov byte [2699890691], al
add edx, dword [eax]
jne 0x1003a2d8
add edx, dword [eax]
int3