Function at 0x1002f9bc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x20]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x1c]
push 1
push eax
push edx
push ebx
call fcn.10026824
add esp, 0x10
test eax, eax
je 0x1002fa24
movzx edx, byte [ebp + 0x10]
test dl, 1
je 0x1002fa13
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
movzx eax, ax
mov esp, ebp
pop ebp
ret
push 0x100b600c
push ebx
push 2
push eax
call fcn.100149ac
add esp, 0x10
mov edx, dword [ebp - 0x1c]
movzx eax, byte [ebp + 0x10]
movzx ebx, byte [edx + 0x12b]
and ebx, 0xffffffbf
and eax, 1
shl eax, 6
or ebx, eax
movzx eax, byte [ebp + 0x10]
mov byte [edx + 0x12b], bl
mov edx, dword [ebp - 0x1c]
movzx ecx, byte [edx + 0x12b]
and ecx, 0x7f
and eax, 2
shr eax, 1
and eax, 1
shl eax, 7
or ecx, eax
movzx eax, byte [ebp + 0x12]
mov byte [edx + 0x12b], cl
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 0x12e]
and edx, 0xfffffff3
and eax, 0xffffffc0
shr eax, 6
and eax, 3
shl eax, 2
or edx, eax
mov byte [ecx + 0x12e], dl
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ebp + 0x13]
movzx eax, byte [ecx + 0x12e]
and eax, 0xffffffef
and edx, 1
shl edx, 4
or eax, edx
mov byte [ecx + 0x12e], al
movzx eax, byte [ebp + 0x13]
test eax, 0x80
je 0x1002fac3
lea eax, [ebp + 0x2b]
and eax, 0xfffffffc
mov edx, dword [eax]
mov dword [ebp - 0x20], edx
jmp 0x1002fac8
xor eax, eax
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
movzx eax, byte [ebx + 0x129]
test al, 0x20
je 0x100302b1
movzx eax, byte [ebx + 0x12a]
test al, 0x40
jne 0x1002fb99
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x100300bf
movzx eax, byte [edx + 0x3c]
test al, 2
je 0x1002fb37
mov dword [edx + 0x30], 0x101
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x18]
mov dword [edx + 0x34], 0x1f
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x64]
test eax, eax
je 0x1002fb25
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x64], edx
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov eax, 0x101
mov esp, ebp
pop ebp
ret
push 0x1f
push 0x101
movzx ecx, byte [ebx + 0x12b]
movzx esi, byte [ebx + 0x12c]
mov edx, ecx
and edx, 0x40
mov edi, 2
xor eax, eax
test edx, edx
setne al
test ecx, 0x80
mov edx, 4
jne 0x1002fb6f
mov edi, 0
test esi, 1
jne 0x1002fb7c
mov edx, 0
or eax, edi
or eax, edx
push eax
push 0xffffffffffffffff
push ebx
call fcn.10077ea0
add esp, 0x14
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
movzx edx, byte [ebx + 0x12b]
test dl, 8
je 0x1002fc4f
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x100300de
movzx eax, byte [ecx + 0x3c]
test al, 2
je 0x1002fbf7
mov dword [ecx + 0x30], 0x102
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x18]
mov dword [edx + 0x34], 0x1f
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x64]
test eax, eax
je 0x1002fbe5
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x64], edx
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov eax, 0x102
mov esp, ebp
pop ebp
ret
push 0x1f
push 0x102
mov ecx, edx
and ecx, 0x40
mov esi, 2
mov edi, 4
xor eax, eax
test ecx, ecx
setne al
test edx, 0x80
movzx edx, byte [ebx + 0x12c]
jne 0x1002fc28
mov esi, 0
test dl, 1
jne 0x1002fc32
mov edi, 0
or eax, esi
or eax, edi
push eax
push 0xffffffffffffffff
push ebx
call fcn.10077ea0
add esp, 0x14
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
test dl, 4
jne 0x1002fcfb
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x100300fd
movzx eax, byte [ecx + 0x3c]
test al, 2
je 0x1002fca3
mov eax, 0x22a
mov dword [ecx + 0x30], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x18]
mov dword [edx + 0x34], eax
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x1002fc91
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x64], edx
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov eax, 0x22a
mov esp, ebp
pop ebp
ret
mov ecx, edx
and ecx, 0x40
mov esi, 2
mov edi, 4
xor eax, eax
test ecx, ecx
setne al
test edx, 0x80
movzx edx, byte [ebx + 0x12c]
jne 0x1002fccd
mov esi, 0
test dl, 1
mov edx, 0x22a
push edx
push edx
jne 0x1002fcde
mov edi, 0
or eax, esi
or eax, edi
push eax
push 0xffffffffffffffff
push ebx
call fcn.10077ea0
add esp, 0x14
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
mov eax, esi
sub eax, 1
mov ecx, edi
sbb ecx, 0
jl 0x1002fd35
mov eax, dword [ebx + 0xa8]
test eax, eax
je 0x1002fdd8
mov dword [ebp - 0x24], edx
cdq
mov ecx, esi
sub ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, edi
sbb eax, edx
mov edx, dword [ebp - 0x24]
jl 0x1002fdd8
or ecx, eax
je 0x1002fdd8
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x1003011c
movzx eax, byte [ecx + 0x3c]
test al, 2
je 0x1002fd80
mov eax, 0x19
mov dword [ecx + 0x30], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x18]
mov dword [edx + 0x34], eax
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x1002fd6e
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x64], edx
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov eax, 0x19
mov esp, ebp
pop ebp
ret
mov ecx, edx
and ecx, 0x40
mov esi, 2
mov edi, 4
xor eax, eax
test ecx, ecx
setne al
test edx, 0x80
movzx edx, byte [ebx + 0x12c]
jne 0x1002fdaa
mov esi, 0
test dl, 1
mov edx, 0x19
push edx
push edx
jne 0x1002fdbb
mov edi, 0
or eax, esi
or eax, edi
push eax
push 0xffffffffffffffff
push ebx
call fcn.10077ea0
add esp, 0x14
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
movzx eax, byte [ebx + 0x12d]
test al, 1
jne 0x1003016f
mov dword [ebx + 0x90], esi
mov dword [ebx + 0x94], edi
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx + 0x58]
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x50], eax
mov eax, dword [ebp - 0x1c]
movzx edx, byte [ebp + 0x10]
mov dword [ebx], eax
test dl, 8
jne 0x1002fe52
mov eax, dword [ebp + 0x24]
mov dword [ebx + 8], eax
jmp 0x1002ff15
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x24]
call fcn.10018fd4
add esp, 8
test eax, eax
je 0x1002ff0b
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 0x18]
test ebx, ebx
je 0x1003013b
movzx ecx, byte [ebx + 0x3c]
test cl, 2
je 0x1002feae
mov dword [ebx + 0x30], eax
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x34], eax
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x1002fea1
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
push eax
push eax
movzx esi, byte [edx + 0x12b]
movzx edi, byte [edx + 0x12c]
mov ebx, esi
and ebx, 0x40
xor ecx, ecx
test ebx, ebx
setne cl
test esi, 0x80
mov ebx, 2
jne 0x1002fedc
mov ebx, 0
test edi, 1
mov esi, 4
jne 0x1002feee
mov esi, 0
or ecx, ebx
or ecx, esi
push ecx
push 0xffffffffffffffff
push edx
call fcn.10077ea0
add esp, 0x14
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
or byte [ebx + 0x4f], 2
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
movzx edx, byte [eax + 0x12b]
test dl, 0x10
je 0x1002ff2a
or byte [ebx + 0x4c], 1
jmp 0x1002ff2e
or byte [ebx + 0x4c], 2
push dword [ebp - 0x1c]
call fcn.1001c610
pop ecx
test eax, eax
je 0x1002ffe1
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 0x18]
test ebx, ebx
je 0x10030155
movzx ecx, byte [ebx + 0x3c]
test cl, 2
je 0x1002ff84
mov dword [ebx + 0x30], eax
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x34], eax
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x1002ff77
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
push eax
push eax
movzx esi, byte [edx + 0x12b]
movzx edi, byte [edx + 0x12c]
mov ebx, esi
and ebx, 0x40
xor ecx, ecx
test ebx, ebx
setne cl
test esi, 0x80
mov ebx, 2
jne 0x1002ffb2
mov ebx, 0
test edi, 1
mov esi, 4
jne 0x1002ffc4
mov esi, 0
or ecx, ebx
or ecx, esi
push ecx
push 0xffffffffffffffff
push edx
call fcn.10077ea0
add esp, 0x14
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1c]
add dword [eax + 0x90], 1
adc dword [eax + 0x94], 0
mov esi, dword [ebp - 0x1c]
and byte [esi + 0x12e], 0x7f
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 0x12e]
movzx edi, byte [ecx + 0x12d]
and edx, 0xfffffffe
and edi, 0xffffff80
shr edi, 7
and edi, 1
or edx, edi
mov byte [ecx + 0x12e], dl
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x50]
movzx ebx, byte [ecx + 0x128]
test bl, 1
je 0x10030053
movzx edx, byte [ecx + 0x12b]
test dl, 4
je 0x10030053
movsx edx, byte [ecx + 0x11d]
cmp edx, 2
jne 0x10030053
lea edx, [eax + 1]
mov dword [ecx + 0x3c], edx
jmp 0x10030056
mov dword [ecx + 0x3c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0xc0]
add edx, eax
mov dword [ecx + 0x44], edx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x3c]
mov dword [ebx + 0x48], eax
mov edi, dword [ebp - 0x1c]
mov esi, dword [edi + 0x3c]
mov dword [edi + 0x4c], esi
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + 0x128]
test al, 4
je 0x1003009e
movzx eax, byte [edx + 0x12a]
test al, 0x40
je 0x1003009e
movzx eax, byte [edx + 0x12b]
test al, 4
je 0x1003009e
add dword [edx + 0x44], 0xfffffffe
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push eax
push edx
push ecx
call sym.libifcoremd.dll_for_read_dir_fmt_xmit
add esp, 0xc
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
push ebx
push 0x1f
push 0x101
push 1
call fcn.10014254
add esp, 0x10
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
push ebx
push 0x1f
push 0x102
push 1
call fcn.10014254
add esp, 0x10
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
push ebx
mov eax, 0x22a
push eax
push eax
push 1
call fcn.10014254
add esp, 0x10
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
push ebx
mov eax, 0x19
push eax
push eax
push 1
call fcn.10014254
add esp, 0x10
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
push edx
push eax
push eax
push 1
call fcn.10014254
add esp, 0x10
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
push edx
push eax
push eax
push 1
call fcn.10014254
add esp, 0x10
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push 0
push eax
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebx + 0x40]
sub edx, ecx
push edx
push ecx
push dword [ebx + 0xb4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x100302a4
mov ecx, eax
mov eax, dword [ebx + 0x38]
and byte [ebx + 0x12d], 0xfe
mov dword [ebx + 0x40], eax
add eax, dword [ebx + 0xc0]
mov dword [ebx + 0x44], eax
xor edx, edx
mov dword [ebx + 0xa0], edx
mov dword [ebx + 0xa4], edx
cmp ecx, 0xffffffff
je 0x100301c9
mov ebx, dword [ebp - 0x1c]
jmp 0x1002fde7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0xb8], eax
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x18]
test ecx, ecx
je 0x10030285
movzx eax, byte [ecx + 0x3c]
test al, 2
je 0x10030223
mov eax, 0x26
mov dword [ecx + 0x30], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x18]
mov dword [edx + 0x34], eax
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x10030211
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x64], edx
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov eax, 0x26
mov esp, ebp
pop ebp
ret
movzx ebx, byte [edx + 0x12b]
movzx esi, byte [edx + 0x12c]
mov ecx, ebx
and ecx, 0x40
mov edi, 2
xor eax, eax
test ecx, ecx
setne al
test ebx, 0x80
jne 0x1003024f
mov edi, 0
test esi, 1
mov ecx, 4
jne 0x10030261
mov ecx, 0
or eax, edi
or eax, ecx
mov ecx, 0x26
push ecx
push ecx
push eax
push 0xffffffffffffffff
push edx
call fcn.10077ea0
add esp, 0x14
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
push edx
mov eax, 0x26
push eax
push eax
push 1
call fcn.10014254
add esp, 0x10
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
mov eax, 0xffffffff
mov dword [ebp - 0x20], eax
jmp 0x10030196
movzx edx, byte [ebp + 0x10]
movzx eax, byte [ebx + 0x128]
and eax, 0xfffffffe
and edx, 0xffffff80
shr edx, 7
and edx, 1
or eax, edx
movzx edx, byte [ebp + 0x12]
mov byte [ebx + 0x128], al
mov ecx, dword [ebp - 0x1c]
movzx eax, byte [ecx + 0x128]
and eax, 0xfffffffd
movzx ebx, byte [ebp + 0x13]
and edx, 4
shr edx, 2
and edx, 1
add edx, edx
or eax, edx
mov byte [ecx + 0x128], al
mov ecx, dword [ebp - 0x1c]
movzx eax, byte [ecx + 0x128]
and ebx, 8
shr ebx, 3
and ebx, 1
and eax, 0xfffffffb
mov edx, ebx
shl edx, 2
or eax, edx
movzx edx, byte [ebp + 0x13]
mov byte [ecx + 0x128], al
mov ecx, dword [ebp - 0x1c]
movzx eax, byte [ecx + 0x128]
and eax, 0xfffffff7
and edx, 4
shr edx, 2
and edx, 1
shl edx, 3
or eax, edx
mov byte [ecx + 0x128], al
mov edx, ebx
shl edx, 5
mov ecx, dword [ebp - 0x1c]
movzx eax, byte [ecx + 0x128]
and eax, 0xffffffdf
or eax, edx
movzx edx, byte [ebp + 0x13]
mov byte [ecx + 0x128], al
mov ecx, dword [ebp - 0x1c]
movzx eax, byte [ecx + 0x131]
and eax, 0xfffffffe
and edx, 0x10
shr edx, 4
and edx, 1
or eax, edx
mov byte [ecx + 0x131], al
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + 0x131]
and eax, 0xfffffffd
add ebx, ebx
or eax, ebx
mov byte [edx + 0x131], al
mov ebx, dword [ebp - 0x1c]
movzx eax, byte [ebx + 0x128]
and eax, 0xffffffbf
movzx edx, byte [ebp + 0x13]
and edx, 0x20
shr edx, 5
and edx, 1
mov ecx, edx
shl ecx, 6
or eax, ecx
mov byte [ebx + 0x128], al
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
movzx eax, byte [ecx + 0x128]
and eax, 0x7f
shl edx, 7
or eax, edx
mov byte [ecx + 0x128], al
mov edx, dword [ebp - 0x1c]
movzx ecx, byte [edx + 0x129]
and ecx, 0xfffffffe
mov eax, ebx
and eax, 1
or ecx, eax
mov byte [edx + 0x129], cl
mov eax, ebx
and eax, 2
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 0x131]
and edx, 0xfffffff7
shr eax, 1
and eax, 1
shl eax, 3
or edx, eax
mov byte [ecx + 0x131], dl
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + 0x129]
and eax, 0xfffffff9
and ebx, 0xc
shr ebx, 2
and ebx, 3
add ebx, ebx
or eax, ebx
mov byte [edx + 0x129], al
mov eax, 1
push eax
push eax
push 2
push dword [ebp - 0x1c]
call fcn.1002b098
add esp, 0x10
test eax, eax
je 0x100304ef
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 0x18]
test ebx, ebx
je 0x100304f7
movzx ecx, byte [ebx + 0x3c]
test cl, 2
je 0x10030492
mov dword [ebx + 0x30], eax
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x34], eax
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x10030485
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
push eax
push eax
movzx esi, byte [edx + 0x12b]
movzx edi, byte [edx + 0x12c]
mov ebx, esi
and ebx, 0x40
xor ecx, ecx
test ebx, ebx
setne cl
test esi, 0x80
mov ebx, 2
jne 0x100304c0
mov ebx, 0
test edi, 1
mov esi, 4
jne 0x100304d2
mov esi, 0
or ecx, ebx
or ecx, esi
push ecx
push 0xffffffffffffffff
push edx
call fcn.10077ea0
add esp, 0x14
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x1c]
jmp 0x1002fada
push edx
push eax
push eax
push 2
call fcn.10014254
add esp, 0x10
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret