Function at 0x4137e0
Capabilities:
Create thread
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x4d1b1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push 0
mov eax, dword [ebp + 0x1c]
push 0x927c0
push 5
push eax
mov dword [ebp + 0x1748], 1
call dword [sym.imp.USER32.dll_SetTimer]
mov edi, dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f02
push 0
call edi
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov esi, eax
mov dword [esp + 0x10], esi
mov ebx, dword [esp + 0x158]
mov eax, dword [ebp + 0xcc]
push eax
mov ecx, ebx
mov edx, dword [ebx]
mov dword [esp + 0x154], 0
call dword [edx + 0x50]
test eax, eax
jne 0x41389b
mov eax, dword [esp + 0x164]
test eax, eax
je 0x413883
mov ecx, dword [str.ACDSee]
mov edx, dword [ebp + 0xcc]
push 0
add ebx, 0x30
push ecx
push ebx
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
test esi, esi
je 0x413962
mov eax, esi
push eax
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
jmp 0x413e0c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
test eax, eax
jne 0x41394a
test ebx, ebx
je 0x41394e
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4138be
mov esi, dword [esp + 0x10]
mov eax, dword [ebx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x413944
push 0x105
call fcn.004bd49b
mov ecx, dword [ebx + 0x28]
add esp, 4
mov esi, eax
push esi
push ecx
call dword [sym.imp.USER32.dll_OemToCharA]
mov edx, dword [ebp + 0x144]
push esi
push 0x20b
lea eax, [esp + 0x24]
push edx
push eax
call fcn.00472a10
push esi
call fcn.004bd4c4
mov ecx, dword [str.ACDSee]
mov eax, dword [ebp + 0xcc]
add esp, 0x14
lea edx, [esp + 0x1c]
push 5
push ecx
push edx
push eax
call edi
cmp eax, 2
jne 0x4138ba
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x413936
push 0x7f00
push eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
jmp 0x413e0c
mov edi, dword [sym.imp.USER32.dll_LoadCursorA]
test ebx, ebx
jne 0x413979
test esi, esi
je 0x413962
mov eax, esi
push eax
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
jmp 0x413e0c
push 0x7f00
push 0
call edi
push eax
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
jmp 0x413e0c
lea ecx, [ebp + 0x2858]
call fcn.00450b00
lea esi, [ebp + 0x1b88]
mov ecx, esi
call fcn.0042d420
mov eax, dword [ebp + 0x140]
test eax, eax
je 0x4139e0
mov ecx, dword [ebp + 0x13c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [ebp + 0x140]
push 0xbb8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4139c9
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov eax, dword [ebp + 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 0x140], 0
mov ecx, dword [ebp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, 0x4f5850
call fcn.0043e5b0
mov eax, dword [ebp + 0x14c]
mov ecx, dword [ebx + 0x28]
test eax, eax
je 0x413a06
mov eax, dword [eax + 0x28]
jmp 0x413a08
xor eax, eax
push ecx
push eax
mov ecx, ebp
call fcn.00411660
mov ecx, esi
mov dword [ebp + 0x1c40], 0xffffffff
call fcn.004303b0
mov edx, dword [ebp + 0xd0]
push 0
push 0
push 0x1009
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp + 0x160]
test eax, eax
je 0x413a74
mov eax, dword [ebp + 0x158]
xor esi, esi
test eax, eax
jle 0x413a74
cmp esi, eax
jge 0x413a69
test esi, esi
jl 0x413a69
mov eax, dword [ebp + 0x154]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x413a69
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [ebp + 0x158]
inc esi
cmp esi, eax
jl 0x413a52
mov eax, dword [ebp + 0x154]
push eax
call fcn.004bd4c4
push 0x80
call fcn.004bd49b
mov dword [ebp + 0x154], eax
mov dword [ebp + 0x158], 0
mov dword [ebp + 0x15c], 0x1f
mov dword [ebp + 0x164], 0x40
mov ecx, dword [ebx + 4]
add esp, 8
inc ecx
mov dword [ebx + 4], ecx
mov esi, dword [ebp + 0x14c]
test esi, esi
je 0x413b2b
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x413af2
mov eax, dword [esi + 0x14]
xor edi, edi
test eax, eax
jle 0x413af2
cmp edi, eax
jge 0x413aea
test edi, edi
jl 0x413aea
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x413aea
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esi + 0x14]
inc edi
cmp edi, eax
jl 0x413ad6
mov eax, dword [esi + 0x10]
push eax
call fcn.004bd4c4
push 0x80
call fcn.004bd49b
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x1f
mov dword [esi + 0x20], 0x40
mov ecx, dword [ebp + 0x14c]
add esp, 8
call fcn.0045f810
mov dword [ebp + 0x14c], ebx
mov edx, dword [ebx]
push 0
push 0
mov ecx, ebx
call dword [edx + 0x14]
mov eax, dword [ebp + 0x14c]
xor esi, esi
mov dword [esp + 0x14], esi
mov ecx, dword [eax + 0x14]
test ecx, ecx
jle 0x413c5f
cmp esi, ecx
jge 0x413c82
test esi, esi
jl 0x413c82
mov eax, dword [eax + 0x10]
mov ebx, dword [eax + esi*4]
test ebx, ebx
je 0x413c0d
mov eax, dword [ebp + 0x15c]
mov edx, dword [ebp + 0x158]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x413bf1
mov edx, dword [ebp + 0x164]
add edx, eax
lea eax, [edx*4 + 4]
push eax
call fcn.004bd49b
mov ecx, dword [ebp + 0x15c]
mov esi, dword [ebp + 0x154]
mov edi, eax
mov dword [esp + 0x1c], eax
lea ecx, [ecx*4 + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x154]
push eax
call fcn.004bd4c4
mov edx, dword [ebp + 0x164]
mov eax, dword [ebp + 0x15c]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
add esp, 8
add eax, edx
mov dword [ebp + 0x154], ecx
mov dword [ebp + 0x15c], eax
mov eax, dword [ebp + 0x158]
mov ecx, dword [ebp + 0x154]
mov dword [ecx + eax*4], ebx
mov eax, dword [ebp + 0x158]
inc eax
mov dword [ebp + 0x158], eax
mov ecx, ebx
call fcn.00426280
test byte [ebx + 0x2c], 1
je 0x413c4b
push 1
mov ecx, ebx
call fcn.004263f0
test eax, eax
jne 0x413c4b
mov eax, dword [ebx + 0x34]
push eax
call fcn.0049f130
add esp, 4
test eax, eax
je 0x413c4b
mov ecx, dword [ebx + 0x24]
push 0
push 0
push 0
push 0
push 0
push 2
call fcn.00439ab0
mov eax, dword [ebp + 0x14c]
inc esi
mov dword [esp + 0x14], esi
cmp esi, dword [eax + 0x14]
jl 0x413b5b
mov ecx, dword [ebp + 0x14c]
mov edx, dword [ecx]
call dword [edx + 0x34]
xor edi, edi
mov dword [ebp + 0x160], edi
mov eax, dword [ebp + 0x14c]
cmp eax, edi
je 0x413c86
mov eax, dword [eax + 0x28]
push eax
jmp 0x413c8b
xor ebx, ebx
jmp 0x413c0d
push 0x4f55a8
lea ecx, [ebp + 0x27d4]
call fcn.0044f140
cmp dword [esp + 0x160], edi
je 0x413ccc
mov edx, dword [ebp + 0x2548]
lea esi, [ebp + 0x2548]
mov ecx, esi
call dword [edx + 0xc8]
test eax, eax
je 0x413ccc
mov eax, dword [ebp + 0x14c]
cmp eax, edi
je 0x413ccc
mov eax, dword [eax + 0x28]
mov ecx, esi
push eax
call fcn.00434a00
lea esi, [ebp + 0x1b88]
push 4
mov ecx, esi
call fcn.0042e460
mov eax, dword [esp + 0x15c]
cmp eax, edi
je 0x413cf2
push 1
push eax
mov ecx, esi
call fcn.0042dc40
jmp 0x413cfa
push edi
mov ecx, esi
call fcn.0042db20
mov ecx, dword [ebp + 0xd0]
push ecx
call fcn.00473ab0
add esp, 4
mov ecx, ebp
call fcn.00417c60
mov edx, dword [ebp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [0x4f83ec]
mov ecx, dword fs:[0x2c]
mov dword [ebp + 0x16c], edi
mov edx, dword [ecx + eax*4]
mov al, byte [edx + 0x2ca]
test al, al
je 0x413dcc
mov ecx, dword [ebp + 0x14c]
cmp ecx, edi
je 0x413dcc
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x413dcc
cmp dword [ebp + 0x140], edi
je 0x413da3
mov ecx, dword [ebp + 0x13c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [ebp + 0x140]
push 0xbb8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x413d8a
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov eax, dword [ebp + 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov dword [ebp + 0x140], edi
cmp eax, edi
jne 0x413dcc
mov ecx, dword [ebp + 0x13c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea edx, [esp + 0x18]
push edx
push edi
push ebp
push 0x40c360
push edi
push edi
call fcn.004a899b
add esp, 0x18
mov dword [ebp + 0x140], eax
mov ecx, esi
call fcn.0042d4d0
cmp dword [ebp + 0x16dc], edi
jne 0x413dec
mov eax, dword [ebp + 0x1c]
push edi
push edi
push 0x40d
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x413e00
push 0x7f00
push edi
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
mov ecx, dword [esp + 0x148]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x144
ret 0x10