Function at 0x1002d7a8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
lea edx, [ebp - 0x14]
push 1
push edi
push edx
push ebx
call fcn.10026824
add esp, 0x10
test eax, eax
je 0x1002d804
movzx edx, byte [ebp + 0x10]
test dl, 1
je 0x1002d7f3
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
movzx eax, ax
mov esp, ebp
pop ebp
ret
push 0x100b600c
push ebx
push 2
push eax
call fcn.100149ac
add esp, 0x10
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ebp + 0x10]
movzx eax, byte [ecx + 0x12b]
and eax, 0xffffffbf
and edx, 1
shl edx, 6
or eax, edx
mov byte [ecx + 0x12b], al
mov edx, dword [ebp - 0x14]
movzx eax, byte [ebp + 0x10]
movzx ebx, byte [edx + 0x12b]
and ebx, 0x7f
and eax, 2
shr eax, 1
and eax, 1
shl eax, 7
or ebx, eax
mov byte [edx + 0x12b], bl
mov ebx, dword [ebp - 0x14]
movzx eax, byte [ebx + 0x129]
test al, 0x20
je 0x1002e045
movzx eax, byte [ebx + 0x12a]
test al, 0x40
je 0x1002d918
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x1002de19
movzx eax, byte [edx + 0x3c]
test al, 2
je 0x1002d8b6
mov dword [edx + 0x30], 0x101
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x18]
mov dword [edx + 0x34], 0x1f
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x64]
test eax, eax
je 0x1002d8a4
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x64], edx
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
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 0x1002d8ee
mov edi, 0
test esi, 1
jne 0x1002d8fb
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 - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
movzx edx, byte [ebx + 0x12b]
test dl, 8
je 0x1002d9ce
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x1002de38
movzx eax, byte [ecx + 0x3c]
test al, 2
je 0x1002d976
mov dword [ecx + 0x30], 0x102
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x18]
mov dword [edx + 0x34], 0x1f
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x64]
test eax, eax
je 0x1002d964
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x64], edx
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
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 0x1002d9a7
mov esi, 0
test dl, 1
jne 0x1002d9b1
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 - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
test dl, 4
jne 0x1002da7a
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x1002de57
movzx eax, byte [ecx + 0x3c]
test al, 2
je 0x1002da22
mov eax, 0x22a
mov dword [ecx + 0x30], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
mov dword [edx + 0x34], eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x1002da10
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x64], edx
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
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 0x1002da4c
mov esi, 0
test dl, 1
mov edx, 0x22a
push edx
push edx
jne 0x1002da5d
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 - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], ecx
sub ecx, 1
mov dword [ebp - 0x1c], eax
sbb eax, 0
jl 0x1002dabf
mov eax, dword [ebx + 0xa8]
test eax, eax
je 0x1002db62
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
cdq
sub ecx, eax
mov eax, dword [ebp - 0x1c]
sbb eax, edx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
jl 0x1002db62
or ecx, dword [ebp - 0x24]
je 0x1002db62
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x1002de76
movzx eax, byte [ecx + 0x3c]
test al, 2
je 0x1002db0a
mov eax, 0x19
mov dword [ecx + 0x30], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
mov dword [edx + 0x34], eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x1002daf8
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x64], edx
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
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 0x1002db34
mov esi, 0
test dl, 1
mov edx, 0x19
push edx
push edx
jne 0x1002db45
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 - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
movzx eax, byte [ebx + 0x12d]
test al, 1
jne 0x1002defd
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x94], edx
mov ecx, dword [ebp - 0x14]
and byte [ecx + 0x12f], 0xef
mov ebx, dword [ebp - 0x14]
and byte [ebx + 0x12f], 0xf7
mov eax, dword [ebp - 0x14]
movzx edx, byte [eax + 0x131]
test dl, 0x10
jne 0x1002dbb6
movsx edx, byte [eax + 0x11c]
cmp edx, 1
je 0x1002de95
and byte [eax + 0x12f], 0xfb
push dword [ebp - 0x14]
call fcn.1001c610
pop ecx
test eax, eax
je 0x1002dc70
mov edx, dword [ebp - 0x14]
mov ebx, dword [edx + 0x18]
test ebx, ebx
je 0x1002dec9
movzx ecx, byte [ebx + 0x3c]
test cl, 2
je 0x1002dc13
mov dword [ebx + 0x30], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x34], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x1002dc06
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
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 0x1002dc41
mov ebx, 0
test edi, 1
mov esi, 4
jne 0x1002dc53
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 - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
add dword [eax + 0x90], 1
adc dword [eax + 0x94], 0
mov edx, dword [ebp - 0x14]
and byte [edx + 0x12e], 0x7f
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x50]
movzx ecx, byte [edx + 0x128]
test cl, 1
je 0x1002dcbd
movzx ecx, byte [edx + 0x12b]
test cl, 4
je 0x1002dcbd
movsx ecx, byte [edx + 0x11d]
cmp ecx, 2
jne 0x1002dcbd
lea ecx, [eax + 1]
mov dword [edx + 0x3c], ecx
jmp 0x1002dcc0
mov dword [edx + 0x3c], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc0]
add edx, eax
mov eax, dword [ebp - 4]
mov dword [ecx + 0x44], edx
push eax
push esi
push edi
call sym.libifcoremd.dll_for_read_dir_xmit
add esp, 0xc
mov ebx, eax
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x12f]
test al, 4
je 0x1002de0a
and eax, 0xfffffffb
mov byte [edx + 0x12f], al
push dword [ebp - 0x14]
call fcn.1001c610
pop ecx
test eax, eax
je 0x1002ddac
mov edx, dword [ebp - 0x14]
mov ebx, dword [edx + 0x18]
test ebx, ebx
je 0x1002dee3
movzx ecx, byte [ebx + 0x3c]
test cl, 2
je 0x1002dd4f
mov dword [ebx + 0x30], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x34], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x1002dd42
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
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 0x1002dd7d
mov ebx, 0
test edi, 1
mov esi, 4
jne 0x1002dd8f
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 - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
add dword [eax + 0x90], 1
adc dword [eax + 0x94], 0
mov edx, dword [ebp - 0x14]
and byte [edx + 0x12e], 0x7f
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x50]
movzx ecx, byte [eax + 0x128]
test cl, 1
je 0x1002ddf9
movzx ecx, byte [eax + 0x12b]
test cl, 4
je 0x1002ddf9
movsx ecx, byte [eax + 0x11d]
cmp ecx, 2
jne 0x1002ddf9
lea ecx, [edx + 1]
mov dword [eax + 0x3c], ecx
jmp 0x1002ddfc
mov dword [eax + 0x3c], edx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0xc0]
add eax, edx
mov dword [ecx + 0x44], eax
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov eax, ebx
mov ebx, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
push ebx
push 0x1f
push 0x101
push 1
call fcn.10014254
add esp, 0x10
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push ebx
push 0x1f
push 0x102
push 1
call fcn.10014254
add esp, 0x10
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
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 - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
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 - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
movzx edx, byte [eax + 0x128]
test dl, 1
je 0x1002debd
movzx edx, byte [eax + 0x12b]
test dl, 4
je 0x1002debd
movsx edx, byte [eax + 0x11d]
cmp edx, 2
je 0x1002dbb6
or byte [eax + 0x12f], 4
jmp 0x1002dc8b
push edx
push eax
push eax
push 1
call fcn.10014254
add esp, 0x10
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push edx
push eax
push eax
push 1
call fcn.10014254
add esp, 0x10
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
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]
test eax, eax
je 0x1002e03b
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebx + 0xc0]
and byte [ebx + 0x12d], 0xfe
mov dword [ebx + 0x40], ecx
add ecx, edx
mov dword [ebx + 0x44], ecx
xor edx, edx
mov dword [ebx + 0xa0], edx
mov dword [ebx + 0xa4], edx
cmp eax, 0xffffffff
je 0x1002df60
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
jmp 0x1002db71
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0xb8], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x18]
test ecx, ecx
je 0x1002e01c
movzx eax, byte [ecx + 0x3c]
test al, 2
je 0x1002dfba
mov eax, 0x26
mov dword [ecx + 0x30], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
mov dword [edx + 0x34], eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x1002dfa8
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x64], edx
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
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 0x1002dfe6
mov edi, 0
test esi, 1
mov ecx, 4
jne 0x1002dff8
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 - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
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 - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, 0xffffffff
jmp 0x1002df21
movzx ecx, byte [ebp + 0x10]
movzx edx, byte [ebx + 0x128]
and edx, 0xfffffffe
and ecx, 0xffffff80
shr ecx, 7
and ecx, 1
or edx, ecx
mov byte [ebx + 0x128], dl
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ebp + 0x12]
movzx eax, byte [ecx + 0x128]
and eax, 0xfffffffd
and edx, 4
shr edx, 2
and edx, 1
add edx, edx
or eax, edx
mov byte [ecx + 0x128], al
mov edx, dword [ebp - 0x14]
movzx eax, byte [ebp + 0x13]
movzx ebx, byte [edx + 0x128]
and eax, 8
shr eax, 3
and eax, 1
mov dword [ebp - 0x18], eax
and ebx, 0xfffffffb
shl eax, 2
or ebx, eax
movzx eax, byte [ebp + 0x13]
mov byte [edx + 0x128], bl
test eax, 0x80
je 0x1002e0c8
lea eax, [ebp + 0x27]
and eax, 0xfffffffc
mov edx, dword [eax]
mov dword [ebp - 0x1c], edx
jmp 0x1002e0cd
xor eax, eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ebp + 0x13]
movzx eax, byte [ecx + 0x128]
and eax, 0xfffffff7
and edx, 4
shr edx, 2
and edx, 1
shl edx, 3
or eax, edx
mov edx, dword [ebp - 0x18]
mov byte [ecx + 0x128], al
mov ecx, edx
mov ebx, dword [ebp - 0x14]
movzx eax, byte [ebx + 0x128]
and eax, 0xffffffdf
shl ecx, 5
or eax, ecx
movzx ecx, byte [ebp + 0x13]
mov byte [ebx + 0x128], al
mov ebx, dword [ebp - 0x14]
movzx eax, byte [ebx + 0x131]
and eax, 0xfffffffe
and ecx, 0x10
shr ecx, 4
and ecx, 1
or eax, ecx
mov byte [ebx + 0x131], al
add edx, edx
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + 0x131]
and eax, 0xfffffffd
or eax, edx
movzx edx, byte [ebp + 0x13]
mov byte [ecx + 0x131], al
mov ebx, dword [ebp - 0x14]
movzx eax, byte [ebx + 0x128]
and edx, 0x20
shr edx, 5
and edx, 1
and eax, 0xffffffbf
mov ecx, edx
shl ecx, 6
or eax, ecx
mov byte [ebx + 0x128], al
shl edx, 7
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + 0x128]
and eax, 0x7f
or eax, edx
mov byte [ecx + 0x128], al
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
movzx ebx, byte [ecx + 0x129]
and ebx, 0xfffffffe
mov edx, eax
and edx, 1
or ebx, edx
mov byte [ecx + 0x129], bl
mov ebx, dword [ebp - 0x14]
movzx ecx, byte [ebx + 0x131]
and ecx, 0xfffffff7
mov edx, eax
and edx, 2
shr edx, 1
and edx, 1
shl edx, 3
or ecx, edx
mov byte [ebx + 0x131], cl
mov ecx, dword [ebp - 0x14]
movzx ebx, byte [ebp + 0x12]
movzx edx, byte [ecx + 0x129]
and edx, 0xfffffff9
and eax, 0xc
shr eax, 2
and eax, 3
add eax, eax
or edx, eax
movsx eax, byte [ebp + 0x11]
mov byte [ecx + 0x129], dl
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
movzx eax, byte [ecx + 0x12d]
and ebx, 1
and eax, 0xfffffff7
mov edx, ebx
and edx, 1
shl edx, 3
or eax, edx
mov byte [ecx + 0x12d], al
test ebx, ebx
jne 0x1002e221
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1002e237
cmp eax, 0xffffffff
je 0x1002e237
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
or byte [eax + 0x12d], 4
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x120], dl
mov eax, 2
push eax
push 1
push eax
push dword [ebp - 0x14]
call fcn.1002b098
add esp, 0x10
test eax, eax
je 0x1002e2f5
mov edx, dword [ebp - 0x14]
mov ebx, dword [edx + 0x18]
test ebx, ebx
je 0x1002e2fd
movzx ecx, byte [ebx + 0x3c]
test cl, 2
je 0x1002e298
mov dword [ebx + 0x30], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x18]
mov dword [ecx + 0x34], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x64]
test edx, edx
je 0x1002e28b
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x64], ecx
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
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 0x1002e2c6
mov ebx, 0
test edi, 1
mov esi, 4
jne 0x1002e2d8
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 - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x14]
jmp 0x1002d859
push edx
push eax
push eax
push 2
call fcn.10014254
add esp, 0x10
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret