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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40070f04
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x7c]
test eax, eax
jle 0x40010e5f
dec eax
mov dword [edi + 0x7c], eax
test eax, eax
jg 0x40010e5f
push 0xc
call fcn.400523db
mov eax, dword [edi + 0x78]
test eax, eax
jle 0x40010e72
dec eax
mov dword [edi + 0x78], eax
test eax, eax
jg 0x40010e72
push 0xb
jmp 0x40010e5a
mov ebx, dword [ebp + 8]
mov byte [esp + 0x10], 0
test ebx, ebx
je 0x40011059
push 0xa
pop esi
mov dword [esp + 0x14], 0xd
mov ecx, dword [ebx + 4]
xor edx, edx
inc edx
lea eax, [ecx - 1]
cmp eax, 0x14
ja case.default.0x40010e9f
jmp dword [eax*4 + 0x40011262]
mov eax, dword [edi + 0x60]
and eax, 0x101
cmp eax, edx
je 0x40011248
test dword [edi + 0x60], 0x100
jne 0x40010eca
mov eax, dword [edi]
cmp eax, dword [edi + 0x4c]
je case.0x40010e9f.1
mov eax, dword [edi]
cmp word [eax - 2], si
setne al
mov dword [esp + 0x10], eax
jmp 0x40011043
test byte [edi + 0x60], 2
jne 0x40010ef6
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je case.0x40010e9f.1
cmp word [eax], si
je case.0x40010e9f.1
mov al, dl
jmp 0x40010ed3
test byte [edi + 0x60], 4
je 0x40010f07
mov eax, dword [edi]
cmp eax, dword [edi + 0x4c]
je 0x40010f14
test byte [edi + 0x60], 8
je 0x40010f18
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
jne 0x40010f18
xor cl, cl
jmp 0x40010f3b
push 0xffffffffffffffff
push dword [edi]
mov ecx, edi
call fcn.40011b72
push 0
push dword [edi]
mov ecx, edi
mov bl, al
call fcn.40011b72
cmp bl, al
mov ebx, dword [ebp + 8]
setne cl
xor edx, edx
inc edx
mov al, byte [ebx + 8]
and al, dl
cmp cl, al
jne case.0x40010e9f.1
jmp 0x40010ef6
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x40010ef6
movzx ecx, word [eax]
cmp cx, si
je 0x40010ef6
cmp cx, word [esp + 0x14]
je 0x40010ef6
add eax, 2
mov dword [edi], eax
jmp case.0x40010e9f.1
mov eax, dword [edi + 0x60]
mov ecx, dword [ebx + 0x18]
and eax, 0x80
mov edx, dword [ebx + 0x1c]
setne al
movzx eax, al
push eax
push dword [edi + 0x5c]
lea eax, [edx + ecx*2]
push dword [edi + 0x70]
lea ecx, [esp + 0x28]
push eax
push dword [edi + 0x50]
push dword [edi]
call fcn.40011d9f
add esp, 0x18
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x40010f63
mov al, 1
jmp 0x40010ed3
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x40011248
push ebx
mov ecx, edi
call fcn.40011bca
test al, al
je 0x40011245
mov byte [esp + 0x10], 0
jmp 0x40011047
mov esi, dword [edi]
lea eax, [edi + 4]
cmp ecx, 0xb
mov dword [esp + 0x24], esi
push eax
lea ecx, [esp + 0x2c]
sete bl
call fcn.400118b1
mov eax, dword [edi + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 8]
mov ecx, edi
and dword [esp + 0x44], 0
push dword [eax + 0x14]
call fcn.40010e26
cmp al, bl
jne 0x40011024
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov dword [edi], eax
mov dword [edi + 0x10], ecx
lea ecx, [esp + 0x28]
push ecx
lea ecx, [edi + 4]
call fcn.4001080a
mov byte [esp + 0x10], 1
jmp 0x40011026
mov dword [edi], esi
or dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x28]
and dword [esp + 0x34], 0
call fcn.40002cf2
mov ebx, dword [ebp + 8]
push 0xa
pop esi
mov eax, dword [esp + 0x10]
test al, al
jne 0x40011059
test ebx, ebx
je 0x40011059
mov ebx, dword [ebx + 0xc]
mov dword [ebp + 8], ebx
test ebx, ebx
jne 0x40010e8d
mov ebx, dword [esp + 0x10]
mov eax, dword [edi + 0x7c]
test eax, eax
jle 0x40011068
inc eax
mov dword [edi + 0x7c], eax
mov ecx, dword [esp + 0x3c]
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
xor ebx, ebx
jmp case.0x40010e9f.1
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.0x40010e9f.1
mov esi, dword [edi + 4]
dec eax
mov edx, eax
mov dword [esp + 0x18], eax
mov ecx, eax
shr edx, 5
xor eax, eax
and ecx, 0x1f
inc eax
shl eax, cl
not eax
and dword [esi + edx*4], eax
mov eax, dword [esp + 0x18]
cmp dword [ebx + 0x14], eax
jb 0x4001109a
jmp 0x4001103c
cmp byte [edi + 0x65], 0
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x18], eax
jne 0x400110db
cmp dword [eax + 0x14], 0
je case.0x40010e9f.1
mov ecx, dword [eax + 0x14]
mov edx, ecx
mov esi, dword [edi + 4]
xor eax, eax
shr edx, 5
and ecx, 0x1f
inc eax
shl eax, cl
or dword [esi + edx*4], eax
mov edx, dword [esp + 0x18]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi]
mov edx, dword [edx + 0x14]
mov dword [ecx + edx*8 + 4], eax
jmp 0x4001103c
mov edx, dword [ebx + 0x14]
xor eax, eax
mov ecx, dword [ebx + 0x14]
inc eax
mov esi, dword [edi + 4]
and ecx, 0x1f
shr edx, 5
shl eax, cl
test dword [esi + edx*4], eax
je 0x4001103c
mov edx, dword [edi + 0x14]
mov esi, dword [ebx + 0x14]
mov eax, dword [edi]
mov ecx, dword [edx + esi*8 + 4]
cmp dword [edx + esi*8], ecx
je 0x40011168
mov eax, dword [edi + 0x60]
and eax, 0x80
setne al
movzx eax, al
push eax
push dword [edi + 0x5c]
push ecx
push dword [edx + esi*8]
mov edx, dword [edi + 0x70]
lea ecx, [esp + 0x30]
push dword [edi + 0x50]
push dword [edi]
call fcn.40011e58
add esp, 0x18
mov eax, dword [eax]
cmp eax, dword [edi]
je 0x4001124f
mov dword [edi], eax
jmp 0x4001103c
push ebx
mov ecx, edi
call fcn.400118fb
mov ebx, dword [esp + 0x10]
test al, al
push 1
movzx ebx, bl
pop eax
cmove ebx, eax
mov dword [esp + 0x10], ebx
jmp case.0x40010e9f.12
mov eax, dword [ebx + 8]
mov ecx, edi
shr eax, 1
and al, dl
push 0
movzx eax, al
push eax
push ebx
call fcn.400119d9
mov edx, dword [esp + 0x10]
test al, al
push 1
movzx ecx, dl
pop eax
cmove ecx, eax
mov byte [esp + 0x10], cl
jmp case.0x40010e9f.12
mov ecx, dword [ebx + 0x14]
mov edx, dword [edi + 0x40]
cmp dword [ecx + 0x24], 0
mov eax, dword [ecx + 0x20]
jne case.0x40010e9f.12
push dword [edx + eax*8]
mov eax, dword [ecx + 8]
xor ebx, ebx
shr eax, 1
inc ebx
and al, bl
movzx eax, al
push eax
push ecx
mov ecx, edi
call fcn.400119d9
mov edx, dword [esp + 0x10]
test al, al
movzx ecx, dl
cmove ecx, ebx
jmp 0x400111b3
test dword [edi + 0x60], 0x2020
je 0x40011206
mov eax, dword [edi + 0x4c]
cmp eax, dword [edi]
je 0x40011213
cmp byte [edi + 0x74], 0
je 0x4001121c
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x4001121c
mov byte [esp + 0x10], dl
jmp case.0x40010e9f.12
cmp byte [edi + 0x64], 0
je 0x40011231
mov ecx, edi
call fcn.40011d25
test al, al
je case.0x40010e9f.12
push edi
lea ecx, [edi + 0x20]
call fcn.400103f0
xor eax, eax
inc eax
mov byte [edi + 0x64], al
jmp case.0x40010e9f.12
xor edx, edx
inc edx
mov bl, dl
jmp 0x4001105d
xor eax, eax
lea ebx, [eax + 1]
jmp 0x4001105d
push 0xd
pop eax
push eax
jmp 0x40010e5a