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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x48], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x18], 0
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0xa2
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x1c], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x102dd2d
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x18]
and edx, 6
je 0x102dcd9
mov dword [ebp + 0xc], 0
jmp 0x102dd2d
mov dword [ebp - 0x1c], 0
jmp 0x102dceb
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ecx + 0x14]
jge 0x102dd2d
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
shl ecx, 4
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ecx]
push ecx
call fcn.00ff2110
add esp, 8
test eax, eax
jne 0x102dd2b
mov edx, dword [ebp - 0x1c]
shl edx, 4
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edx + 0xc]
mov dword [ebp - 0x34], edx
jmp 0x102dd2d
jmp 0x102dce2
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0
je 0x102dfc9
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x40]
add edx, 8
mov dword [ebp - 0x14], edx
jmp 0x102dd64
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x48
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edx]
jge 0x102df81
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x14], 0
je 0x102de29
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 8]
and eax, 0x800
je 0x102de29
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 8], 0
jmp 0x102ddc0
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
cmp eax, dword [edx]
jge 0x102de18
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0x14]
push eax
imul ecx, dword [ebp - 8], 0x18
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + ecx + 0xc]
push eax
call fcn.0102da90
add esp, 0x10
test eax, eax
je 0x102de16
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], 2
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0x1c]
mov cx, word [ebp - 8]
mov word [eax + 0x20], cx
mov dword [ebp - 0x54], 1
jmp 0x102ddb7
cmp dword [ebp - 0x54], 0
jne 0x102de24
cmp dword [ebp + 0x10], 0
jne 0x102de29
jmp 0x102dd52
cmp dword [ebp + 0xc], 0
je 0x102de3f
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x48]
cmp eax, dword [ebp - 0x34]
je 0x102de3f
jmp 0x102dd52
cmp dword [ebp + 0x10], 0
je 0x102dead
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0xc], 0
je 0x102de59
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x58], eax
jmp 0x102de61
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x74]
push edx
call fcn.00ff2110
add esp, 8
test eax, eax
je 0x102de80
jmp 0x102dd52
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xc8]
cmp ecx, 2
jl 0x102dead
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0xc], 0
je 0x102dead
mov eax, dword [ebp + 0x1c]
add eax, 0x2c
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.010399a0
add esp, 0xc
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x78], 0
jne 0x102dec8
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ebp - 0x28], eax
jmp 0x102deec
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x28]
add edx, 0x10
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x2a]
cmp dword [ebp - 8], ecx
jge 0x102df7c
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push ecx
call fcn.00ff2110
add esp, 8
test eax, eax
jne 0x102df77
cmp dword [ebp - 0x10], 1
jne 0x102df3f
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x24]
and eax, 4
je 0x102df26
jmp 0x102deda
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x34]
push eax
call fcn.0102da30
add esp, 8
test eax, eax
je 0x102df3f
jmp 0x102deda
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x28]
cmp dword [ebp - 8], ecx
jne 0x102df63
mov dword [ebp - 0x5c], 0xffffffff
jmp 0x102df6a
movsx edx, word [ebp - 8]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp + 0x1c]
mov cx, word [ebp - 0x5c]
mov word [eax + 0x20], cx
jmp 0x102df7c
jmp 0x102deda
jmp 0x102dd52
cmp dword [ebp - 0x18], 0
je 0x102dfc9
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + 0x24]
and eax, 8
je 0x102dfbd
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 4]
or edx, 0x100000
mov eax, dword [ebp + 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx + 0x48]
mov dword [ebp - 0x34], eax
cmp dword [ebp + 0xc], 0
jne 0x102e26e
cmp dword [ebp + 0x10], 0
je 0x102e26e
cmp dword [ebp - 0x20], 0
jne 0x102e26e
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x78], 0
je 0x102e062
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x90]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x7c
je 0x102e034
mov ecx, dword [ebp + 0x10]
push ecx
push 0xd40c2c
call fcn.00ff2110
add esp, 8
test eax, eax
jne 0x102e034
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x1c], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 4], ecx
jmp 0x102e062
cmp dword [ebp - 0x60], 0x7b
je 0x102e062
mov edx, dword [ebp + 0x10]
push edx
push 0xd40c30
call fcn.00ff2110
add esp, 8
test eax, eax
jne 0x102e062
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x78]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x18]
and ecx, 0x200
je 0x102e0b3
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 8]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x102e0b3
mov ecx, dword [ebp + 0x10]
push ecx
push 0xd40c34
call fcn.00ff2110
add esp, 8
test eax, eax
jne 0x102e0b3
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x14]
mov ecx, 0x48
imul edx, ecx, 0
mov eax, dword [eax + edx + 0x18]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x1c], 2
cmp dword [ebp - 4], 0
je 0x102e26e
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x48]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ebp - 0x28], eax
jmp 0x102e0f3
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x28]
add edx, 0x10
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x2a]
cmp dword [ebp - 0xc], ecx
jge 0x102e12c
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push ecx
call fcn.00ff2110
add esp, 8
test eax, eax
jne 0x102e12a
mov edx, dword [ebp - 4]
movsx eax, word [edx + 0x28]
cmp dword [ebp - 0xc], eax
jne 0x102e128
mov dword [ebp - 0xc], 0xffffffff
jmp 0x102e12c
jmp 0x102e0e1
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 0x2a]
cmp dword [ebp - 0xc], edx
jl 0x102e15a
mov eax, dword [ebp + 0x14]
push eax
call fcn.01033510
add esp, 4
test eax, eax
je 0x102e15a
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x24]
and edx, 0x40
jne 0x102e15a
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x2a]
cmp dword [ebp - 0xc], ecx
jge 0x102e26e
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x1c]
cmp dword [eax + 0x1c], 2
jne 0x102e1d7
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0xc8]
cmp edx, 2
jl 0x102e1a8
mov eax, dword [ebp + 0x1c]
mov cx, word [ebp - 0xc]
mov word [eax + 0x20], cx
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov dword [ebp - 0x3c], 0xa2
jmp 0x102e1d2
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0x18]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x1c], eax
mov dword [ebp - 0x3c], 0xab
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 4]
or eax, 0x400000
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 4], eax
jmp 0x102e26e
cmp dword [ebp - 0xc], 0
jge 0x102e1e6
mov edx, dword [ebp + 0x1c]
mov byte [edx + 1], 0x44
jmp 0x102e253
mov eax, dword [ebp + 0x1c]
cmp dword [eax + 0x1c], 0
jne 0x102e222
cmp dword [ebp - 0xc], 0x20
jl 0x102e1fe
mov dword [ebp - 0x68], 0xffffffff
jmp 0x102e20b
mov edx, 1
mov ecx, dword [ebp - 0xc]
shl edx, cl
mov dword [ebp - 0x68], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x88]
or ecx, dword [ebp - 0x68]
mov edx, dword [ebp + 8]
mov dword [edx + 0x88], ecx
jmp 0x102e253
cmp dword [ebp - 0xc], 0x20
jl 0x102e231
mov dword [ebp - 0x6c], 0xffffffff
jmp 0x102e23e
mov eax, 1
mov ecx, dword [ebp - 0xc]
shl eax, cl
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x8c]
or edx, dword [ebp - 0x6c]
mov eax, dword [ebp + 8]
mov dword [eax + 0x8c], edx
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp + 0x1c]
mov cx, word [ebp - 0xc]
mov word [eax + 0x20], cx
mov dword [ebp - 0x3c], 0x4d
cmp dword [ebp - 0x10], 0
jne 0x102e2c1
cmp dword [ebp - 0x20], 1
jne 0x102e2c1
cmp dword [ebp - 0x18], 0
je 0x102e2c1
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x18]
and eax, 0x20
jne 0x102e2c1
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.01033510
add esp, 4
test eax, eax
je 0x102e2c1
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 0x24]
and ecx, 0x40
jne 0x102e2c1
mov dword [ebp - 0x10], 1
or edx, 0xffffffff
mov eax, dword [ebp + 0x1c]
mov word [eax + 0x20], dx
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + 1], 0x44
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x18]
and eax, 0x80
je 0x102e442
cmp dword [ebp - 0x10], 0
jne 0x102e442
cmp dword [ebp + 0x10], 0
jne 0x102e442
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 8], 0
jmp 0x102e301
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx]
jge 0x102e442
imul eax, dword [ebp - 8], 0x18
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + eax + 8]
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 0
je 0x102e43d
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.00ff2110
add esp, 8
test eax, eax
jne 0x102e43d
imul edx, dword [ebp - 8], 0x18
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + edx + 4]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x18]
and eax, 1
jne 0x102e382
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 4]
and edx, 0x10
je 0x102e382
mov eax, dword [ebp - 0x38]
push eax
push 0xd40c40
mov ecx, dword [ebp + 8]
push ecx
call fcn.00ff1eb0
add esp, 0xc
mov eax, 2
jmp 0x102e679
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x18]
and eax, 0x4000
jne 0x102e3bc
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 4]
and edx, 0x8000
je 0x102e3bc
mov eax, dword [ebp - 0x38]
push eax
push 0xd40c60
mov ecx, dword [ebp + 8]
push ecx
call fcn.00ff1eb0
add esp, 0xc
mov eax, 2
jmp 0x102e679
mov edx, dword [ebp - 0x44]
push edx
call fcn.01030a60
add esp, 4
cmp eax, 1
je 0x102e3e8
push 0xd40c88
mov eax, dword [ebp + 8]
push eax
call fcn.00ff1eb0
add esp, 8
mov eax, 2
jmp 0x102e679
mov ecx, dword [ebp - 0x48]
push ecx
push 0xd3b81a
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0102d8f0
add esp, 0x18
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xc8]
cmp ecx, 2
jl 0x102e438
mov edx, dword [ebp + 0x1c]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.010399a0
add esp, 0xc
jmp 0x102e618
jmp 0x102e2f8
cmp dword [ebp - 0x10], 0
je 0x102e44a
jmp 0x102e466
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0xc]
mov dword [ebp + 0x18], edx
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x48], eax
cmp dword [ebp + 0x18], 0
jne 0x102dd2d
cmp dword [ebp - 0x10], 0
jne 0x102e4d8
cmp dword [ebp + 0x10], 0
jne 0x102e4d8
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 4]
and edx, 0x40
je 0x102e4be
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0102dba0
add esp, 8
test eax, eax
je 0x102e4be
mov edx, dword [ebp + 0x14]
push edx
push 0xd40c9c
push 0x1c
call fcn.00ff0a00
add esp, 0xc
mov eax, dword [ebp + 0x1c]
mov byte [eax], 0x71
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x2c], 0
mov eax, 1
jmp 0x102e679
mov edx, dword [ebp + 0x1c]
push edx
call fcn.01032cb0
add esp, 4
test eax, eax
je 0x102e4d8
mov eax, 1
jmp 0x102e679
cmp dword [ebp - 0x10], 1
je 0x102e57b
cmp dword [ebp - 0x10], 0
jne 0x102e4f1
mov dword [ebp - 0x70], 0xd40cc0
jmp 0x102e4f8
mov dword [ebp - 0x70], 0xd40cd0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x4c], eax
cmp dword [ebp + 0xc], 0
je 0x102e527
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
push 0xd40ce8
mov edx, dword [ebp + 8]
push edx
call fcn.00ff1eb0
add esp, 0x18
jmp 0x102e565
cmp dword [ebp + 0x10], 0
je 0x102e54c
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
push 0xd40cf8
mov eax, dword [ebp + 8]
push eax
call fcn.00ff1eb0
add esp, 0x14
jmp 0x102e565
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
push 0xd40d04
mov eax, dword [ebp + 8]
push eax
call fcn.00ff1eb0
add esp, 0x10
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x11], 1
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x14]
add eax, 1
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp + 0x1c]
movsx eax, word [edx + 0x20]
test eax, eax
jl 0x102e5c4
cmp dword [ebp - 0x18], 0
je 0x102e5c4
mov ecx, dword [ebp + 0x1c]
movsx edx, word [ecx + 0x20]
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0x50], 0x40
jl 0x102e5a3
mov dword [ebp - 0x50], 0x3f
mov eax, 1
xor edx, edx
mov ecx, dword [ebp - 0x50]
call fcn.010e0940
mov ecx, dword [ebp - 0x18]
or eax, dword [ecx + 0x38]
or edx, dword [ecx + 0x3c]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], edx
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.01031930
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0xc], 0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.01031930
add esp, 8
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp + 0x1c]
mov dl, byte [ebp - 0x3c]
mov byte [ecx], dl
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 4]
or ecx, 0x800000
mov edx, dword [ebp + 0x1c]
mov dword [edx + 4], ecx
cmp dword [ebp - 0x10], 1
jne 0x102e674
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 4]
and ecx, 0x400000
jne 0x102e647
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0103e080
add esp, 0x10
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x10]
add edx, 1
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp + 0x18]
jne 0x102e660
jmp 0x102e66b
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x24], eax
jmp 0x102e647
mov eax, 1
jmp 0x102e679
mov eax, 2
mov esp, ebp
pop ebp
ret