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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
push esi
mov esi, dword [ebx + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x18]
mov dword [esp + 0x20], eax
mov eax, esi
call fcn.100c18c0
mov ecx, dword [edi]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x10]
test eax, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], edx
je 0x100f28aa
mov ecx, dword [edi + 0xc]
push 0
push eax
push ecx
push 0xe
push esi
call fcn.100c1540
mov edx, dword [esp + 0x34]
add esp, 0x14
push 0
push edx
push 0
push 0xd
push esi
call fcn.100c1540
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x78]
add esp, 0x14
test eax, eax
je 0x100f289a
mov edx, dword [edi + 0x10]
lea edx, [edx*4 + 4]
sub eax, edx
mov edx, dword [esi + 0x20]
mov dword [eax], edx
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x34]
sub eax, 1
mov dword [ecx + 0x60], eax
mov ecx, dword [ebp + 0x14]
cmp edx, 9
mov eax, dword [edi + 8]
mov dword [esp + 0x10], eax
je 0x100f2917
cmp edx, 0xd
je 0x100f2917
mov al, byte [ebx + 0x13]
test al, al
jne 0x100f28cf
add dword [ebx + 0x4c], 1
mov ecx, dword [ebx + 0x4c]
mov dword [esp + 0xc], ecx
jmp 0x100f28df
sub al, 1
movzx edx, al
mov byte [ebx + 0x13], al
mov eax, dword [ebx + edx*4 + 0x1c]
mov dword [esp + 0xc], eax
mov al, byte [ebx + 0x13]
test al, al
jne 0x100f28fb
add dword [ebx + 0x4c], 1
mov edi, dword [ebx + 0x4c]
mov dword [esp + 8], edi
mov dword [esp + 0x18], 1
jmp 0x100f292f
sub al, 1
movzx ecx, al
mov byte [ebx + 0x13], al
mov edx, dword [ebx + ecx*4 + 0x1c]
mov dword [esp + 8], edx
mov edi, edx
mov dword [esp + 0x18], 1
jmp 0x100f292f
mov eax, dword [ecx + 8]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 0x18], ecx
mov edi, eax
mov edx, dword [esp + 0x30]
mov eax, dword [ebp + 0xc]
mov ecx, dword [edx]
sub ecx, dword [eax + 4]
test byte [eax + 0x1c], 1
mov dword [esp + 0x30], ecx
je 0x100f2a23
add dword [ebx + 0x4c], 1
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x48]
lea edx, [eax + 1]
mov dword [ebx + 0x48], edx
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x10], 0
mov dword [esp + 0x14], eax
je 0x100f29a1
mov eax, dword [ebx + 8]
test eax, eax
jne 0x100f297c
mov edi, ebx
call fcn.100f38e0
mov edi, dword [esp + 8]
mov ecx, dword [ebx + 0x54]
push 0
push 0
push ecx
lea edx, [ecx + 1]
push 0x14
push eax
mov dword [ebx + 0x54], edx
call fcn.100c1540
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
add esp, 0x14
mov edx, dword [esp + 0x18]
lea ecx, [ecx + edx + 1]
mov edx, dword [esp + 0x2c]
push ecx
push edx
push eax
push 0x6c
push esi
call fcn.100c1540
mov ecx, dword [esp + 0x3c]
add esp, 0x14
test ecx, ecx
je 0x100f29ca
mov eax, esi
call fcn.100c1c00
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push 0
push eax
push ecx
push 0x2a
push esi
call fcn.100c1540
mov edx, dword [ebp + 8]
add eax, 1
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0x10]
add esp, 0x14
test eax, eax
jle 0x100f2a05
mov ecx, dword [esp + 0x24]
push 1
push ecx
push eax
push 0x40
push esi
call fcn.100c1540
add esp, 0x14
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
push 0x76
push esi
call fcn.100c1540
add esp, 0x14
xor ecx, ecx
jmp 0x100f2a6b
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
push 0
push edx
push eax
push 0x35
push esi
call fcn.100c1540
mov ecx, dword [ebp + 8]
add eax, 1
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x10]
add esp, 0x14
test eax, eax
jle 0x100f2a5e
mov edx, dword [esp + 0x24]
push 1
push edx
push eax
push 0x40
push esi
call fcn.100c1540
add esp, 0x14
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov ecx, 1
cmp dword [esp + 0x18], 0
jle 0x100f2aeb
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
add ecx, edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x58], eax
jg 0x100f2aa8
mov eax, dword [esp + 0x14]
push edi
push ecx
push eax
push 0x5e
mov eax, esi
call fcn.100c1500
mov ecx, dword [esp + 0x40]
add esp, 0x10
jmp 0x100f2ad6
lea edx, [eax + 1]
mov dword [esi + 0x20], edx
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x14]
mov byte [eax], 0x5e
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
add ecx, 1
add edi, 1
sub dword [esp + 0x2c], 1
mov dword [esp + 0x30], ecx
jne 0x100f2a84
mov edi, dword [esp + 8]
mov ecx, dword [esp + 0x34]
mov eax, ecx
sub eax, 0xa
je 0x100f2c1c
sub eax, 1
je 0x100f2b94
sub eax, 1
push 0
je 0x100f2b4a
cmp ecx, 9
jne 0x100f2b31
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov ecx, dword [edi + 8]
push eax
push ecx
push 0x55
push esi
call fcn.100c1540
mov edx, dword [ebp + 0x10]
mov edi, dword [edi + 8]
add esp, 0x14
push edx
jmp 0x100f2c34
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push 0
push ecx
push 0x10
push esi
call fcn.100c1540
add esp, 0x14
jmp 0x100f2c42
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
push edx
push eax
push 0x70
push esi
call fcn.100c1540
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
add esp, 0x14
push ecx
push edi
push edx
push 0x71
push esi
call fcn.100c1540
mov eax, dword [esi]
add esp, 0x14
cmp byte [eax + 0x45], 0
jne 0x100f2c42
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 4]
lea ecx, [eax + eax*4]
mov byte [edx + ecx*4 - 0x11], 8
jmp 0x100f2c42
mov ecx, dword [esp + 0xc]
mov eax, dword [ebp + 0x14]
push ecx
push 1
push edi
add eax, 1
push 0x60
push esi
mov dword [esp + 0x48], eax
call fcn.100c1540
mov edx, dword [esi]
add esp, 0x14
cmp byte [edx + 0x45], 0
je 0x100f2bcf
mov ecx, dword [esp + 0x34]
mov eax, 1
mov edi, edx
call fcn.100c1c40
mov edi, dword [esp + 8]
jmp 0x100f2bf7
test eax, eax
jge 0x100f2bd9
mov eax, dword [esi + 0x20]
sub eax, 1
mov edx, dword [esp + 0x34]
mov ecx, dword [esi + 4]
lea eax, [eax + eax*4]
push edx
lea edx, [ecx + eax*4]
push edx
mov eax, 1
mov ecx, esi
call fcn.100c1e20
add esp, 8
push 1
mov eax, ebx
call fcn.100d6340
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add esp, 4
push 0
push eax
push ecx
push 0x7c
push esi
call fcn.100c1540
add esp, 0x14
jmp 0x100f2c3e
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 8]
push 1
push edx
push edi
push 0x51
push eax
call fcn.100c1540
add esp, 0x14
push 1
mov eax, ebx
call fcn.100d6340
add esp, 4
mov edi, dword [esp + 8]
cmp dword [esp + 0xc], 0
je 0x100f2caf
test edi, edi
je 0x100f2c7f
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x100f2c7f
xor eax, eax
lea ecx, [ebx + 0x7c]
lea ebx, [ebx]
cmp dword [ecx + 0xc], edi
je 0x100f2ced
add eax, 1
add ecx, 0x14
cmp eax, 0xa
jl 0x100f2c60
movzx ecx, dl
mov dword [ebx + ecx*4 + 0x1c], edi
add byte [ebx + 0x13], 1
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x100f2caf
xor eax, eax
lea ecx, [ebx + 0x7c]
lea esp, [esp]
mov edi, dword [esp + 0xc]
cmp dword [ecx + 0xc], edi
je 0x100f2cf3
add eax, 1
add ecx, 0x14
cmp eax, 0xa
jl 0x100f2c90
movzx edx, dl
mov dword [ebx + edx*4 + 0x1c], edi
add byte [ebx + 0x13], 1
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x100f2ccb
mov edx, dword [esp + 0x24]
lea edx, [edx*4 + 4]
sub eax, edx
mov edx, dword [esi + 0x20]
mov dword [eax], edx
mov eax, dword [esi + 0x20]
mov edi, dword [ebp + 0xc]
sub eax, 1
test byte [edi + 0x1c], 1
mov dword [ecx + 0x60], eax
push 0
je 0x100f2cf9
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
push ecx
push edx
push 3
jmp 0x100f2d05
mov byte [ecx + 6], 1
jmp 0x100f2c7f
mov byte [ecx + 6], 1
jmp 0x100f2caf
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push 7
push esi
call fcn.100c1540
mov ecx, dword [edi + 0xc]
xor edi, edi
add esp, 0x14
cmp ecx, edi
je 0x100f2d59
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x58], eax
jg 0x100f2d33
push edi
push edi
push ecx
push 0x46
mov eax, esi
call fcn.100c1500
add esp, 0x10
jmp 0x100f2d59
lea edx, [eax + 1]
mov dword [esi + 0x20], edx
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov byte [eax], 0x46
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x78]
cmp eax, edi
je 0x100f2d75
mov edx, dword [esp + 0x20]
lea edx, [edx*4 + 4]
sub eax, edx
mov edx, dword [esi + 0x20]
mov dword [eax], edx
mov eax, dword [esi + 0x20]
sub eax, 1
pop edi
mov dword [ecx + 0x60], eax
pop esi
mov esp, ebp
pop ebp
ret