Function at 0x40d9ec
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x67
push 0
push 0
dec ecx
jne 0x40d9f4
push ebx
push esi
push edi
mov byte [ebp - 2], dl
mov byte [ebp - 1], al
lea eax, [ebp - 0x188]
mov edx, dword [0x405c60]
call fcn.004046a0
xor eax, eax
push ebp
push 0x40e782
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2f0]
mov edx, dword [0x4105c0]
mov ecx, pe_nt_image_headers32
call fcn.00404074
mov edx, dword [ebp - 0x2f0]
mov eax, 0x40e798
call fcn.00404338
test eax, eax
jne 0x40dab6
lea eax, [ebp - 0x2f4]
mov edx, dword [0x4105c0]
mov ecx, pe_nt_image_headers32
call fcn.00404074
mov edx, dword [ebp - 0x2f4]
mov eax, 0x40e7a4
call fcn.0040d1a8
dec eax
je 0x40dab6
mov edx, dword [0x4105c0]
lea eax, [ebp - 0x2a4]
call fcn.0040ec14
mov edx, dword [0x410654]
mov eax, dword [0x4105c0]
call fcn.0040ec14
mov edx, 0x40e7a8
mov eax, dword [0x4105c0]
call fcn.0040ec50
lea edx, [ebp - 0x2a4]
mov eax, dword [0x4105c0]
call fcn.0040ec50
mov eax, dword [0x4104e8]
mov byte [eax], 1
push 0
push 1
mov eax, dword [0x410610]
mov eax, dword [eax]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_EnableWindow
push 0
push 0x3f0
mov eax, dword [0x410610]
mov eax, dword [eax]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_EnableWindow
push 0
push 0x65
mov eax, dword [0x410610]
mov eax, dword [eax]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_EnableWindow
push 0
push 0x307
mov eax, dword [0x410610]
mov eax, dword [eax]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_EnableWindow
mov dword [0x41193c], 1
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x1a4]
push eax
call sub.user32.dll_PeekMessageA
lea eax, [ebp - 0x1a4]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x1a4]
push eax
call sub.user32.dll_DispatchMessageA
mov byte [ebp - 0x1d], 0
cmp byte [ebp - 1], 0
je 0x40db72
mov eax, dword [0x41055c]
mov dword [eax], 0
mov dword [eax + 4], 0
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [0x4105e0]
mov byte [eax], 0
mov byte [ebp - 9], 0
xor eax, eax
push ebp
push 0x40e70f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 1], 0
je 0x40dbaa
call fcn.0040bb18
test al, al
jne 0x40dbaa
call fcn.004038f4
jmp 0x40e73e
mov eax, dword [0x411960]
push eax
call sub.kernel32.dll_CloseHandle
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea edx, [ebp - 0x2f8]
xor eax, eax
call fcn.00402bd4
mov eax, dword [ebp - 0x2f8]
call fcn.004042a0
push eax
call sub.kernel32.dll_CreateFileA
mov dword [0x411960], eax
mov dx, 2
xor eax, eax
call fcn.0040ba64
mov eax, dword [0x4104a8]
mov eax, dword [eax]
xor edx, edx
mov dword [0x411948], eax
mov dword [0x41194c], edx
mov eax, dword [0x410564]
mov eax, dword [eax]
xor edx, edx
call fcn.0040ba64
mov eax, 0x102
call fcn.004028a4
mov dword [ebp - 8], eax
mov eax, dword [0x4104d4]
mov dword [eax], 0xffffffff
mov eax, dword [0x410454]
mov byte [eax], 0
mov eax, dword [0x410508]
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x40e492
mov eax, dword [0x410624]
mov eax, dword [eax + 0x16]
mov dword [ebp - 0x28], eax
mov dx, 1
xor eax, eax
call fcn.0040ba64
mov eax, dword [0x4104a8]
mov eax, dword [eax]
mov edx, dword [0x41063c]
mov dword [edx], eax
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [0x410624]
movzx ecx, word [ecx + 0x1a]
mov edx, dword [ebp - 8]
mov eax, 0x411960
call fcn.0040bab8
lea ecx, [ebp - 0x14]
mov edx, dword [0x410624]
mov dx, word [edx + 0x1a]
mov eax, dword [ebp - 8]
call fcn.0040ede4
inc dword [ebp - 0x24]
cmp byte [ebp - 1], 0
je 0x40dcc5
mov eax, dword [0x410624]
mov eax, dword [eax + 0x16]
cdq
mov ecx, dword [0x41055c]
add dword [ecx], eax
adc dword [ecx + 4], edx
jmp 0x40dd12
mov edx, dword [0x41055c]
mov edx, dword [edx]
mov eax, dword [0x410508]
mov eax, dword [eax]
call fcn.0040e98c
and eax, 0xff
mov edx, dword [0x410490]
mov dword [edx], eax
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x1a4]
push eax
call sub.user32.dll_PeekMessageA
lea eax, [ebp - 0x1a4]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x1a4]
push eax
call sub.user32.dll_DispatchMessageA
cmp byte [ebp - 1], 0
jne 0x40dd39
mov eax, dword [ebp - 0x14]
call fcn.004042a0
push eax
push 0x385
mov eax, dword [0x410610]
mov eax, dword [eax]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SetWindowTextA
cmp dword [ebp - 0x14], 0
jne 0x40dd62
push 0x10
push 0x40e7ac
push 0x40e7b8
mov eax, dword [0x410610]
mov eax, dword [eax]
push eax
call sub.user32.dll_MessageBoxA_1
call fcn.004038f4
jmp 0x40e73e
mov eax, dword [0x410454]
cmp byte [eax], 0
jne 0x40dd96
mov edx, dword [ebp - 0x14]
mov eax, 0x40e7dc
call fcn.0040d1a8
test eax, eax
jg 0x40dd8e
mov edx, dword [ebp - 0x14]
mov eax, 0x40e7e8
call fcn.0040d1a8
test eax, eax
jle 0x40dd96
mov eax, dword [0x410454]
mov byte [eax], 1
cmp byte [ebp - 2], 0
je 0x40de15
lea edx, [ebp - 0x300]
mov eax, dword [0x4105c0]
call fcn.0040efdc
mov eax, dword [ebp - 0x300]
call fcn.004042a0
push eax
mov eax, dword [0x4105c0]
call fcn.0040ef5c
call fcn.0040ec00
mov edx, eax
lea ecx, [ebp - 0x2fc]
pop eax
call fcn.0040ede4
push dword [ebp - 0x2fc]
push 0x40e7dc
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404160
mov eax, dword [ebp - 0x18]
call fcn.004042a0
mov edx, eax
lea eax, [ebp - 0x304]
call fcn.00404008
mov eax, dword [ebp - 0x304]
call fcn.00406920
jmp 0x40e467
cmp byte [ebp - 1], 0
jne 0x40e467
mov byte [ebp - 9], 0
mov eax, dword [0x410624]
mov ax, word [eax + 6]
and ax, 1
cmp ax, 1
jne 0x40df9d
sub dword [0x41195c], 0xc
xor eax, eax
push ebp
push 0x40df91
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x18
call fcn.004028a4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
push 0
mov edx, dword [ebp - 0x10]
mov eax, 0x411960
mov ecx, 0xc
call fcn.0040bab8
mov eax, dword [ebp - 0x10]
lea edx, [eax + 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, 0xc
call fcn.00402a30
xor eax, eax
push ebp
push 0x40df80
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4104f0]
cmp dword [eax], 0
je 0x40ded0
mov eax, dword [0x410624]
mov eax, dword [eax + 0xe]
push eax
mov eax, dword [0x410624]
mov eax, dword [eax + 0xa]
push eax
mov eax, dword [0x4104f0]
mov eax, dword [eax]
push eax
mov ecx, dword [0x410624]
mov cx, word [ecx + 6]
mov dl, 0xc
mov eax, dword [ebp - 0x10]
call fcn.0040d910
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x40df6a
xor ebx, ebx
push 0
push 0x40b43c
mov eax, dword [0x410610]
mov eax, dword [eax]
push eax
push 0x40e7ec
mov eax, dword [0x411660]
push eax
call sub.user32.dll_DialogBoxParamA
mov esi, eax
dec esi
jne 0x40df6a
lea ecx, [ebp - 0x308]
mov edx, dword [0x410600]
mov dx, word [edx]
mov eax, dword [0x410470]
call fcn.0040ede4
mov edx, dword [ebp - 0x308]
mov eax, dword [0x4104f0]
call fcn.00403e64
mov eax, dword [0x410624]
mov eax, dword [eax + 0xe]
push eax
mov eax, dword [0x410624]
mov eax, dword [eax + 0xa]
push eax
mov eax, dword [0x4104f0]
mov eax, dword [eax]
push eax
mov ecx, dword [0x410624]
mov cx, word [ecx + 6]
mov dl, 0xc
mov eax, dword [ebp - 0x10]
call fcn.0040d910
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x40df6a
inc ebx
cmp bl, 3
jne 0x40dedc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40df87
mov eax, dword [ebp - 0x10]
call fcn.004028d4
ret
mov byte [ebp - 9], 1
cmp byte [ebp - 9], 0
je 0x40e49f
lea edx, [ebp - 0x310]
mov eax, dword [0x4105c0]
call fcn.0040efdc
mov eax, dword [ebp - 0x310]
call fcn.004042a0
push eax
mov eax, dword [0x4105c0]
call fcn.0040ef5c
call fcn.0040ec00
mov edx, eax
lea ecx, [ebp - 0x30c]
pop eax
call fcn.0040ede4
push dword [ebp - 0x30c]
push 0x40e7dc
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404160
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
call fcn.00404578
mov eax, dword [ebp - 0x2c]
call fcn.00404598
mov edx, dword [ebp - 0x2c]
cmp word [edx + eax*2 - 2], 0x5c
je 0x40e030
mov eax, dword [ebp - 0x2c]
call fcn.00404598
mov edx, dword [ebp - 0x2c]
cmp word [edx + eax*2 - 2], 0x2f
jne 0x40e03d
mov eax, dword [ebp - 0x18]
call fcn.0040ee8c
jmp 0x40e46f
mov eax, dword [ebp - 0x18]
call fcn.004042a0
mov edi, eax
mov edx, edi
lea eax, [ebp - 0x314]
call fcn.00404008
mov eax, dword [ebp - 0x314]
lea ecx, [ebp - 0x188]
mov edx, 0x3f
call fcn.004068b4
test eax, eax
jne 0x40e1e1
mov eax, dword [0x4105b8]
mov al, byte [eax]
dec al
je 0x40e46f
dec al
je 0x40e08a
jmp 0x40e1e1
lea edx, [ebp - 0x318]
mov eax, dword [ebp - 0x18]
call fcn.0040cf7c
mov edx, dword [ebp - 0x318]
mov eax, dword [0x410518]
call fcn.00403e64
fild dword [ebp - 0x184]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x31c]
mov eax, 0x40e7fc
call fcn.00407960
mov edx, dword [ebp - 0x31c]
mov eax, dword [0x4105a8]
call fcn.00403e64
mov eax, dword [0x4105a8]
mov edx, 0x40e808
call fcn.004040a8
mov eax, dword [0x4105a8]
mov eax, dword [ebp - 0x188]
call fcn.00406ad4
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x320]
call fcn.004089dc
mov edx, dword [ebp - 0x320]
mov eax, dword [0x410590]
call fcn.00403e64
mov eax, dword [0x410624]
fild dword [eax + 0x16]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x324]
mov eax, 0x40e7fc
call fcn.00407960
mov edx, dword [ebp - 0x324]
mov eax, dword [0x4105c8]
call fcn.00403e64
mov eax, dword [0x4105c8]
mov edx, 0x40e808
call fcn.004040a8
mov eax, dword [0x4105c8]
mov eax, dword [0x410624]
mov eax, dword [eax + 0xa]
call fcn.0040f0d4
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x328]
call fcn.004089dc
mov edx, dword [ebp - 0x328]
mov eax, dword [0x4105a4]
call fcn.00403e64
push 0
push 0x40b1bc
mov eax, dword [0x410610]
mov eax, dword [eax]
push eax
push 0x40e810
mov eax, dword [0x411660]
push eax
call sub.user32.dll_DialogBoxParamA
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x1a4]
push eax
call sub.user32.dll_PeekMessageA
lea eax, [ebp - 0x1a4]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x1a4]
push eax
call sub.user32.dll_DispatchMessageA
mov eax, dword [0x4105b4]
cmp byte [eax], 0
je 0x40e46f
lea edx, [ebp - 0x32c]
mov eax, dword [ebp - 0x18]
call fcn.0040d404
mov edx, dword [ebp - 0x32c]
mov eax, 0x411938
call fcn.00403e64
mov eax, dword [0x411938]
call fcn.0040ee8c
mov eax, dword [0x411938]
call fcn.004042a0
call fcn.0040eca0
test al, al
jne 0x40e266
push 0x10
push 0x40e7ac
push dword [0x411938]
push 0x40e824
push 0x40e830
lea eax, [ebp - 0x330]
mov edx, 3
call fcn.00404160
mov eax, dword [ebp - 0x330]
call fcn.004042a0
push eax
mov eax, dword [0x410610]
mov eax, dword [eax]
push eax
call sub.user32.dll_MessageBoxA_1
call fcn.004038f4
jmp 0x40e73e
push 0x80
push edi
call sub.kernel32.dll_SetFileAttributesA
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push edi
call sub.kernel32.dll_CreateFileA
mov dword [0x411964], eax
cmp dword [0x411964], 0xffffffff
je 0x40e426
xor eax, eax
push ebp
push 0x40e41c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x40e361
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x1a4]
push eax
call sub.user32.dll_PeekMessageA
lea eax, [ebp - 0x1a4]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x1a4]
push eax
call sub.user32.dll_DispatchMessageA
mov dword [0x411944], 0xffffffff
mov eax, dword [0x410624]
mov eax, dword [eax + 0x12]
mov dword [0x41195c], eax
mov eax, dword [0x410624]
mov ax, word [eax + 6]
and ax, 1
cmp ax, 1
jne 0x40e314
sub dword [0x41195c], 0xc
mov eax, dword [0x4104c8]
cmp byte [eax], 0
jne 0x40e327
call fcn.0040b934
test al, al
jne 0x40e33e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.004038f4
call fcn.004038f4
jmp 0x40e73e
mov eax, dword [0x410624]
mov eax, dword [eax + 0xe]
mov edx, dword [0x411944]
xor edx, 0xffffffff
cmp eax, edx
je 0x40e357
mov byte [ebp - 0x1d], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x40e36b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e467
mov edx, dword [0x410624]
mov edx, dword [edx + 0xa]
mov eax, dword [0x411964]
call fcn.0040ea18
mov eax, dword [0x411964]
push eax
call sub.kernel32.dll_CloseHandle
test eax, eax
jne 0x40e3d7
push 0x10
push 0x40e7ac
push dword [ebp - 0x18]
push 0x40e824
push 0x40e848
lea eax, [ebp - 0x334]
mov edx, 3
call fcn.00404160
mov eax, dword [ebp - 0x334]
call fcn.004042a0
push eax
mov eax, dword [0x410610]
mov eax, dword [eax]
push eax
call sub.user32.dll_MessageBoxA_1
xor eax, eax
push ebp
push 0x40e40a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x411968]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + edx*4 - 4]
push eax
mov eax, dword [ebp - 0x18]
call fcn.004042a0
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x40e414
xor eax, eax
mov dword [0x411964], eax
ret
push 0x10
push 0x40e7ac
push dword [ebp - 0x18]
push 0x40e824
push 0x40e86c
lea eax, [ebp - 0x338]
mov edx, 3
call fcn.00404160
mov eax, dword [ebp - 0x338]
call fcn.004042a0
push eax
mov eax, dword [0x410610]
mov eax, dword [eax]
push eax
call sub.user32.dll_MessageBoxA_1
mov byte [ebp - 0x1d], 1
mov al, byte [ebp - 1]
or al, byte [ebp - 2]
je 0x40e492
mov eax, dword [0x41063c]
mov eax, dword [eax]
mov edx, dword [0x410624]
movzx edx, word [edx + 0x1a]
add eax, edx
mov edx, dword [0x410624]
add eax, dword [edx + 0x12]
xor edx, edx
call fcn.0040ba64
call fcn.0040b9a0
test al, al
jne 0x40dc4f
cmp byte [ebp - 1], 1
jne 0x40e5d3
cmp dword [ebp - 0x24], 0
jle 0x40e5d3
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x411960]
push eax
call sub.kernel32.dll_GetFileSize
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40e4dc
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x40e4dc
call fcn.004038f4
jmp 0x40e73e
mov eax, dword [ebp - 0x28]
shl eax, 0x20
add ebx, eax
mov eax, ebx
sub eax, 0x16
xor edx, edx
call fcn.0040ba64
lea eax, [ebp - 0x1c]
push eax
push 0
lea edx, [ebp - 0x2ec]
mov eax, 0x411960
mov ecx, 0x16
call fcn.0040bab8
cmp dword [ebp - 0x2ec], 0x6054b50
je 0x40e521
call fcn.004038f4
jmp 0x40e73e
mov eax, dword [ebp - 0x24]
push eax
mov eax, 0x411968
mov ecx, 1
mov edx, dword [0x40cef4]
call fcn.00404cbc
add esp, 4
mov esi, dword [0x410564]
mov esi, dword [esi]
add esi, dword [ebp - 0x2dc]
xor edx, edx
mov eax, esi
call fcn.0040ba64
mov al, byte [ebp - 0x24]
dec eax
test al, al
jb 0x40e5d3
inc eax
mov byte [ebp - 0x2d], al
mov bl, 0
lea eax, [ebp - 0x1c]
push eax
push 0
lea edx, [ebp - 0x2d4]
mov eax, 0x411960
mov ecx, 0x2e
call fcn.0040bab8
cmp dword [ebp - 0x2d4], 0x2014b50
je 0x40e593
call fcn.004038f4
jmp 0x40e73e
xor eax, eax
mov al, bl
mov edx, dword [0x411968]
mov ecx, dword [ebp - 0x2ae]
mov dword [edx + eax*4], ecx
add esi, 0x2e
movzx eax, word [ebp - 0x2b8]
add esi, eax
movzx eax, word [ebp - 0x2b6]
add esi, eax
movzx eax, word [ebp - 0x2b4]
add esi, eax
xor edx, edx
mov eax, esi
call fcn.0040ba64
inc ebx
dec byte [ebp - 0x2d]
jne 0x40e562
cmp byte [ebp - 9], 0
je 0x40e66a
cmp byte [ebp - 1], 0
jne 0x40e66a
cmp byte [ebp - 0x1d], 0
jne 0x40e61a
mov eax, dword [0x41058c]
cmp byte [eax], 0
jne 0x40e610
push 0
push 0x40e7ac
push 0x40e884
mov eax, dword [0x410610]
mov eax, dword [eax]
push eax
call sub.user32.dll_MessageBoxA_1
mov eax, dword [0x4105e0]
mov byte [eax], 1
jmp 0x40e68f
mov eax, dword [0x4104c8]
cmp byte [eax], 0
je 0x40e647
push 0x40
push 0x40e7ac
push 0x40e8a4
mov eax, dword [0x410610]
mov eax, dword [eax]
push eax
call sub.user32.dll_MessageBoxA_1
mov eax, dword [0x4105e0]
mov byte [eax], 0
jmp 0x40e68f
push 0x10
push 0x40e7ac
push 0x40e8bc
mov eax, dword [0x410610]
mov eax, dword [eax]
push eax
call sub.user32.dll_MessageBoxA_1
mov eax, dword [0x4105e0]
mov byte [eax], 0
jmp 0x40e68f
cmp byte [ebp - 1], 0
je 0x40e68f
cmp dword [ebp - 0x24], 0
jne 0x40e68f
push 0x10
push 0x40e7ac
push 0x40e8dc
mov eax, dword [0x410610]
mov eax, dword [eax]
push eax
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e716
mov eax, dword [ebp - 8]
call fcn.004028d4
mov eax, dword [0x4104e8]
mov byte [eax], 0
push 0xffffffffffffffff
push 1
mov eax, dword [0x410610]
mov eax, dword [eax]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_EnableWindow
push 0xffffffffffffffff
push 0x3f0
mov eax, dword [0x410610]
mov eax, dword [eax]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_EnableWindow
push 0xffffffffffffffff
push 0x65
mov eax, dword [0x410610]
mov eax, dword [eax]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_EnableWindow
push 0xffffffffffffffff
push 0x307
mov eax, dword [0x410610]
mov eax, dword [eax]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_EnableWindow
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e789
lea eax, [ebp - 0x338]
mov edx, 0x13
call fcn.00403e34
lea eax, [ebp - 0x188]
mov edx, dword [0x405c60]
call fcn.00404764
lea eax, [ebp - 0x2c]
call fcn.00404414
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00403e34
ret