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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, edx
xor esi, esi
mov edx, eax
mov dword [esp + 0xc], edi
and edx, 1
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
mov ebx, ecx
cmp edi, 1
je 0x10011062
cmp byte [ebx + 0x74], 0
je 0x10011062
cmp byte [ebx + 0x10], 1
je 0x1001105b
test al, 2
je 0x10011062
mov ecx, 1
jmp 0x10011064
xor ecx, ecx
mov dword [esp + 0x28], ecx
test edi, edi
jne 0x1001108f
push 0x100da52c
push 0xb450
push 0x100da970
push 0xb
call fcn.100068b0
add esp, 0x10
lea eax, [edi + 0xb]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x100110a0
mov esi, eax
mov eax, dword [ebp + 8]
jmp 0x1001138e
test ecx, ecx
je 0x10011260
mov ecx, dword [ebx + 0xd0]
test ecx, ecx
je 0x100110d5
lea eax, [esp + 0x14]
mov edx, edi
push eax
call fcn.10014480
mov esi, eax
add esp, 4
test esi, esi
jne 0x100114f1
cmp dword [esp + 0x14], eax
jne 0x10011260
mov eax, dword [ebx + 0x98]
lea edx, [esp + 0x10]
mov esi, dword [ebx + 0x3c]
lea ecx, [edi - 1]
push edx
push eax
push 0
cdq
push ecx
push edx
mov dword [esp + 0x24], 0
mov edi, dword [esi]
push eax
mov dword [esp + 0x3c], ecx
call fcn.100c5100
push edx
push eax
mov eax, dword [edi + 0x44]
push esi
call eax
mov esi, eax
add esp, 0x14
mov dword [esp + 0x2c], esi
test esi, esi
jne 0x100114f1
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10011260
cmp byte [ebx + 0x10], 1
jbe 0x10011181
mov edx, edi
mov ecx, ebx
call fcn.10011510
mov dword [esp + 0x20], eax
test eax, eax
je 0x10011179
push dword [esp + 0x10]
mov eax, dword [ebx + 0x98]
mov esi, dword [ebx + 0x3c]
push 0
push dword [esp + 0x2c]
cdq
mov edi, dword [esi]
push edx
push eax
call fcn.100c5100
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov esi, dword [esp + 0x3c]
add esp, 0x10
mov edi, dword [esp + 0xc]
jmp 0x10011242
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov esi, dword [ebx + 0x88]
mov dword [esp + 0x20], esi
test esi, esi
je 0x100111b6
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x88], eax
mov dword [esi + 0xc], 0
movzx eax, word [ebx + 0x8c]
push eax
push 0
push dword [esi + 8]
call fcn.100a9260
add esp, 0xc
jmp 0x10011233
movzx eax, word [ebx + 0x8c]
cdq
add eax, 0x28
mov dword [esp + 0x2c], eax
adc edx, 0
push edx
push eax
call fcn.10004280
mov esi, eax
add esp, 8
mov dword [esp + 0x20], esi
test esi, esi
je 0x100111ef
push dword [esp + 0x2c]
push 0
push esi
call fcn.100a9260
add esp, 0xc
test esi, esi
jne 0x10011223
mov eax, dword [esp + 0x1c]
mov esi, dword [ebx + 0x3c]
push eax
mov eax, dword [ebx + 0x98]
push 0
push dword [esp + 0x2c]
mov edi, dword [esi]
cdq
push edx
push eax
call fcn.100c5100
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov edi, dword [esp + 0x1c]
add esp, 0x10
mov esi, 7
jmp 0x10011242
lea eax, [esi + 0x28]
mov dword [esi + 0x18], 0x10040
mov dword [esi + 8], eax
mov dword [esi + 0x10], ebx
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x14], edi
mov dword [esi + 4], eax
inc dword [ebx + 0x78]
xor esi, esi
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x10011258
mov eax, dword [ebp + 8]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x100114f1
mov ecx, dword [ebx + 0xcc]
movzx eax, byte [ecx + 0x1d]
and eax, 3
push eax
push edi
push dword [ecx + 0x28]
call dword [0x100e3b64]
add esp, 0xc
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x10011318
mov ecx, dword [ebx + 0xcc]
mov dword [esp + 0x24], ecx
cmp byte [ecx + 0x1d], 2
jne 0x1001129b
xor esi, esi
jmp 0x10011318
mov eax, dword [ecx + 8]
test eax, eax
je 0x100112b6
cmp word [eax + 0x1a], 0
jne 0x100112af
test byte [eax + 0x18], 4
je 0x100112b6
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x100112a2
mov dword [ecx + 8], eax
test eax, eax
jne 0x100112d4
mov eax, dword [ecx + 4]
test eax, eax
je 0x100112f5
cmp word [eax + 0x1a], 0
je 0x100112d4
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x100112c4
jmp 0x100112f5
push eax
push dword [ecx + 0x24]
mov eax, dword [ecx + 0x20]
call eax
mov esi, eax
add esp, 8
test esi, esi
je 0x100112f1
cmp esi, 5
je 0x100112f1
mov eax, dword [esp + 0x2c]
jmp 0x10011310
mov ecx, dword [esp + 0x24]
push 2
push edi
push dword [ecx + 0x28]
call dword [0x100e3b64]
xor esi, esi
add esp, 0xc
test eax, eax
mov ecx, 7
cmove esi, ecx
test esi, esi
jne 0x100114f1
mov ecx, dword [ebx + 0xcc]
test eax, eax
jne 0x10011335
mov eax, dword [ebp + 8]
mov esi, 7
mov dword [eax], 0
jmp 0x100114f1
mov edx, dword [eax + 4]
cmp dword [edx], 0
jne 0x1001134c
push eax
mov edx, edi
call fcn.1000c1f0
add esp, 4
mov edx, eax
jmp 0x10011379
movzx eax, word [edx + 0x1a]
xor edi, edi
cmp di, ax
mov dword [esp + 0x2c], eax
mov edi, dword [esp + 0xc]
jne 0x10011368
inc dword [ecx + 0xc]
movzx eax, word [edx + 0x1a]
jmp 0x1001136c
mov eax, dword [esp + 0x2c]
inc eax
mov word [edx + 0x1a], ax
cmp edi, 1
jne 0x10011379
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp + 8]
mov dword [eax], edx
test edx, edx
jne 0x1001138a
lea esi, [edx + 7]
jmp 0x100114f1
mov edx, dword [esp + 0x18]
test esi, esi
jne 0x100114f1
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
cmp dword [ecx + 0x10], esi
je 0x100113b4
test edx, edx
jne 0x100113b4
inc dword [ebx + 0xb8]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ecx + 0x10], ebx
cmp edi, 0x7fffffff
ja 0x10011499
mov eax, dword [0x100e3f8c]
cdq
idiv dword [ebx + 0x98]
inc eax
cmp edi, eax
je 0x10011499
cmp byte [ebx + 0xf], 0
mov edx, dword [esp + 0x18]
jne 0x10011438
cmp dword [ebx + 0x18], edi
jb 0x10011438
test edx, edx
jne 0x10011438
mov eax, dword [ebx + 0x3c]
cmp dword [eax], edx
je 0x10011438
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x10011421
cmp dword [esp + 0x28], edx
jne 0x10011421
lea ecx, [esp + 0x14]
mov edx, edi
push ecx
mov ecx, eax
call fcn.10014480
mov ecx, dword [esp + 0x10]
mov esi, eax
add esp, 4
test esi, esi
jne 0x100114bb
mov edx, dword [esp + 0x14]
inc dword [ebx + 0xbc]
call fcn.1000f0f0
mov esi, eax
test esi, esi
je 0x10011490
jmp 0x100114b7
cmp edi, dword [ebx + 0x9c]
jbe 0x10011447
mov esi, 0xd
jmp 0x100114bb
test edx, edx
je 0x1001147d
mov eax, dword [0x100e6760]
test eax, eax
je 0x10011456
call eax
cmp edi, dword [ebx + 0x1c]
ja 0x10011465
mov ecx, dword [ebx + 0x38]
mov edx, edi
call fcn.1000bb70
mov edx, edi
mov ecx, ebx
call fcn.1000e110
mov eax, dword [0x100e6764]
test eax, eax
je 0x10011479
call eax
mov ecx, dword [esp + 0xc]
push dword [ebx + 0x98]
push 0
push dword [ecx + 4]
call fcn.100a9260
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x100da52c
push 0xb49f
push 0x100da970
push 0xb
call fcn.100068b0
add esp, 0x10
mov esi, 0xb
mov ecx, dword [esp + 0xc]
test byte [ecx + 0x18], 2
je 0x100114c8
mov dl, 1
call fcn.1000c0b0
mov eax, dword [ecx + 0x1c]
dec dword [eax + 0xc]
cmp dword [ecx + 0x14], 1
jne 0x100114de
mov eax, dword [ecx + 0x1c]
mov dword [eax + 0x2c], 0
mov eax, dword [ecx + 0x1c]
push 1
push dword [ecx]
push dword [eax + 0x28]
call dword [0x100e3b68]
add esp, 0xc
mov ecx, ebx
call fcn.10010fa0
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], 0
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret