Function at 0x4343e0
Capabilities:
Write file on windows

Disassembly:
push edi
pop edi
push ebp
push esp
pop ebp
mov eax, 0x3c90
call fcn.004193a0
mov eax, dword [0x45ba3c]
xor eax, ebp
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x10], 0
jne 0x434421
xor eax, eax
jmp 0x434f12
xor ecx, ecx
cmp dword [ebp + 0xc], 0
setne cl
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
jne 0x434451
push str._buf___NULL_
push 0
push 0x6d
push str.f:dd_vctoolscrt_bld_self_x86crt_srcwrite.c
push 2
call fcn.0040ffe0
add esp, 0x14
cmp eax, 1
jne 0x434451
int3
cmp dword [ebp - 0x20], 0
jne 0x434490
call fcn.0040fc80
mov dword [eax], 0
call fcn.0040fc50
mov dword [eax], 0x16
push 0
push 0x6d
push str.f:dd_vctoolscrt_bld_self_x86crt_srcwrite.c
push str._write_nolock
push str._buf___NULL_
call fcn.0040f6b0
add esp, 0x14
or eax, 0xffffffff
jmp 0x434f12
mov eax, dword [ebp + 8]
sar eax, 5
mov ecx, dword [ebp + 8]
and ecx, 0x1f
shl ecx, 6
mov edx, dword [eax*4 + 0x45f140]
mov al, byte [edx + ecx + 0x24]
shl al, 1
sar al, 1
mov byte [ebp - 5], al
movsx ecx, byte [ebp - 5]
cmp ecx, 2
je 0x4344c3
movsx edx, byte [ebp - 5]
cmp edx, 1
jne 0x434532
mov eax, dword [ebp + 0x10]
and eax, 1
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x24], eax
jne 0x4344f3
push str.__cnt__1___0_
push 0
push 0x75
push str.f:dd_vctoolscrt_bld_self_x86crt_srcwrite.c
push 2
call fcn.0040ffe0
add esp, 0x14
cmp eax, 1
jne 0x4344f3
int3
cmp dword [ebp - 0x24], 0
jne 0x434532
call fcn.0040fc80
mov dword [eax], 0
call fcn.0040fc50
mov dword [eax], 0x16
push 0
push 0x75
push str.f:dd_vctoolscrt_bld_self_x86crt_srcwrite.c
push str._write_nolock
push str.__cnt__1___0_
call fcn.0040f6b0
add esp, 0x14
or eax, 0xffffffff
jmp 0x434f12
mov edx, dword [ebp + 8]
sar edx, 5
mov eax, dword [ebp + 8]
and eax, 0x1f
shl eax, 6
mov ecx, dword [edx*4 + 0x45f140]
movsx edx, byte [ecx + eax + 4]
and edx, 0x20
je 0x434564
push 2
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.004340c0
add esp, 0x10
mov ecx, dword [ebp + 8]
push ecx
call fcn.00434ff0
add esp, 4
or eax, eax
je 0x4345d8
mov edx, dword [ebp + 8]
sar edx, 5
mov eax, dword [ebp + 8]
and eax, 0x1f
shl eax, 6
mov ecx, dword [edx*4 + 0x45f140]
movsx edx, byte [ecx + eax + 4]
and edx, 0x80
je 0x4345d8
call fcn.0040aa10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x6c]
sub edx, edx
cmp dword [ecx + 0x14], 0
sete dl
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
sar ecx, 5
mov edx, dword [ebp + 8]
and edx, 0x1f
shl edx, 6
mov eax, dword [ecx*4 + 0x45f140]
mov ecx, dword [eax + edx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4349a2
cmp dword [ebp - 0x1c], 0
je 0x4345f4
movsx edx, byte [ebp - 5]
test edx, edx
je 0x4349a2
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp + 0x10]
jae 0x43499d
movsx edx, byte [ebp - 5]
or edx, edx
jne 0x4347cd
mov eax, dword [ebp - 0x30]
movsx ecx, byte [eax]
sub edx, edx
cmp ecx, 0xa
sete dl
mov dword [ebp - 0x50], edx
mov eax, dword [ebp + 8]
sar eax, 5
mov ecx, dword [ebp + 8]
and ecx, 0x1f
shl ecx, 6
mov edx, dword [eax*4 + 0x45f140]
cmp dword [edx + ecx + 0x38], 0
je 0x43470b
mov eax, dword [ebp + 8]
sar eax, 5
mov ecx, dword [ebp + 8]
and ecx, 0x1f
shl ecx, 6
mov edx, dword [eax*4 + 0x45f140]
movsx eax, byte [edx + ecx + 0x34]
push eax
call fcn.00423210
add esp, 4
test eax, eax
jne 0x4346a7
push str.isleadbyte__dbcsBuffer_fh__
push 0
push 0xaf
push str.f:dd_vctoolscrt_bld_self_x86crt_srcwrite.c
push 2
call fcn.0040ffe0
add esp, 0x14
cmp eax, 1
jne 0x4346a7
int3
mov edx, dword [ebp + 8]
sar edx, 5
mov eax, dword [ebp + 8]
and eax, 0x1f
shl eax, 6
mov ecx, dword [edx*4 + 0x45f140]
mov dl, byte [ecx + eax + 0x34]
mov byte [ebp - 0x4c], dl
mov eax, dword [ebp - 0x30]
mov cl, byte [eax]
mov byte [ebp - 0x4b], cl
mov edx, dword [ebp + 8]
sar edx, 5
mov eax, dword [ebp + 8]
and eax, 0x1f
shl eax, 6
mov ecx, dword [edx*4 + 0x45f140]
mov dword [ecx + eax + 0x38], 0
push 2
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.0043fef0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x434706
jmp 0x43499d
jmp 0x4347c2
mov ecx, dword [ebp - 0x30]
movsx edx, byte [ecx]
push edx
call fcn.00423210
add esp, 4
or eax, eax
je 0x4347a6
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
sub ecx, eax
cmp ecx, 1
jbe 0x434759
push 2
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.0043fef0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x43474e
jmp 0x43499d
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
jmp 0x4347a4
mov edx, dword [ebp + 8]
sar edx, 5
mov eax, dword [ebp + 8]
and eax, 0x1f
shl eax, 6
mov ecx, dword [edx*4 + 0x45f140]
mov edx, dword [ebp - 0x30]
mov dl, byte [edx]
mov byte [ecx + eax + 0x34], dl
mov eax, dword [ebp + 8]
sar eax, 5
mov ecx, dword [ebp + 8]
and ecx, 0x1f
shl ecx, 6
mov edx, dword [eax*4 + 0x45f140]
mov dword [edx + ecx + 0x38], 1
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x43499d
jmp 0x4347c2
push 1
mov ecx, dword [ebp - 0x30]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0043fef0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4347c2
jmp 0x43499d
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
jmp 0x434801
movsx ecx, byte [ebp - 5]
cmp ecx, 1
je 0x4347df
movsx edx, byte [ebp - 5]
cmp edx, 2
jne 0x434801
mov eax, dword [ebp - 0x30]
mov cx, word [eax]
mov word [ebp - 0x40], cx
movzx edx, word [ebp - 0x40]
xor eax, eax
cmp edx, 0xa
sete al
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x30]
add ecx, 2
mov dword [ebp - 0x30], ecx
movsx edx, byte [ebp - 5]
or edx, edx
jne 0x43490b
push 0
push 0
push 5
lea eax, [ebp - 0x4c]
push eax
push 1
lea ecx, [ebp - 0x40]
push ecx
push 0
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x434839
jmp 0x43499d
push 0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp + 8]
sar eax, 5
mov ecx, dword [ebp + 8]
and ecx, 0x1f
shl ecx, 6
mov edx, dword [eax*4 + 0x45f140]
mov eax, dword [edx + ecx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
or eax, eax
je 0x434886
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x38]
jge 0x434884
jmp 0x43499d
jmp 0x434894
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x43499d
cmp dword [ebp - 0x50], 0
je 0x434906
mov dword [ebp - 0x38], 1
mov byte [ebp - 0x4c], 0xd
push 0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp + 8]
sar eax, 5
mov ecx, dword [ebp + 8]
and ecx, 0x1f
shl ecx, 6
mov edx, dword [eax*4 + 0x45f140]
mov eax, dword [edx + ecx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
or eax, eax
je 0x4348f8
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x38]
jge 0x4348e4
jmp 0x43499d
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x434906
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x43499d
jmp 0x434998
movsx ecx, byte [ebp - 5]
cmp ecx, 1
je 0x43491d
movsx edx, byte [ebp - 5]
cmp edx, 2
jne 0x434998
movzx eax, word [ebp - 0x40]
push eax
call fcn.00441470
add esp, 4
movzx ecx, ax
movzx edx, word [ebp - 0x40]
cmp ecx, edx
jne 0x434940
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
jmp 0x43494b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x43499d
cmp dword [ebp - 0x50], 0
je 0x434998
mov dword [ebp - 0x38], 1
pushal
popal
push 0xd
pop ecx
mov word [ebp - 0x40], cx
movzx edx, word [ebp - 0x40]
push edx
call fcn.00441470
add esp, 4
movzx eax, ax
movzx ecx, word [ebp - 0x40]
cmp eax, ecx
jne 0x43498d
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x434998
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x43499d
jmp 0x434611
jmp 0x434e7e
mov ecx, dword [ebp + 8]
sar ecx, 5
mov edx, dword [ebp + 8]
and edx, 0x1f
shl edx, 6
mov eax, dword [ecx*4 + 0x45f140]
movsx ecx, byte [eax + edx + 4]
and ecx, 0x80
je 0x434e34
mov dword [ebp - 0xc], 0
movsx edx, byte [ebp - 5]
or edx, edx
jne 0x434b1b
mov dword [ebp - 0x1454], 0
mov dword [ebp - 0x1458], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1454], eax
mov ecx, dword [ebp - 0x1454]
sub ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp + 0x10]
jae 0x434b16
lea edx, [ebp - 0x1450]
mov dword [ebp - 0x1458], edx
mov eax, dword [ebp - 0x1458]
lea ecx, [ebp - 0x1450]
sub eax, ecx
cmp eax, 0x13ff
jae 0x434aa6
mov edx, dword [ebp - 0x1454]
sub edx, dword [ebp + 0xc]
cmp edx, dword [ebp + 0x10]
jae 0x434aa6
mov eax, dword [ebp - 0x1454]
mov cl, byte [eax]
mov byte [ebp - 0x1459], cl
mov edx, dword [ebp - 0x1454]
add edx, 1
mov dword [ebp - 0x1454], edx
movsx eax, byte [ebp - 0x1459]
cmp eax, 0xa
jne 0x434a84
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x1458]
mov byte [edx], 0xd
mov eax, dword [ebp - 0x1458]
add eax, 1
mov dword [ebp - 0x1458], eax
mov ecx, dword [ebp - 0x1458]
mov dl, byte [ebp - 0x1459]
mov byte [ecx], dl
mov eax, dword [ebp - 0x1458]
add eax, 1
mov dword [ebp - 0x1458], eax
jmp 0x434a17
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x1458]
lea eax, [ebp - 0x1450]
sub edx, eax
push edx
lea ecx, [ebp - 0x1450]
push ecx
mov edx, dword [ebp + 8]
sar edx, 5
mov eax, dword [ebp + 8]
and eax, 0x1f
shl eax, 6
mov ecx, dword [edx*4 + 0x45f140]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x434b06
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x1458]
lea edx, [ebp - 0x1450]
sub ecx, edx
cmp dword [ebp - 0x10], ecx
jge 0x434b04
jmp 0x434b16
jmp 0x434b11
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x434b16
jmp 0x4349f9
jmp 0x434e32
movsx eax, byte [ebp - 5]
cmp eax, 2
jne 0x434c6b
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x286c], ecx
mov dword [ebp - 0x2864], 0
mov edx, dword [ebp - 0x286c]
sub edx, dword [ebp + 0xc]
cmp edx, dword [ebp + 0x10]
jae 0x434c66
lea eax, [ebp - 0x2860]
mov dword [ebp - 0x2864], eax
mov ecx, dword [ebp - 0x2864]
lea edx, [ebp - 0x2860]
sub ecx, edx
cmp ecx, 0x13fe
jae 0x434bf6
mov eax, dword [ebp - 0x286c]
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
jae 0x434bf6
mov ecx, dword [ebp - 0x286c]
mov dx, word [ecx]
mov word [ebp - 0x2868], dx
mov eax, dword [ebp - 0x286c]
add eax, 2
mov dword [ebp - 0x286c], eax
movzx ecx, word [ebp - 0x2868]
cmp ecx, 0xa
jne 0x434bd2
mov edx, dword [ebp - 0x14]
add edx, 2
mov dword [ebp - 0x14], edx
nop
push 0xd
nop
pop eax
mov ecx, dword [ebp - 0x2864]
mov word [ecx], ax
mov edx, dword [ebp - 0x2864]
add edx, 2
mov dword [ebp - 0x2864], edx
mov eax, dword [ebp - 0x2864]
mov cx, word [ebp - 0x2868]
mov word [eax], cx
mov edx, dword [ebp - 0x2864]
add edx, 2
mov dword [ebp - 0x2864], edx
jmp 0x434b59
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x2864]
lea edx, [ebp - 0x2860]
sub ecx, edx
push ecx
lea eax, [ebp - 0x2860]
push eax
mov ecx, dword [ebp + 8]
sar ecx, 5
mov edx, dword [ebp + 8]
and edx, 0x1f
shl edx, 6
mov eax, dword [ecx*4 + 0x45f140]
mov ecx, dword [eax + edx]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
or eax, eax
je 0x434c56
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x2864]
lea ecx, [ebp - 0x2860]
sub eax, ecx
cmp dword [ebp - 0x10], eax
jge 0x434c54
jmp 0x434c66
jmp 0x434c61
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x434c66
jmp 0x434b3b
jmp 0x434e32
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x2f2c], edx
mov dword [ebp - 0x2f24], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2f2c], eax
mov ecx, dword [ebp - 0x2f2c]
sub ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp + 0x10]
jae 0x434e32
mov dword [ebp - 0x3c8c], 0
lea edx, [ebp - 0x2f20]
mov dword [ebp - 0x2f24], edx
mov eax, dword [ebp - 0x2f24]
lea ecx, [ebp - 0x2f20]
sub eax, ecx
cmp eax, 0x6a8
jae 0x434d3e
mov edx, dword [ebp - 0x2f2c]
sub edx, dword [ebp + 0xc]
cmp edx, dword [ebp + 0x10]
jae 0x434d3e
mov eax, dword [ebp - 0x2f2c]
mov cx, word [eax]
mov word [ebp - 0x2f28], cx
mov edx, dword [ebp - 0x2f2c]
add edx, 2
mov dword [ebp - 0x2f2c], edx
movzx eax, word [ebp - 0x2f28]
cmp eax, 0xa
jne 0x434d1a
push 0xd
pop ecx
pushal
popal
mov edx, dword [ebp - 0x2f24]
mov word [edx], cx
mov eax, dword [ebp - 0x2f24]
add eax, 2
mov dword [ebp - 0x2f24], eax
mov ecx, dword [ebp - 0x2f24]
mov dx, word [ebp - 0x2f28]
mov word [ecx], dx
mov eax, dword [ebp - 0x2f24]
add eax, 2
mov dword [ebp - 0x2f24], eax
jmp 0x434caf
push 0
push 0
push 0xd55
lea ecx, [ebp - 0x3c88]
push ecx
mov eax, dword [ebp - 0x2f24]
lea edx, [ebp - 0x2f20]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2f20]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x3c8c], eax
cmp dword [ebp - 0x3c8c], 0
jne 0x434d98
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x434e32
mov dword [ebp - 0x3c90], 0
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x3c8c]
sub edx, dword [ebp - 0x3c90]
push edx
mov eax, dword [ebp - 0x3c90]
lea ecx, [ebp + eax - 0x3c88]
push ecx
mov edx, dword [ebp + 8]
sar edx, 5
mov eax, dword [ebp + 8]
and eax, 0x1f
shl eax, 6
mov ecx, dword [edx*4 + 0x45f140]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x434df8
mov eax, dword [ebp - 0x3c90]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c90], eax
jmp 0x434e03
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x434e11
mov ecx, dword [ebp - 0x3c8c]
cmp ecx, dword [ebp - 0x3c90]
jg 0x434da2
mov edx, dword [ebp - 0x3c8c]
cmp edx, dword [ebp - 0x3c90]
jle 0x434e21
jmp 0x434e32
mov eax, dword [ebp - 0x2f2c]
sub eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
jmp 0x434c87
jmp 0x434e7e
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
sar ecx, 5
mov edx, dword [ebp + 8]
and edx, 0x1f
shl edx, 6
mov eax, dword [ecx*4 + 0x45f140]
mov ecx, dword [eax + edx]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x434e75
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
jmp 0x434e7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
jne 0x434f0c
cmp dword [ebp - 0xc], 0
je 0x434ebe
cmp dword [ebp - 0xc], 5
jne 0x434eab
call fcn.0040fc50
mov dword [eax], 9
call fcn.0040fc80
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
jmp 0x434eb7
mov edx, dword [ebp - 0xc]
push edx
call fcn.0040fa40
add esp, 4
or eax, 0xffffffff
jmp 0x434f12
mov eax, dword [ebp + 8]
sar eax, 5
mov ecx, dword [ebp + 8]
and ecx, 0x1f
shl ecx, 6
mov edx, dword [eax*4 + 0x45f140]
movsx eax, byte [edx + ecx + 4]
and eax, 0x40
je 0x434eef
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx]
cmp edx, 0x1a
jne 0x434eef
xor eax, eax
jmp 0x434f12
call fcn.0040fc50
mov dword [eax], 0x1c
call fcn.0040fc80
mov dword [eax], 0
or eax, 0xffffffff
jmp 0x434f12
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x44]
xor ecx, ebp
call fcn.00411b10
push ebp
pop esp
pop ebp
ret