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

Disassembly:
sub esp, 0x58
push ebx
mov ebx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x2c], eax
inc eax
mov dword [esp + 0x24], eax
inc eax
mov dword [esp + 0x34], eax
inc eax
mov dword [esp + 0x10], eax
inc eax
mov dword [esp + 0x3c], eax
inc eax
push ebp
push esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x54], eax
inc eax
push edi
mov edi, dword [esp + 0x6c]
mov ecx, dword [edi + 0x4c]
mov edx, dword [edi]
mov dword [esp + 0x44], eax
inc eax
cmp ecx, eax
mov dword [esp + 0x34], edx
mov byte [esp + 0x17], 1
mov dword [esp + 0x7c], eax
jle 0x100d1920
mov eax, ecx
mov ebp, dword [edi + 8]
mov dword [edi + 0x4c], eax
test ebp, ebp
jne 0x100d194b
mov eax, edx
call fcn.100bb530
mov ebp, eax
mov dword [edi + 8], eax
test ebp, ebp
je 0x100d2355
push 0x96
call fcn.100bb710
add esp, 4
test esi, esi
je 0x100d2355
cmp dword [esi + 0x20], 0
je 0x100d2355
mov eax, dword [esi]
push 7
push str.sqlite_
push eax
call fcn.100a2c80
add esp, 0xc
test eax, eax
je 0x100d2355
mov ecx, dword [esp + 0x34]
mov eax, esi
mov esi, dword [eax + 0x44]
call fcn.100ea880
mov edx, dword [esp + 0x34]
mov esi, eax
mov eax, dword [edx + 0x10]
mov edx, dword [esp + 0x70]
mov ecx, esi
shl ecx, 4
mov ecx, dword [ecx + eax]
mov eax, dword [edx]
push ecx
push 0
push eax
push 0x1c
mov eax, edi
mov dword [esp + 0x5c], esi
call fcn.100d3700
add esp, 0x10
test eax, eax
jne 0x100d2355
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov edx, dword [eax + 0x20]
push ecx
push 0
push edx
push esi
mov eax, edi
call fcn.100d3790
mov edi, dword [edi + 0x48]
mov dword [esp + 0x64], ebx
inc ebx
mov dword [esp + 0x3c], ebx
inc ebx
add esp, 0x10
cmp edi, ebx
mov eax, edi
jg 0x100d19e5
mov eax, ebx
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x70]
mov dword [ebx + 0x48], eax
mov eax, dword [esp + 0x4c]
push 0x32
push eax
push ecx
mov eax, esi
call fcn.100e1540
mov edx, dword [esi]
mov ecx, dword [esp + 0x54]
add esp, 0xc
xor ebx, ebx
push ebx
push edx
push 0x5f
xor eax, eax
xor edx, edx
mov edi, ebp
call fcn.100bb7d0
mov eax, dword [esi + 8]
add esp, 0xc
mov dword [esp + 0x28], eax
cmp eax, ebx
je 0x100d2199
nop
mov ecx, dword [esp + 0x74]
cmp ecx, ebx
je 0x100d1a40
cmp ecx, eax
jne 0x100d2186
cmp dword [eax + 0x24], ebx
jne 0x100d1a49
mov byte [esp + 0x17], bl
mov eax, dword [esp + 0x28]
movzx eax, word [eax + 0x32]
mov esi, dword [esp + 0x34]
lea ecx, [eax*4 + 4]
mov dword [esp + 0x18], eax
call fcn.100a0d40
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x100d2186
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x38]
and cl, 3
cmp cl, 2
jne 0x100d1a92
mov ecx, dword [esp + 0x70]
test byte [ecx + 0x2c], 0x20
je 0x100d1a92
mov edx, dword [ecx]
mov dword [esp + 0x20], edx
jmp 0x100d1a98
mov eax, dword [eax]
mov dword [esp + 0x20], eax
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x100d1ab2
mov edi, ebp
call fcn.100bb630
test eax, eax
je 0x100d1ab2
mov eax, 1
jmp 0x100d1ad9
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x58]
mov byte [eax], 0x5f
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, esi
mov esi, dword [ebp + 4]
mov edi, dword [ebp]
cmp esi, ebx
je 0x100d1b33
cmp byte [edi + 0x40], bl
jne 0x100d1b33
cmp eax, ebx
jge 0x100d1af0
mov eax, dword [ebp + 0x1c]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [esi + edx*4 + 1]
mov ecx, dword [esi + edx*4 + 0x10]
lea esi, [esi + edx*4]
call fcn.100bbca0
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x10], ebx
cmp ecx, ebx
jne 0x100d1b17
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x100d1b3e
call fcn.100a2ab0
mov edx, dword [ebp]
mov edi, eax
mov ebx, ecx
call fcn.100a0ec0
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xff
xor ebx, ebx
jmp 0x100d1b3e
mov ecx, dword [esp + 0x20]
xor eax, eax
call fcn.100bbca0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x6c]
add eax, ecx
mov ecx, dword [esi + 0x4c]
cmp ecx, eax
jle 0x100d1b55
mov eax, ecx
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x2c]
push edx
push eax
push ecx
push 0x32
mov eax, ebp
call fcn.100bb6b0
add esp, 0x10
mov ecx, edi
mov eax, esi
call fcn.100bbf60
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x100d1b92
mov edi, ebp
call fcn.100bb630
test eax, eax
jne 0x100d1bc1
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x18]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
inc ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
lea edx, [ecx + 1]
mov byte [eax], 0x17
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x100d1bc5
mov ecx, dword [esp + 0x30]
push ecx
inc ecx
push ecx
push ebx
push 1
mov eax, ebp
call fcn.100bb6b0
mov esi, dword [ebp + 4]
mov edi, dword [ebp]
add esp, 0x10
cmp esi, ebx
je 0x100d1c08
cmp byte [edi + 0x40], bl
jne 0x100d1c08
mov eax, dword [ebp + 0x1c]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*4 + 0x10]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
call fcn.100bbca0
mov dword [esi + 0x10], 0x1014131c
mov byte [esi + 1], 0xfb
jmp 0x100d1c17
mov ecx, 0x1014131c
mov eax, 0xfffffffb
call fcn.100bbca0
mov ecx, dword [ebp + 4]
cmp ecx, ebx
je 0x100d1c29
mov eax, dword [ebp + 0x1c]
lea edx, [eax + eax*4]
mov byte [ecx + edx*4 - 0x11], 1
mov eax, dword [esp + 0x2c]
push eax
push 0x67
mov eax, ebp
call fcn.100bb760
mov esi, dword [ebp + 0x1c]
add esp, 8
cmp dword [ebp + 0x20], esi
mov dword [esp + 0x64], eax
jg 0x100d1c51
mov edi, ebp
call fcn.100bb630
test eax, eax
jne 0x100d1c76
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x40]
mov byte [eax], 0x17
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
push 0x10
mov eax, ebp
call fcn.100bb710
mov edx, dword [ebp + 0x1c]
add esp, 4
cmp dword [esp + 0x18], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x20], ebx
jle 0x100d1dea
jmp 0x100d1ca0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x20]
mov esi, dword [ecx + edx*4]
mov edi, dword [esp + 0x6c]
call fcn.100d5af0
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
mov dword [esp + 0x50], eax
jg 0x100d1cce
mov edi, ebp
call fcn.100bb630
test eax, eax
jne 0x100d1cf7
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x40]
mov byte [eax], 0x17
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
push 0x2b
mov eax, ebp
call fcn.100bb6b0
mov esi, dword [ebp + 0x1c]
add esp, 0x10
cmp dword [ebp + 0x20], esi
jg 0x100d1d2f
mov edi, ebp
call fcn.100bb630
test eax, eax
je 0x100d1d2f
mov dword [esp + 0x3c], 1
jmp 0x100d1d62
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x1c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
add ecx, edx
mov byte [eax], 0x4c
mov byte [eax + 3], bl
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x3c], esi
mov ecx, dword [ebp + 4]
mov eax, dword [esp + 0x3c]
mov edi, dword [ebp]
cmp ecx, ebx
je 0x100d1dac
cmp byte [edi + 0x40], bl
jne 0x100d1dac
cmp eax, ebx
jge 0x100d1d7d
mov eax, dword [ebp + 0x1c]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea esi, [ecx + edx*4]
mov ecx, dword [esi + 0x10]
call fcn.100bbca0
mov eax, dword [esp + 0x50]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x100d1da3
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x100d1dba
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfc
jmp 0x100d1dba
mov ecx, dword [esp + 0x50]
mov eax, 0xfffffffc
call fcn.100bbca0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
mov dword [eax + edx*4], ecx
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x100d1ddb
mov ecx, dword [ebp + 0x1c]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 0x80
inc edx
cmp edx, dword [esp + 0x18]
mov dword [esp + 0x20], edx
jl 0x100d1ca0
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x100d1dfd
mov edi, ebp
call fcn.100bb630
test eax, eax
jne 0x100d1e26
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x18]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x40]
mov byte [eax], 0x17
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
push 0x10
mov eax, ebp
call fcn.100bb710
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x60]
add esp, 4
cmp eax, ebx
jl 0x100d1e56
mov ecx, dword [ebp + 0x1c]
cmp ecx, eax
jbe 0x100d1e56
mov esi, dword [ebp + 4]
lea eax, [eax + eax*4]
mov dword [esi + eax*4 + 8], ecx
xor esi, esi
cmp edx, ebx
jle 0x100d1ec8
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + esi*4]
cmp eax, ebx
jl 0x100d1e78
mov ecx, dword [ebp + 0x1c]
cmp ecx, eax
jbe 0x100d1e78
lea edx, [eax + eax*4]
mov eax, dword [ebp + 4]
mov dword [eax + edx*4 + 8], ecx
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], eax
mov dword [esp + 0x5c], eax
jg 0x100d1e93
mov edi, ebp
call fcn.100bb630
test eax, eax
jne 0x100d1ebf
mov eax, dword [esp + 0x5c]
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
lea ecx, [esi + edx]
mov byte [eax], 0x2b
mov byte [eax + 3], bl
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edx, dword [esp + 0x18]
inc esi
cmp esi, edx
jl 0x100d1e5c
mov eax, dword [esp + 0x24]
mov eax, dword [eax + edx*4]
cmp eax, ebx
jl 0x100d1ee4
mov ecx, dword [ebp + 0x1c]
cmp ecx, eax
jbe 0x100d1ee4
lea edx, [eax + eax*4]
mov eax, dword [ebp + 4]
mov dword [eax + edx*4 + 8], ecx
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x100d1ef7
mov edi, ebp
call fcn.100bb630
test eax, eax
jne 0x100d1f24
mov eax, dword [ebp + 4]
mov ecx, 1
add dword [ebp + 0x1c], ecx
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x1c]
mov byte [eax], cl
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [ebp + 4]
mov edi, dword [ebp]
cmp esi, ebx
je 0x100d1f57
cmp byte [edi + 0x40], bl
jne 0x100d1f57
mov eax, dword [ebp + 0x1c]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*4 + 0x10]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
call fcn.100bbca0
mov dword [esi + 0x10], 0x101413a4
mov byte [esi + 1], 0xfb
jmp 0x100d1f66
mov ecx, 0x101413a4
mov eax, 0xfffffffb
call fcn.100bbca0
mov ecx, dword [ebp + 4]
cmp ecx, ebx
je 0x100d1f78
mov eax, dword [ebp + 0x1c]
lea edx, [eax + eax*4]
mov byte [ecx + edx*4 - 0x11], 2
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x100d1f8b
mov edi, ebp
call fcn.100bb630
test eax, eax
jne 0x100d1fb4
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x2c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x60]
mov byte [eax], 9
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x30]
push edx
push eax
mov eax, ebp
call fcn.100d1830
mov esi, dword [ebp + 0x1c]
add esp, 8
cmp dword [ebp + 0x20], esi
jg 0x100d1fe2
mov edi, ebp
call fcn.100bb630
test eax, eax
je 0x100d1fe2
mov eax, 1
jmp 0x100d2011
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x1c]
mov byte [eax], 0x2d
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], 3
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, esi
mov esi, dword [ebp + 4]
mov edi, dword [ebp]
cmp esi, ebx
je 0x100d205f
cmp byte [edi + 0x40], bl
jne 0x100d205f
cmp eax, ebx
jge 0x100d2028
mov eax, dword [ebp + 0x1c]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*4 + 0x10]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
call fcn.100bbca0
mov ecx, 0x10161784
mov dword [esi + 0x10], ebx
call fcn.100a2ab0
mov edx, dword [ebp]
mov edi, eax
mov ebx, ecx
call fcn.100a0ec0
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xff
xor ebx, ebx
jmp 0x100d206b
mov ecx, 0x10161784
xor eax, eax
call fcn.100bbca0
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x100d207e
mov edi, ebp
call fcn.100bb630
test eax, eax
jne 0x100d20a7
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x38]
mov byte [eax], 0x43
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x100d20ba
mov edi, ebp
call fcn.100bb630
test eax, eax
jne 0x100d20e7
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x78]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
mov byte [eax], 0x44
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov ecx, dword [ebp + 4]
cmp ecx, ebx
je 0x100d20f9
mov eax, dword [ebp + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 8
mov eax, dword [esp + 0x64]
cmp eax, ebx
jl 0x100d2112
mov ecx, dword [ebp + 0x1c]
cmp ecx, eax
jbe 0x100d2112
lea edx, [eax + eax*4]
mov eax, dword [ebp + 4]
mov dword [eax + edx*4 + 8], ecx
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
cmp dword [esi + 0x200], ebx
je 0x100d2157
cmp eax, dword [esi + 0x10c]
jb 0x100d2143
cmp eax, dword [esi + 0x110]
jae 0x100d2143
movzx eax, word [esi + 0xf0]
mov esi, dword [esi + 0x200]
add dword [esi], eax
jmp 0x100d2186
push eax
call dword [0x10177780]
mov esi, dword [esi + 0x200]
add esp, 4
add dword [esi], eax
jmp 0x100d2186
cmp eax, dword [esi + 0x10c]
jb 0x100d217d
cmp eax, dword [esi + 0x110]
jae 0x100d217d
mov ecx, dword [esi + 0x108]
mov dword [eax], ecx
dec dword [esi + 0xf4]
mov dword [esi + 0x108], eax
jmp 0x100d2186
push eax
call fcn.100a0aa0
add esp, 4
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x14]
mov dword [esp + 0x28], eax
cmp eax, ebx
jne 0x100d1a30
cmp dword [esp + 0x74], ebx
jne 0x100d2355
cmp byte [esp + 0x17], bl
je 0x100d2355
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x100d21c0
mov edi, ebp
call fcn.100bb630
test eax, eax
jne 0x100d21e9
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x54]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x44]
mov byte [eax], 0x2e
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edx, dword [esp + 0x44]
push edx
push 0x2a
mov eax, ebp
call fcn.100bb760
mov esi, dword [ebp + 0x1c]
add esp, 8
cmp dword [ebp + 0x20], esi
mov dword [esp + 0x7c], eax
jg 0x100d2211
mov edi, ebp
call fcn.100bb630
test eax, eax
jne 0x100d2236
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x58]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x1a
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x100d2250
mov edi, ebp
call fcn.100bb630
test eax, eax
je 0x100d2250
mov eax, 1
jmp 0x100d227f
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x48]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x1c]
mov byte [eax], 0x2d
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], 3
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, esi
mov esi, dword [ebp + 4]
mov edi, dword [ebp]
cmp esi, ebx
je 0x100d22ce
cmp byte [edi + 0x40], bl
jne 0x100d22ce
cmp eax, ebx
jge 0x100d2296
mov eax, dword [ebp + 0x1c]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [esi + edx*4 + 1]
mov ecx, dword [esi + edx*4 + 0x10]
lea esi, [esi + edx*4]
call fcn.100bbca0
mov ecx, 0x10161784
mov dword [esi + 0x10], ebx
call fcn.100a2ab0
mov edx, dword [ebp]
mov edi, eax
mov ebx, ecx
call fcn.100a0ec0
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xff
xor ebx, ebx
jmp 0x100d22da
mov ecx, 0x10161784
xor eax, eax
call fcn.100bbca0
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x100d22ed
mov edi, ebp
call fcn.100bb630
test eax, eax
jne 0x100d2316
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x78]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x38]
mov byte [eax], 0x43
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x78]
push edx
push eax
push ecx
push 0x44
mov eax, ebp
call fcn.100bb6b0
mov eax, dword [ebp + 4]
add esp, 0x10
cmp eax, ebx
je 0x100d2343
mov ecx, dword [ebp + 0x1c]
lea edx, [ecx + ecx*4]
mov byte [eax + edx*4 - 0x11], 8
mov eax, dword [esp + 0x7c]
mov edx, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
jmp fcn.100bbc80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret