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

Disassembly:
sub esp, 0x34
mov ecx, dword [esp + 0x3c]
mov eax, 1
push ebx
push ebp
push esi
add ecx, 6
mov dword [esp + 0x28], 0
shl eax, cl
push edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x34], eax
mov ecx, dword [edi + 0x74]
mov edx, dword [edi + 0x7c]
mov eax, dword [edi + 0x68]
add edx, 3
mov esi, dword [edi + 4]
mov ebx, dword [edi + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
lea ebp, [ecx + edx*4]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], ebp
mov dword [ecx], 0
mov edx, dword [edi + 0x80]
test edx, 0xfffffffc
jbe 0x100ba658
xor ebp, ebp
nop dword [eax]
cmp dword [edi + 0x7c], 0
mov edx, dword [esp + 0x10]
mov dword [esp + 0x3c], 0
jbe 0x100ba633
mov ecx, dword [edx]
mov dword [esp + 0x40], ecx
test ecx, ecx
jne 0x100ba1f7
mov ebp, dword [esp + 0x20]
xor edx, edx
nop word [eax + eax]
mov ecx, dword [ebp]
and ecx, dword [esp + 0x34]
test ecx, 0x7fffffff
jne 0x100b9fe8
inc edx
add ebp, 4
cmp edx, 4
jb 0x100b9fd0
lea ecx, [edi + 0x60]
mov dword [esp + 0x20], ebp
mov ebp, dword [ecx]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
xor ecx, ecx
cmp dword [esp + 0x18], 4
mov edx, dword [ebp]
setne cl
sub esi, edx
cmp dword [ebp + 4], ecx
jne 0x100ba059
lea ecx, [edx + eax]
mov dword [esp + 0x38], ecx
test esi, 0x8000
jne 0x100ba055
mov ecx, dword [ebp + 8]
cmp esi, edx
mov ebp, dword [esp + 0x14]
cmovae eax, dword [esp + 0x38]
cmovae edx, esi
mov esi, edx
mov dword [ebp], ecx
add esi, esi
add eax, eax
sub ebx, 1
jne 0x100ba04b
push edi
mov dword [edi], eax
call fcn.100bf4d0
mov eax, dword [edi]
add esp, 4
mov ebx, dword [edi + 8]
test esi, 0x8000
je 0x100ba032
jmp 0x100ba091
mov eax, ecx
jmp 0x100ba091
mov ecx, dword [ebp + 0xc]
cmp esi, edx
mov ebp, dword [esp + 0x14]
cmovae esi, edx
mov dword [ebp], ecx
lea ecx, [edx + eax]
cmovae ecx, eax
mov eax, ecx
add esi, esi
add eax, eax
sub ebx, 1
jne 0x100ba089
push edi
mov dword [edi], eax
call fcn.100bf4d0
mov eax, dword [edi]
add esp, 4
mov ebx, dword [edi + 8]
test esi, 0x8000
je 0x100ba070
mov ecx, dword [esp + 0x18]
cmp ecx, 4
je 0x100ba612
lea edx, [edi + 0x64]
shr ecx, 1
mov dword [esp + 0x14], edx
mov edx, dword [edx]
mov ebp, dword [edx]
sub esi, ebp
cmp dword [edx + 4], ecx
jne 0x100ba0fd
lea ecx, [eax + ebp]
mov dword [esp + 0x38], ecx
test esi, 0x8000
jne 0x100ba0f9
mov ecx, dword [edx + 8]
cmp esi, ebp
mov edx, dword [esp + 0x14]
cmovae eax, dword [esp + 0x38]
cmovae ebp, esi
mov esi, ebp
mov dword [edx], ecx
add esi, esi
add eax, eax
sub ebx, 1
jne 0x100ba0ef
push edi
mov dword [edi], eax
call fcn.100bf4d0
mov eax, dword [edi]
add esp, 4
mov ebx, dword [edi + 8]
test esi, 0x8000
je 0x100ba0d6
jmp 0x100ba141
mov eax, ecx
jmp 0x100ba141
mov edi, dword [esp + 0x14]
cmp esi, ebp
cmovae esi, ebp
mov ecx, dword [edi]
mov ecx, dword [ecx + 0xc]
mov dword [edi], ecx
lea ecx, [eax + ebp]
mov edi, dword [esp + 0x48]
cmovae ecx, eax
mov eax, ecx
nop dword [eax]
add esi, esi
add eax, eax
sub ebx, 1
jne 0x100ba139
push edi
mov dword [edi], eax
call fcn.100bf4d0
mov eax, dword [edi]
add esp, 4
mov ebx, dword [edi + 8]
test esi, 0x8000
je 0x100ba120
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x18]
and ecx, 1
mov ebp, dword [edx]
sub esi, ebp
cmp dword [edx + 4], ecx
jne 0x100ba1af
lea ecx, [eax + ebp]
mov dword [esp + 0x38], ecx
test esi, 0x8000
jne 0x100ba1a7
mov ecx, dword [edx + 8]
cmp esi, ebp
mov edx, dword [esp + 0x14]
cmovae eax, dword [esp + 0x38]
cmovae ebp, esi
mov esi, ebp
mov dword [edx], ecx
nop dword [eax + eax]
add esi, esi
add eax, eax
sub ebx, 1
jne 0x100ba199
push edi
mov dword [edi], eax
call fcn.100bf4d0
mov eax, dword [edi]
add esp, 4
mov ebx, dword [edi + 8]
test esi, 0x8000
je 0x100ba180
mov edx, dword [esp + 0x10]
jmp 0x100ba1ff
mov edx, dword [esp + 0x10]
mov eax, ecx
jmp 0x100ba1ff
mov edi, dword [esp + 0x14]
cmp esi, ebp
cmovae esi, ebp
mov ecx, dword [edi]
mov ecx, dword [ecx + 0xc]
mov dword [edi], ecx
lea ecx, [eax + ebp]
mov edi, dword [esp + 0x48]
cmovae ecx, eax
mov eax, ecx
nop dword [eax + eax]
add esi, esi
add eax, eax
sub ebx, 1
jne 0x100ba1e9
push edi
mov dword [edi], eax
call fcn.100bf4d0
mov eax, dword [edi]
add esp, 4
mov ebx, dword [edi + 8]
test esi, 0x8000
je 0x100ba1d0
mov edx, dword [esp + 0x10]
jmp 0x100ba1ff
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x20]
mov ebp, dword [edx]
mov dword [esp + 0x24], ecx
mov ecx, ebp
and ecx, 0x49202490
cmp ecx, 0x49202490
mov ecx, dword [esp + 0x18]
jne 0x100ba268
test ecx, ecx
jne 0x100ba22e
and ebp, 0xb6dfffff
mov dword [edx], ebp
jmp 0x100ba5cd
cmp ecx, 1
jne 0x100ba240
and ebp, 0xb6ffffff
mov dword [edx], ebp
jmp 0x100ba5cd
cmp ecx, 2
jne 0x100ba252
and ebp, 0xb7ffffff
mov dword [edx], ebp
jmp 0x100ba5cd
cmp ecx, 3
jne 0x100ba5cd
and ebp, 0xbfffffff
mov dword [edx], ebp
jmp 0x100ba5cd
cmp dword [esp + 0x18], 4
mov dword [esp + 0x1c], ecx
jae 0x100ba5cd
cmp dword [esp + 0x40], 0
jne 0x100ba28c
cmp ecx, dword [esp + 0x18]
jne 0x100ba28c
lea edx, [ecx + ecx*2]
jmp 0x100ba37b
lea ecx, [ecx + ecx*2]
mov edx, 0x200010
shl edx, cl
mov dword [esp + 0x38], ecx
test ebp, edx
jne 0x100ba5e4
shr ebp, cl
mov ecx, dword [edi + 0x6c]
and ebp, 0x1ef
movzx ecx, byte [ecx + ebp]
add ecx, 7
mov ebp, dword [edi + ecx*4]
lea edx, [edi + ecx*4]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], edx
mov edx, dword [ebp]
mov ecx, dword [ecx]
and ecx, dword [esp + 0x34]
and ecx, 0x7fffffff
mov dword [esp + 0x38], ecx
mov ecx, 0
setne cl
sub esi, edx
cmp dword [ebp + 4], ecx
jne 0x100ba32f
lea ebp, [eax + edx]
test esi, 0x8000
jne 0x100ba32b
mov edi, dword [esp + 0x14]
cmp esi, edx
cmovae edx, esi
cmovae eax, ebp
mov esi, edx
mov ecx, dword [edi]
mov ecx, dword [ecx + 8]
mov dword [edi], ecx
mov edi, dword [esp + 0x48]
add esi, esi
add eax, eax
sub ebx, 1
jne 0x100ba321
push edi
mov dword [edi], eax
call fcn.100bf4d0
mov eax, dword [edi]
add esp, 4
mov ebx, dword [edi + 8]
test esi, 0x8000
je 0x100ba308
jmp 0x100ba367
mov eax, ebp
jmp 0x100ba367
mov ecx, dword [ebp + 0xc]
cmp esi, edx
mov ebp, dword [esp + 0x14]
cmovae esi, edx
mov dword [ebp], ecx
lea ecx, [edx + eax]
cmovae ecx, eax
mov eax, ecx
add esi, esi
add eax, eax
sub ebx, 1
jne 0x100ba35f
push edi
mov dword [edi], eax
call fcn.100bf4d0
mov eax, dword [edi]
add esp, 4
mov ebx, dword [edi + 8]
test esi, 0x8000
je 0x100ba346
cmp dword [esp + 0x38], 0
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + ecx*2]
mov ecx, edx
je 0x100ba5e8
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], edx
mov ebp, dword [ecx]
lea ecx, [edx + 0x13]
mov edx, dword [esp + 0x10]
mov edx, dword [edx - 4]
shr edx, cl
mov ecx, dword [esp + 0x28]
and edx, 1
mov dword [esp + 0x14], edx
add ecx, 0x11
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 4]
shr edx, cl
mov ecx, dword [esp + 0x28]
and edx, 4
or dword [esp + 0x14], edx
mov edx, ebp
shr edx, cl
and edx, 0xaa
or dword [esp + 0x14], edx
mov edx, ebp
cmp dword [esp + 0x1c], 0
jne 0x100ba3cf
shr edx, 0xe
jmp 0x100ba3d8
add ecx, 0xc
shr edx, cl
mov ecx, dword [esp + 0x28]
add ecx, 0x10
and edx, 0x10
shr ebp, cl
mov ecx, dword [esp + 0x24]
and ebp, 0x40
or ebp, edx
or ebp, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x4c]
and edx, 0x7fffffff
test ecx, ecx
je 0x100ba40c
shr edx, cl
and edx, 0x7f
movzx ecx, word [edx*2 + 0x101a8888]
jmp 0x100ba417
and edx, 0x7f
movzx ecx, word [edx*2 + 0x101a8988]
mov edx, dword [esp + 0x50]
movsx ecx, cx
add dword [edx], ecx
movzx ecx, byte [ebp + 0x101a8688]
add ecx, 7
lea edx, [edi + ecx*4]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], edx
mov edi, dword [esp + 0x14]
mov ecx, dword [ecx]
shr ecx, 0x1f
mov dword [esp + 0x30], ecx
mov ecx, dword [edx]
mov edx, dword [ecx]
movzx ecx, byte [ebp + 0x101a8788]
mov ebp, dword [edi]
xor ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
cmp dword [ebp + 4], ecx
jne 0x100ba4a9
sub esi, edx
lea ebp, [edx + eax]
test esi, 0x8000
jne 0x100ba4a5
mov edi, dword [esp + 0x14]
cmp esi, edx
cmovae edx, esi
cmovae eax, ebp
mov esi, edx
mov ecx, dword [edi]
mov ecx, dword [ecx + 8]
mov dword [edi], ecx
mov edi, dword [esp + 0x48]
add esi, esi
add eax, eax
sub ebx, 1
jne 0x100ba49b
push edi
mov dword [edi], eax
call fcn.100bf4d0
mov eax, dword [edi]
add esp, 4
mov ebx, dword [edi + 8]
test esi, 0x8000
je 0x100ba482
jmp 0x100ba4e3
mov eax, ebp
jmp 0x100ba4e3
mov ecx, dword [ebp + 0xc]
sub esi, edx
mov ebp, dword [esp + 0x14]
cmp esi, edx
cmovae esi, edx
mov dword [ebp], ecx
lea ecx, [edx + eax]
cmovae ecx, eax
mov eax, ecx
add esi, esi
add eax, eax
sub ebx, 1
jne 0x100ba4db
push edi
mov dword [edi], eax
call fcn.100bf4d0
mov eax, dword [edi]
add esp, 4
mov ebx, dword [edi + 8]
test esi, 0x8000
je 0x100ba4c2
test byte [esp + 0x54], 8
je 0x100ba4f8
cmp dword [esp + 0x1c], 0
jne 0x100ba4f8
mov ebp, 1
jmp 0x100ba4fa
xor ebp, ebp
mov ecx, dword [edi + 0x7c]
mov edx, 0x20
mov edi, dword [esp + 0x10]
add ecx, 2
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x28]
shl edx, cl
or dword [edi - 4], edx
mov edx, dword [esp + 0x30]
shl edx, 0x13
or edx, 0x10
shl edx, cl
or dword [edi], edx
mov edx, 8
shl edx, cl
or dword [edi + 4], edx
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x48]
test edx, edx
jne 0x100ba594
test ebp, ebp
jne 0x100ba5e8
mov ecx, dword [esp + 0x38]
mov ebp, 0x200000
mov edx, dword [esp + 0x10]
add dword [esp + 0x24], 4
shl ecx, 2
sub edx, ecx
mov ecx, dword [esp + 0x30]
shl ecx, 0x1f
or ecx, 0x10000
or dword [edx], ecx
mov ecx, dword [esp + 0x28]
or dword [edx - 4], 0x20000
or dword [edx + 4], 0x8000
shl ebp, cl
mov ecx, dword [esp + 0x10]
not ebp
and ebp, dword [ecx]
mov dword [ecx], ebp
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], ecx
jmp 0x100ba277
cmp edx, 3
jne 0x100ba5e8
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
shl edx, 0x12
or edx, 2
or dword [ebp + ecx*4], edx
mov edx, 0x200000
or dword [ebp + ecx*4 - 4], 4
or dword [ebp + ecx*4 + 4], 1
mov ecx, dword [esp + 0x28]
shl edx, cl
not edx
and dword [ebp], edx
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
mov ecx, 4
sub ecx, dword [esp + 0x18]
lea ebp, [ebp + ecx*4]
mov dword [esp + 0x20], ebp
jmp 0x100ba616
mov ecx, dword [esp + 0x38]
add dword [esp + 0x24], 4
mov edx, 0x200000
shl edx, cl
mov ecx, dword [esp + 0x10]
not edx
and dword [ecx], edx
mov ebp, dword [ecx]
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, 4
jb 0x100ba277
jmp 0x100ba5c9
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x3c]
add edx, 4
inc ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x3c], ebp
cmp ebp, dword [edi + 0x7c]
jb 0x100b9fb6
mov ebp, dword [esp + 0x2c]
add edx, 8
add ebp, 4
mov dword [esp + 0x10], edx
mov edx, dword [edi + 0x80]
mov ecx, edx
and ecx, 0xfffffffc
mov dword [esp + 0x2c], ebp
cmp ebp, ecx
jb 0x100b9fa0
mov ebp, dword [esp + 0x10]
cmp dword [esp + 0x2c], edx
jae 0x100baa16
cmp dword [edi + 0x7c], 0
mov dword [esp + 0x18], 0
jbe 0x100baa16
mov ecx, dword [esp + 0x20]
mov ebp, dword [ebp]
mov dword [esp + 0x1c], ecx
mov ecx, ebp
and ecx, 0x49202490
cmp ecx, 0x49202490
jne 0x100ba6a0
mov ecx, dword [esp + 0x10]
and ebp, 0xb6dfffff
mov dword [ecx], ebp
jmp 0x100ba9e1
mov dword [esp + 0x24], 0
sub edx, dword [esp + 0x2c]
je 0x100ba9e1
mov edx, dword [esp + 0x24]
lea ecx, [edx + edx*2]
mov edx, 0x200010
shl edx, cl
mov dword [esp + 0x28], ecx
test ebp, edx
jne 0x100ba9b0
mov edx, dword [esp + 0x1c]
shr ebp, cl
mov ecx, dword [edi + 0x6c]
and ebp, 0x1ef
movzx ecx, byte [ecx + ebp]
add ecx, 7
lea ebp, [edi + ecx*4]
mov ecx, dword [esp + 0x34]
and ecx, dword [edx]
mov edx, dword [ebp]
and ecx, 0x7fffffff
mov dword [esp + 0x3c], ecx
xor ecx, ecx
mov dword [esp + 0x14], ebp
mov ebp, dword [edx]
sub esi, ebp
cmp dword [esp + 0x3c], ecx
setne cl
cmp dword [edx + 4], ecx
jne 0x100ba759
lea edx, [eax + ebp]
test esi, 0x8000
jne 0x100ba755
mov edi, dword [esp + 0x14]
cmp esi, ebp
cmovae ebp, esi
cmovae eax, edx
mov esi, ebp
mov ecx, dword [edi]
mov ecx, dword [ecx + 8]
mov dword [edi], ecx
mov edi, dword [esp + 0x48]
add esi, esi
add eax, eax
sub ebx, 1
jne 0x100ba74b
push edi
mov dword [edi], eax
call fcn.100bf4d0
mov eax, dword [edi]
add esp, 4
mov ebx, dword [edi + 8]
test esi, 0x8000
je 0x100ba732
jmp 0x100ba796
mov eax, edx
jmp 0x100ba796
mov edi, dword [esp + 0x14]
cmp esi, ebp
cmovae esi, ebp
mov ecx, dword [edi]
mov ecx, dword [ecx + 0xc]
mov dword [edi], ecx
lea ecx, [eax + ebp]
mov edi, dword [esp + 0x48]
cmovae ecx, eax
mov eax, ecx
add esi, esi
add eax, eax
sub ebx, 1
jne 0x100ba78e
push edi
mov dword [edi], eax
call fcn.100bf4d0
mov eax, dword [edi]
add esp, 4
mov ebx, dword [edi + 8]
test esi, 0x8000
je 0x100ba775
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x30], eax
je 0x100ba9ac
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov edx, dword [ebp]
mov ebp, dword [ebp + 4]
lea ecx, [eax + 0x11]
shr ebp, cl
lea ecx, [eax + 0x13]
mov eax, dword [esp + 0x10]
and ebp, 4
mov eax, dword [eax - 4]
shr eax, cl
mov ecx, dword [esp + 0x28]
and eax, 1
or ebp, eax
mov eax, edx
shr eax, cl
and eax, 0xaa
or ebp, eax
cmp dword [esp + 0x24], 0
mov eax, edx
jne 0x100ba7e9
shr eax, 0xe
jmp 0x100ba7f2
add ecx, 0xc
shr eax, cl
mov ecx, dword [esp + 0x28]
add ecx, 0x10
and eax, 0x10
shr edx, cl
mov ecx, dword [esp + 0x4c]
and edx, 0x40
or edx, eax
or edx, ebp
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp]
and eax, 0x7fffffff
test ecx, ecx
je 0x100ba824
shr eax, cl
and eax, 0x7f
movzx eax, word [eax*2 + 0x101a8888]
jmp 0x100ba82f
and eax, 0x7f
movzx eax, word [eax*2 + 0x101a8988]
mov ecx, dword [esp + 0x50]
add edi, 0x1c
cwde
add dword [ecx], eax
movzx eax, byte [edx + 0x101a8688]
mov ebp, dword [ebp]
shr ebp, 0x1f
lea eax, [edi + eax*4]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
mov edi, dword [esp + 0x14]
mov ecx, dword [eax]
movzx eax, byte [edx + 0x101a8788]
mov edx, dword [edi]
xor eax, ebp
mov edi, dword [esp + 0x48]
cmp dword [edx + 4], eax
jne 0x100ba8c3
mov eax, dword [esp + 0x30]
sub esi, ecx
add eax, ecx
test esi, 0x8000
jne 0x100ba901
mov eax, dword [edx + 8]
cmp esi, ecx
mov edx, dword [esp + 0x14]
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov edx, eax
lea edx, [edx + ecx]
cmovae ecx, esi
cmovae eax, edx
mov esi, ecx
nop dword [eax]
add esi, esi
add eax, eax
sub ebx, 1
jne 0x100ba8b9
push edi
mov dword [edi], eax
call fcn.100bf4d0
mov eax, dword [edi]
add esp, 4
mov ebx, dword [edi + 8]
test esi, 0x8000
je 0x100ba8a0
jmp 0x100ba901
mov eax, dword [edx + 0xc]
sub esi, ecx
mov edx, dword [esp + 0x14]
cmp esi, ecx
cmovae esi, ecx
mov dword [edx], eax
mov edx, dword [esp + 0x30]
lea eax, [edx + ecx]
cmovae eax, edx
nop dword [eax]
add esi, esi
add eax, eax
sub ebx, 1
jne 0x100ba8f9
push edi
mov dword [edi], eax
call fcn.100bf4d0
mov eax, dword [edi]
add esp, 4
mov ebx, dword [edi + 8]
test esi, 0x8000
je 0x100ba8e0
test byte [esp + 0x54], 8
je 0x100ba917
cmp dword [esp + 0x24], 0
mov dword [esp + 0x3c], 1
je 0x100ba91f
mov dword [esp + 0x3c], 0
mov ecx, dword [edi + 0x7c]
mov edx, 0x20
mov edi, dword [esp + 0x10]
add ecx, 2
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x28]
shl edx, cl
or dword [edi - 4], edx
mov edx, ebp
shl edx, 0x13
or edx, 0x10
shl edx, cl
or dword [edi], edx
mov edx, 8
shl edx, cl
or dword [edi + 4], edx
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x48]
test edx, edx
jne 0x100ba98c
cmp dword [esp + 0x3c], 0
jne 0x100ba9b0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
shl ecx, 2
sub edx, ecx
shl ebp, 0x1f
or ebp, 0x10000
or dword [edx], ebp
or dword [edx - 4], 0x20000
or dword [edx + 4], 0x8000
jmp 0x100ba9ac
cmp edx, 3
jne 0x100ba9b0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
shl ebp, 0x12
or ebp, 2
or dword [edx + ecx*4], ebp
or dword [edx + ecx*4 - 4], 4
or dword [edx + ecx*4 + 4], 1
mov ecx, dword [esp + 0x28]
add dword [esp + 0x1c], 4
mov edx, 0x200000
shl edx, cl
mov ecx, dword [esp + 0x10]
not edx
and dword [ecx], edx
mov ebp, dword [ecx]
mov edx, dword [esp + 0x24]
mov ecx, dword [edi + 0x80]
inc edx
sub ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], edx
cmp edx, ecx
jb 0x100ba6b6
mov edx, dword [edi + 0x80]
mov ecx, edx
sub ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
lea ebp, [ebp + ecx*4]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ebp
inc ecx
mov ebp, dword [esp + 0x10]
add ebp, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ebp
cmp ecx, dword [edi + 0x7c]
jb 0x100ba674
mov ecx, dword [esp + 0x14]
mov dword [edi + 4], esi
mov dword [edi + 8], ebx
mov dword [edi + 0x68], ecx
mov dword [edi], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret