Function at 0x413810
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x144
mov eax, dword [0x469070]
xor eax, esp
mov dword [esp + 0x140], eax
cmp dword [0x46c2c8], 8
mov eax, 0x46c2b4
push ebx
cmovae eax, dword [0x46c2b4]
push esi
push edi
mov esi, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
je 0x413e29
movaps xmm0, xmmword [0x4614c0]
mov ebx, dword [esi + 4]
movups xmmword [esp + 0x38], xmm0
call fcn.00416b90
cmp dword [eax + 0x30], 0
jne 0x41387a
call fcn.00416b90
mov dword [eax + 0x30], 0x45cf54
call fcn.00416b90
push dword [esp + 0x10]
lea ecx, [esi + 0x94]
push ecx
push eax
call fcn.00416ce0
add esp, 8
movzx eax, ax
lea ecx, [esi + 0x54]
push eax
push 0
push 0
push 0x5600184c
push 0
lea eax, [esp + 0x50]
push eax
push ebx
call fcn.00416380
push dword [esi + 4]
mov ebx, eax
call dword [sym.imp.USER32.dll_GetMenu]
push eax
lea ecx, [esi + 0x54]
call fcn.004159d0
sub esp, 0x10
lea ecx, [esi + 0x54]
push 0x71
call fcn.00415d00
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetMenu]
push ecx
push 0x5600094c
push ecx
mov ecx, dword [esi + 4]
mov edx, 0x71
call fcn.0040f260
add esp, 0xc
mov dword [esp + 0x10], eax
mov ecx, esi
push dword [esi + 4]
call fcn.00413760
push ecx
mov ecx, dword [esi + 4]
mov edi, eax
call fcn.00416030
push ecx
push 0
push 0
push ecx
mov edx, ebx
mov dword [esi + 0x24], eax
mov ecx, eax
call fcn.00415ed0
mov edx, dword [esp + 0x24]
add esp, 0xc
push 1
push 0
push ecx
mov ecx, dword [esi + 0x24]
call fcn.00415ed0
add esp, 0x14
mov ecx, str.ReBarAddress
call fcn.0040fa50
sub esp, 8
mov edx, edi
push 1
push eax
push ecx
mov ecx, dword [esi + 0x24]
call fcn.00415ed0
add esp, 0x14
lea eax, [esp + 0x48]
push 0x100
push 0
push eax
call fcn.0042c5c0
add esp, 0xc
lea eax, [esp + 0x48]
push 0x80
push eax
push 0xe001
push dword [0x46b2f0]
call dword [sym.imp.USER32.dll_LoadStringW]
push 0xe801
push dword [esi + 4]
lea eax, [esp + 0x50]
push eax
push 0x56000100
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowW]
push dword [esp + 0x10]
mov edi, dword [esi + 4]
mov dword [esi + 0x28], eax
lea eax, [esi + 0x134]
push eax
push 0x4699a0
call fcn.00416ce0
add esp, 8
movzx eax, ax
lea ecx, [esi + 0x114]
push eax
push 0
push 0
push 0x56000000
push 0
push 0x469918
push edi
call fcn.00416430
mov ebx, dword [esi + 0x118]
mov ecx, str.FolderTreeFolders
mov dword [esi + 0x2c], eax
call fcn.0040fa50
lea edi, [esi + 0x194]
test eax, eax
je 0x413a0c
push 0xffffffffffffffff
push eax
lea eax, [edi + 0x30]
push 0x50
push eax
call fcn.0042f80e
push eax
call fcn.0040f860
add esp, 0x14
push dword [esp + 0x10]
lea eax, [edi + 0x20]
push eax
push 0x469ac8
call fcn.00416ce0
add esp, 8
movzx eax, ax
mov ecx, edi
push eax
push 0
push 0
push 0x56000000
push 0
push 0x469918
push ebx
call fcn.00416430
mov eax, dword [0x469924]
mov edx, dword [0x46991c]
sub eax, edx
mov ecx, dword [0x469918]
push 0
push dword [0x46b2ec]
push 0
push dword [esi + 0x198]
push eax
mov eax, dword [0x469920]
sub eax, ecx
push eax
push edx
push ecx
push 0x56000027
push 0
push str.SysTreeView32
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
mov dword [esi + 0x270], eax
mov dword [edi + 0x28], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x413ab7
lea ecx, [esp + 0x18]
xorps xmm0, xmm0
push ecx
push eax
movups xmmword [esp + 0x20], xmm0
call ebx
push dword [esp + 0x24]
mov ecx, edi
push dword [esp + 0x24]
call fcn.004044e0
mov eax, dword [0x469924]
mov edx, dword [0x46991c]
sub eax, edx
mov ecx, dword [0x469918]
push 0
push dword [0x46b2ec]
push 0
push dword [esi + 0x118]
push eax
mov eax, dword [0x469920]
sub eax, ecx
push eax
push edx
push ecx
push 0x56000149
push 0
push str.SysListView32
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x848
push 0
push 0x1036
push eax
mov dword [esi + 0x274], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.00415650
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
push dword [esi + 4]
movups xmmword [esp + 0x20], xmm0
call ebx
push 1
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.00405570
mov edi, dword [esi + 0x2c]
test edi, edi
je 0x413b66
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
sub eax, edx
mov ecx, dword [esp + 0x18]
push 0x14
push eax
mov eax, dword [esp + 0x28]
sub eax, ecx
push eax
push edx
push ecx
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 0x274]
mov eax, dword [esi + 0x198]
mov dword [esi + 0x140], ecx
lea ecx, [esi + 0x138]
mov dword [esi + 0x13c], eax
call fcn.00404ee0
lea eax, [esp + 0x28]
push eax
push dword [esi + 4]
call ebx
mov eax, dword [esp + 0x30]
lea ecx, [esi + 0x138]
sub eax, dword [esp + 0x28]
cdq
and edx, 3
add eax, edx
push 1
sar eax, 2
push eax
call fcn.004051b0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x413bd5
mov dword [esp + 0x10], eax
lea ecx, [esi + 0x3c]
mov eax, 8
mov word [esp + 0x14], ax
lea eax, [esp + 0x10]
push eax
call fcn.00416fd0
mov edx, dword [esi + 0x4c]
mov ebx, 0xffff
mov ecx, dword [esi + 0x48]
test edx, edx
je 0x413c39
movzx eax, word [ecx]
cmp ax, bx
je 0x413c39
mov edi, 0xe800
cmp di, ax
je 0x413c07
movzx eax, word [ecx + 4]
add ecx, 4
add edx, 8
cmp ax, bx
jne 0x413bf1
jmp 0x413c39
movzx edi, word [edx]
test edi, 0x200
jne 0x413c2c
mov ax, word [ecx + 2]
or ax, di
mov edi, 0xfbff
and ax, di
mov edi, 0x200
or ax, di
mov word [edx], ax
movzx eax, word [ecx + 2]
test word [edx], ax
je 0x413c39
or word [esi + 0x50], ax
sub esp, 0x10
mov ecx, esi
call fcn.00415250
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
test edx, edx
je 0x413ca8
movzx eax, word [ecx]
cmp ax, bx
je 0x413ca8
mov edi, 0xe801
nop word [eax + eax]
cmp di, ax
je 0x413c76
movzx eax, word [ecx + 4]
add ecx, 4
add edx, 8
cmp ax, bx
jne 0x413c60
jmp 0x413ca8
movzx edi, word [edx]
test edi, 0x200
jne 0x413c9b
mov ax, word [ecx + 2]
or ax, di
mov edi, 0xfbff
and ax, di
mov edi, 0x200
or ax, di
mov word [edx], ax
movzx eax, word [ecx + 2]
test word [edx], ax
je 0x413ca8
or word [esi + 0x50], ax
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
test edx, edx
je 0x413d08
movzx eax, word [ecx]
cmp ax, bx
je 0x413d08
mov edi, 0x68
nop
cmp di, ax
je 0x413cd6
movzx eax, word [ecx + 4]
add ecx, 4
add edx, 8
cmp ax, bx
jne 0x413cc0
jmp 0x413d08
movzx edi, word [edx]
test edi, 0x200
jne 0x413cfb
mov ax, word [ecx + 2]
or ax, di
mov edi, 0xfbff
and ax, di
mov edi, 0x200
or ax, di
mov word [edx], ax
movzx eax, word [ecx + 2]
test word [edx], ax
je 0x413d08
or word [esi + 0x50], ax
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
test edx, edx
je 0x413d68
movzx eax, word [ecx]
cmp ax, bx
je 0x413d68
mov edi, 0x6d
nop
cmp di, ax
je 0x413d36
movzx eax, word [ecx + 4]
add ecx, 4
add edx, 8
cmp ax, bx
jne 0x413d20
jmp 0x413d68
movzx edi, word [edx]
test edi, 0x200
jne 0x413d5b
mov ax, word [ecx + 2]
mov ebx, 0xfbff
or ax, di
and ax, bx
mov ebx, 0x200
or ax, bx
mov word [edx], ax
movzx eax, word [ecx + 2]
test word [edx], ax
je 0x413d68
or word [esi + 0x50], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [0x46c1c0]
add edi, 0x10
mov dword [esp + 0x10], eax
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x46c264]
lea eax, [esp + 0x10]
push eax
call fcn.00416e80
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esi + 0x34]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ecx
push eax
lea ecx, [ebx + 4]
call fcn.00406f10
lea eax, [esi + 0x38]
mov dword [esp + 0x10], eax
lea ecx, [ebx + 0x10]
lea eax, [esp + 0x10]
push eax
call fcn.00406f10
push 0
push 0x3e8
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
jne 0x413e10
push 0x208
push 0x46d350
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
mov edx, 0x46d350
mov ecx, str.Unknown_module._GetModuleFileName___failed_too.
cmovne ecx, edx
push ecx
call esi
push str.SetTimer___failed
mov edi, eax
push 0x15a
jmp 0x413e62
mov ecx, dword [esp + 0x14c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00429d08
mov esp, ebp
pop ebp
ret 0x10
call fcn.004273e0
push 0x208
push 0x46d350
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
mov edx, 0x46d350
mov ecx, str.Unknown_module._GetModuleFileName___failed_too.
cmovne ecx, edx
push ecx
call esi
push ebx
mov edi, eax
push 0x119
push str.CMainFrameWin.cpp
call esi
push eax
push 0x10
push edi
push str.Failed_assertion_in__s_at_line__d_n_n_s
call fcn.00427590
add esp, 0x18
push 1
call fcn.004316e6
int3