Function at 0x401320
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x364
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x54], str.bgcekwyufbfbo
push 0
call dword [0x412044]
push eax
call dword [0x412194]
push 0x2ebae40
call fcn.00404a26
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x40136a
xor eax, eax
jmp 0x4018b6
push 0x2ebae40
push 0xa0
mov eax, dword [ebp - 0x34]
push eax
call fcn.004025d0
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x401392
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x1648
jae 0x4013e4
mov edx, dword [ebp - 4]
mov al, byte [edx + section..data]
mov byte [ebp - 5], al
mov ecx, dword [ebp - 0x54]
add ecx, dword [ebp - 0x30]
mov dl, byte [ecx]
mov byte [ebp - 0x1d], dl
movzx eax, byte [ebp - 5]
sar eax, 3
movzx ecx, byte [ebp - 5]
shl ecx, 5
or eax, ecx
movzx edx, byte [ebp - 0x1d]
xor eax, edx
mov ecx, dword [ebp - 4]
mov byte [ecx + section..data], al
mov eax, dword [ebp - 0x30]
add eax, 1
cdq
mov ecx, 0xd
idiv ecx
mov dword [ebp - 0x30], edx
jmp 0x401389
lea edx, [ebp - 0x58]
push edx
push 0x40
push 0x1648
push section..data
call dword [0x412028]
lea eax, section..data
call eax
mov eax, dword [ebp - 0x34]
push eax
call fcn.00404a0b
add esp, 4
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x50], 0
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00401170
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 0x10
je 0x401442
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
xor eax, 0x10
mov dword [ebp - 0xc], eax
jmp 0x401449
mov dword [ebp - 0x14], 0xa
cmp dword [ebp - 0xc], 0
jne 0x401456
mov dword [ebp - 0xc], 4
mov ecx, dword [ebp - 0xc]
and ecx, 4
je 0x40149f
push str.wine_get_unix_file_name
push 0x412340
call dword [0x41202c]
push eax
call dword [0x412030]
cmp dword [ebp - 0x40], 0
jne 0x40149f
push str.winepath
push str._s:_cannot_get_the_address_of_wine_get_unix_file_name_n
push 2
call fcn.004035c8
add esp, 4
push eax
call fcn.00401900
add esp, 0xc
push 3
call fcn.00404d2f
mov edx, dword [ebp - 0xc]
and edx, 8
je 0x4014e8
push str.wine_get_dos_file_name
push str.KERNEL32
call dword [0x41202c]
push eax
call dword [0x412030]
cmp dword [ebp - 0x50], 0
jne 0x4014e8
push str.winepath
push str._s:_cannot_get_the_address_of_wine_get_dos_file_name_n
push 2
call fcn.004035c8
add esp, 4
push eax
call fcn.00401900
add esp, 0xc
push 3
call fcn.00404d2f
mov dword [ebp - 4], 1
jmp 0x4014fa
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
cmp dword [edx + ecx*4], 0
je 0x4018af
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x15c], 0
mov edx, dword [ebp - 0xc]
and edx, 2
je 0x40157d
push 0x104
lea eax, [ebp - 0x364]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + ecx*4]
push eax
call dword [0x412050]
test eax, eax
je 0x401565
push 0
push 0
push 0x104
lea ecx, [ebp - 0x15c]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x364]
push edx
push 0
push 0
call dword [0x412040]
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x15c]
push ecx
push 0x4123e4
call fcn.00401940
add esp, 0xc
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x4015e0
push 0x104
lea eax, [ebp - 0x364]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + ecx*4]
push eax
call dword [0x41204c]
test eax, eax
je 0x4015c8
push 0
push 0
push 0x104
lea ecx, [ebp - 0x15c]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x364]
push edx
push 0
push 0
call dword [0x412040]
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x15c]
push ecx
push 0x4123ec
call fcn.00401940
add esp, 0xc
mov edx, dword [ebp - 0xc]
and edx, 4
je 0x4017d2
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + eax*4]
push edx
call dword [0x41203c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
lea ecx, [eax + eax + 2]
push ecx
call fcn.00404a26
add esp, 4
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [0x412038]
mov dword [ebp - 0x1c], 0
mov eax, 1
test eax, eax
je 0x4017c6
mov ecx, dword [ebp - 0x28]
push ecx
call dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4016be
cmp dword [ebp - 0x1c], 0
je 0x401691
push 0
push 0
push 0x104
lea edx, [ebp - 0x15c]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x1c]
add eax, 2
push eax
push 0
push 0
call dword [0x412040]
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x15c]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push str._s__s_c
call fcn.00401940
add esp, 0x10
jmp 0x4016a6
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
push 0x4123fc
call fcn.00401940
add esp, 0xc
mov eax, dword [ebp - 0x2c]
push eax
push 0
call dword [0x412024]
push eax
call dword [0x412034]
jmp 0x4017c6
cmp dword [ebp - 0x1c], 0
je 0x4016cc
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x48], ecx
jmp 0x4016d8
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x28]
lea ecx, [eax + edx*2]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x28]
je 0x401707
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx]
cmp edx, 0x2f
je 0x401707
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x401707
mov edx, dword [ebp - 0x18]
sub edx, 2
mov dword [ebp - 0x18], edx
jmp 0x4016de
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x28]
jne 0x401725
mov ecx, dword [ebp - 0x14]
push ecx
push 0x412404
call fcn.00401940
add esp, 8
jmp 0x4017c6
mov edx, dword [ebp - 0x18]
add edx, 2
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
test ecx, ecx
je 0x401785
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
cmp eax, 0x2a
je 0x401785
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
cmp edx, 0x3f
je 0x401785
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
cmp ecx, 0x3c
je 0x401785
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
cmp eax, 0x3e
je 0x401785
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
cmp edx, 0x7c
je 0x401785
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
cmp ecx, 0x22
je 0x401785
mov edx, dword [ebp - 0x10]
add edx, 2
mov dword [ebp - 0x10], edx
jmp 0x40172e
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
test ecx, ecx
je 0x4017a2
mov edx, dword [ebp - 0x14]
push edx
push 0x412408
call fcn.00401940
add esp, 8
jmp 0x4017c6
cmp dword [ebp - 0x1c], 0
je 0x4017b3
mov eax, 0x2f
mov ecx, dword [ebp - 0x1c]
mov word [ecx], ax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov word [ecx], ax
jmp 0x40162d
mov edx, dword [ebp - 0x28]
push edx
call fcn.00404a0b
add esp, 4
mov eax, dword [ebp - 0xc]
and eax, 8
je 0x4018aa
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + ecx*4]
push eax
push 0
push 0
call dword [0x412040]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00404a26
add esp, 4
mov dword [ebp - 0x3c], eax
push 0
push 0
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x3c]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + ecx*4]
push eax
push 0
push 0
call dword [0x412040]
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [ebp - 0x50]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x40188d
push 0
push 0
push 0x104
lea edx, [ebp - 0x15c]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x38]
push eax
push 0
push 0
call dword [0x412040]
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x15c]
push edx
push str._s_c
call fcn.00401940
add esp, 0xc
mov eax, dword [ebp - 0x38]
push eax
push 0
call dword [0x412024]
push eax
call dword [0x412034]
jmp 0x40189e
mov ecx, dword [ebp - 0x14]
push ecx
push 0x412414
call fcn.00401940
add esp, 8
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00404a0b
add esp, 4
jmp 0x4014f1
push 0
call fcn.00404d2f
mov esp, ebp
pop ebp
ret