joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a5b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460362
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x47c860]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
call fcn.00403a10
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov dword [eax], vtable.CFlowTest.0
mov ecx, dword [ebp - 0x18]
add ecx, 0x28
call fcn.004039e0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0x5c
call fcn.004039e0
mov byte [ebp - 4], 2
push 0
push 0
push 1
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x8c
call fcn.0040d579
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
add ecx, 0x98
call fcn.0045bc30
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
add ecx, 0x7c
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
push 0x459e50
push 0
push 0
call fcn.0042f0b1
add esp, 0x18
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x78], eax
push 8
call fcn.0040c155
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45a689
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x7c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.004595f0
mov dword [ebp - 0x1c], eax
jmp 0x45a690
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x318], ecx
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
push 0x45a1f0
call fcn.0040e0ea
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x4c], eax
call fcn.00457400
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x94], 7
push 0x46c1a0
mov ecx, dword [ebp - 0x18]
add ecx, 0x5c
call fcn.004030d0
push 0x481208
mov ecx, dword [ebp - 0x18]
add ecx, 0x28
call fcn.00402f50
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x88], 0
mov edx, dword [ebp - 0x18]
add edx, 0x31c
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x44], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x45a740
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 0x94], 4
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
push 0x45a470
push 0
push 0
call fcn.0042f0b1
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x45b6e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4602c9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x47c860]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
call fcn.004599f0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov dword [eax], vtable.CTcpFlowTest.0
mov ecx, dword [ebp - 0x28]
add ecx, 0x80
call fcn.00407ed0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x28]
mov dword [edx + 4], 0xffffffff
mov eax, dword [ebp - 0x28]
add eax, 0xa4
push eax
push 0
mov ecx, dword [ebp - 0x28]
push ecx
push 0x45b460
push 0
push 0
call fcn.0042f0b1
add esp, 0x18
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x9c], eax
push 0x268
call fcn.0040c155
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], 0
je 0x45b7a8
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xa4]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00449fc0
mov dword [ebp - 0x2c], eax
jmp 0x45b7af
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x98], ecx
mov dword [ebp - 0x10], 0
jmp 0x45b7d7
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 4
jge 0x45b847
push 0x290
call fcn.0040c155
add esp, 4
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x24], 0
je 0x45b812
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xa4]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.00449b20
mov dword [ebp - 0x30], eax
jmp 0x45b819
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], 0x45b1c0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x80
call fcn.00406290
jmp 0x45b7ce
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x40b640
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x409015
lea edi, [esi - 0x8015]
push edi
or ebp, 0xffffffff
jmp 0x40b662
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40b669
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40b658
mov eax, 1
add ebx, ebx
jne 0x40b67b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40b670
jne 0x40b68c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40b670
xor ecx, ecx
sub eax, 3
jb 0x40b6a0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40b712
mov ebp, eax
add ebx, ebx
jne 0x40b6ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40b6b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40b6dc
inc ecx
add ebx, ebx
jne 0x40b6c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40b6bd
jne 0x40b6d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40b6bd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40b6fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40b6ed
jmp 0x40b65e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40b6fc
add edi, ecx
jmp 0x40b65e
pop esi
mov edi, esi
mov ecx, 0x180
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40b71a
cmp byte [edi], 0
jne 0x40b71a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x40b71f
lea edi, [esi + 0x9000]
mov eax, dword [edi]
or eax, eax
je 0x40b78e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb050]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40b74c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb054]
or eax, eax
je 0x40b788
mov dword [ebx], eax
add ebx, 4
jmp 0x40b769
call dword [esi + 0xb058]
popal
jmp 0x4011e4
Function at 0x401d80
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x618
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov cx, word [0x514ff0]
xor eax, eax
mov word [esp + 0xc], cx
mov ecx, 0x81
lea edi, [esp + 0xe]
push 0x4f6178
rep stosd dword es:[edi], eax
push 0x5b
stosw word es:[edi], ax
call fcn.004843d0
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 4
lea edx, [esp + 0x10]
push eax
push 0x103
push edx
call ebx
add esp, 0x10
cmp word [0x61ee28], 0
je 0x401df8
push 0x61ee28
push 0x4f6170
lea eax, [esp + 0x14]
push 0x103
push eax
call ebx
add esp, 0x10
cmp word [0x61dde0], 0
je 0x401e8b
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x216]
mov word [esp + 0x214], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [esi + 4]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x41e]
mov word [esp + 0x41c], 0
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x218]
push ecx
push edx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x214]
push 0x61dde0
push eax
push str._s__s
lea ecx, [esp + 0x428]
push 0x103
push ecx
call ebx
mov eax, dword [esi + 4]
add esp, 0x14
lea edx, [esp + 0x41c]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [esp + 0xc]
push ecx
push 0x409
push edx
call edi
push str.3.7.1.2
push 0x5c
call fcn.004843d0
add esp, 4
push eax
lea eax, [esp + 0x14]
push 0x103
push eax
call ebx
mov edx, dword [esi + 4]
add esp, 0x10
lea ecx, [esp + 0xc]
push ecx
push 0x40a
push edx
call edi
lea edi, [esi + 8]
push 0
push 0x5aff
push 0xd0721f
mov ecx, edi
call fcn.00454440
mov eax, dword [esi + 4]
push 0x40b
push eax
mov ecx, edi
call fcn.00454930
lea edi, [esi + 0x27c]
push 0
push 0x5aff
push 0xd0721f
mov ecx, edi
call fcn.00454440
mov ecx, dword [esi + 4]
push 0x40c
push ecx
mov ecx, edi
call fcn.00454930
pop edi
pop esi
pop ebx
add esp, 0x618
ret
Function at 0x403aba
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x74
test eax, eax
push ebx
push esi
mov esi, ecx
je 0x403ad0
mov ecx, dword [esi + 4]
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
jmp 0x403ada
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 4]
mov ebx, eax
push ebp
lea eax, [esp + 0x10]
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esp + 0x18]
sub edx, eax
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, eax
push ebp
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x42cc]
test eax, eax
je 0x403b82
mov edx, dword [esi + 4]
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0x42cc]
lea eax, [esp + 0x34]
push eax
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
sub eax, edx
mov edx, dword [esp + 0x38]
add eax, ecx
mov ecx, dword [esp + 0x28]
sub ecx, edx
mov edx, dword [esp + 0x18]
add ecx, edx
push ecx
mov ecx, dword [esi + 0x42cc]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.004c0e70
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
call fcn.004035d0
lea edx, [esp + 0x14]
push 2
push edx
mov ecx, esi
call fcn.004028f0
mov eax, dword [esi + 0x42fc]
test eax, eax
je 0x403bbd
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 1
push ecx
push edx
push edi
push 0
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
push edi
mov ecx, esi
call fcn.004039f0
push edi
mov ecx, esi
call fcn.00403830
push edi
mov ecx, esi
call fcn.00403910
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push 0xcc0020
push eax
push ecx
sub edx, eax
push edi
push edx
mov edx, dword [esp + 0x30]
sub edx, ecx
push edx
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x10]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x88]
pop edi
test eax, eax
pop ebp
je 0x403c49
mov edx, dword [esi + 4]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
pop esi
pop ebx
add esp, 0x74
ret 4
mov eax, dword [esi + 4]
push ebx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
pop ebx
add esp, 0x74
ret 4
Function at 0x4049a0
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1048
call fcn.004d9670
push ebx
mov ebx, dword [esp + 0x1050]
push esi
mov esi, ecx
push edi
cmp word [esi + 0x435c], 0
lea eax, [esi + 0x435c]
mov dword [esi + 0x7480], ebx
mov dword [esi + 0x7484], 1
je 0x4049e4
push eax
mov eax, dword [esi + 0x42c4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 0x42c4]
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
push 0x824
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push ecx
push edx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0xc]
push eax
call fcn.00491e20
add esp, 4
lea ecx, [esp + 0xc]
lea edi, [esi + 0x63ec]
push ecx
push 0x4f6170
push 0x823
push edi
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov edx, dword [esi + 0x42d0]
add esp, 0x10
lea eax, [esp + 0xc]
push edx
push ebx
push eax
call fcn.00421f10
mov ecx, eax
call fcn.00428060
push 1
push edi
mov ecx, esi
call fcn.00403c80
mov eax, dword [esi + 0x220c]
test eax, eax
je 0x404a9e
mov eax, dword [esi + 0x2208]
push 0
push 0
push 0
test eax, eax
push 0
je 0x404a83
push 0x759c
jmp 0x404a88
push 0x7595
call fcn.00420140
mov ecx, eax
call fcn.004201d0
mov dword [esi + 0x220c], 0
mov eax, dword [esi + 0x2210]
cmp eax, 3
jbe 0x404ab8
push 0
push 0
push 0
push 0
push 0x7596
jmp 0x404ae1
jne 0x404ac9
push 0
push 0
push 0
push 0
push 0x7597
jmp 0x404ae1
push 0
push 0
test eax, eax
push 0
push 0
ja 0x404adc
push 0x7599
jmp 0x404ae1
push 0x7598
call fcn.00420140
mov ecx, eax
call fcn.004201d0
mov eax, dword [esi + 0x7480]
test eax, eax
jne 0x404afe
mov ecx, esi
call fcn.004046c0
mov eax, dword [esi + 0x7484]
test eax, eax
je 0x404b30
mov eax, dword [esi + 4]
push eax
push eax
call dword [sym.imp.USER32.dll_GetMenu]
mov ecx, dword [esi + 0x42c8]
and eax, 0xffff
or eax, 0xb0000
push eax
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 4]
push 0x2009
push edx
mov word [esi + 0x2224], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 1
mov ecx, esi
call fcn.00404bc0
pop edi
pop esi
pop ebx
add esp, 0x1048
ret 4
Function at 0x406650
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x2090
call fcn.004d9670
mov eax, dword [0x515a9c]
push edi
test eax, eax
mov edi, ecx
je 0x406673
mov eax, 0x515aa0
pop edi
add esp, 0x2090
ret
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
add edi, 0x6c
push 0x5c
push edi
mov esi, eax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
mov edi, eax
lea eax, [esp + 0x10]
push esi
push 0x4f6170
push 0x1047
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
add esp, 0x10
lea ecx, [esp + 0x10]
push edi
push ecx
call ebx
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
mov esi, eax
test esi, esi
je 0x4066cf
push edi
call ebp
lea esi, [esi + eax*2]
add esp, 4
test esi, esi
jne 0x4066ed
lea esi, [edi + 2]
lea edx, [esp + 0x10]
push esi
push edx
call ebx
mov edi, eax
test edi, edi
je 0x40675c
push esi
call ebp
lea esi, [edi + eax*2]
add esp, 4
test esi, esi
je 0x40675c
push 0x4f75e8
push esi
call ebx
test eax, eax
je 0x4066fe
lea esi, [eax + 4]
jmp 0x406716
push 2
push 0x4f75e0
push esi
call dword [sym.imp.MSVCRT.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x406716
add esi, 4
cmp word [esi], 0
je 0x40675c
push esi
push 0x4f6170
push 0x1047
push 0x515aa0
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x515aa0
mov word [0x517b2e], 0
call fcn.00491e20
push 0x515aa0
call fcn.004924f0
push 0x515aa0
call fcn.00491e20
add esp, 0x1c
pop esi
pop ebp
pop ebx
mov dword [0x515a9c], 1
mov eax, 0x515aa0
pop edi
add esp, 0x2090
ret
Function at 0x406890
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x20c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
lea eax, [esi + 0x6c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea edx, [esp + 0x18]
push edx
call fcn.00433040
lea eax, [esp + 0x1c]
push eax
call fcn.00491ef0
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
mov dword [esi + 0x10], eax
je 0x4069f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4069f4
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 1
mov ecx, esi
call fcn.00406780
test eax, eax
mov dword [0x5edfa0], eax
jne 0x406920
push 0x64
call ebx
mov edx, edi
inc edi
cmp edx, 0x14
jb 0x4068f7
mov eax, dword [0x5edfa0]
test eax, eax
je 0x4069f4
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
mov edx, dword [0x5edfa0]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov edi, dword [esp + 0x21c]
cmp word [edi], 0
jne 0x406989
mov ecx, dword [esi + 0x34]
mov edx, dword [0x5edfa0]
push 0
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20c
ret 4
push 0x4f75f0
push edi
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x4069c5
mov eax, dword [esi + 0x34]
mov ecx, dword [0x5edfa0]
push 0x1e0000
push 0xffffffffffffffff
push eax
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20c
ret 4
push edi
mov ecx, esi
call fcn.00408390
test eax, eax
je 0x4069e3
mov edx, dword [0x5edfa0]
push edi
push 0
push edx
call fcn.00442670
add esp, 0xc
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20c
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x20c
ret 4

Function at 0x406d10
Capabilities:
Get common file path
Move file

Disassembly:
sub esp, 0x410
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x212]
mov word [esp + 0x210], si
push 0x103
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x420]
stosw word es:[edi], ax
lea eax, [esp + 0x214]
push eax
push 0x4f7624
push ecx
call fcn.00441dc0
add esp, 0x10
test eax, eax
je 0x406dbe
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], si
rep stosd dword es:[edi], eax
lea edx, [esp + 8]
push edx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x4f67ac
push 0x51526c
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [esp + 8]
push 1
push eax
push 0x515064
call esi
push 2
lea ecx, [esp + 0x214]
push 0x515064
push ecx
call esi
lea edx, [esp + 8]
push 1
push edx
call fcn.00493290
add esp, 8
pop edi
pop esi
add esp, 0x410
ret 4
Function at 0x406f20
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x208
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
lea eax, [esp + 8]
push 0x103
push eax
push 0x4f7624
push esi
call fcn.00441dc0
add esp, 0x10
test eax, eax
je 0x406fa9
cmp word [esp + 8], 0
je 0x406fa9
push 0
push 0x4f7658
push esi
call fcn.00441d30
add esp, 0xc
cmp eax, 1
jne 0x406f98
lea ecx, [esp + 8]
push eax
push ecx
call fcn.00433910
add esp, 8
pop edi
pop esi
add esp, 0x208
ret 4
lea edx, [esp + 8]
push edx
call fcn.00421f10
mov ecx, eax
call fcn.00423d90
pop edi
pop esi
add esp, 0x208
ret 4

Function at 0x407120
Capabilities:
Get keyboard layout

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
mov edi, 1
push 0
mov dword [esi + 0x4c], edi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push edi
mov ecx, esi
mov dword [0x620094], eax
call fcn.00406300
test eax, eax
jne 0x40714c
pop edi
pop esi
pop ecx
ret 4
push ebx
call fcn.0048da60
call fcn.00489820
mov ebx, dword [esp + 0x14]
mov eax, dword [0x5f3094]
lea ecx, [esp + 0xc]
mov dword [0x5edf98], eax
push ecx
push 0x4f76a0
push ebx
mov dword [esp + 0x18], 0
call fcn.00441d30
mov dword [0x5edf9c], eax
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
jne 0x407199
mov edx, dword [0x5f308c]
mov dword [0x5edf9c], edx
mov ecx, esi
call fcn.004084e0
push edi
call fcn.00419bb0
add esp, 4
mov ecx, esi
call fcn.004072f0
push 0x16
push str.FavoriteCY
push str.ToolBar
call fcn.004cccb0
mov ecx, eax
call fcn.004cddf0
mov dword [0x614520], eax
call fcn.0040c170
mov ecx, eax
call fcn.0040c1a0
call fcn.004cccb0
mov dword [eax + 0x34], edi
call fcn.00438e60
mov edi, eax
call fcn.00489250
mov dword [esp + 0x14], eax
call fcn.00421f10
mov ecx, eax
call fcn.00422200
call fcn.00421f10
mov ecx, eax
call fcn.0042aea0
call fcn.00421f10
mov ecx, eax
call fcn.00424080
call fcn.0048d4c0
mov eax, dword [0x5ed178]
test eax, eax
je 0x40723e
mov ecx, dword [0x5ed170]
mov edx, dword [0x5ed174]
push ecx
push edx
push eax
call fcn.00421f10
mov ecx, eax
call fcn.00428e90
test edi, edi
je 0x407264
push ebx
mov ecx, esi
call fcn.004074b0
test eax, eax
je 0x40725c
mov ecx, esi
call fcn.00407730
mov ecx, edi
call fcn.00439e30
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
pop ebx
je 0x40727c
push eax
call edi
mov dword [esi + 0x10], 0
mov eax, dword [esi + 0x28]
test eax, eax
je 0x407297
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x28]
push ecx
call edi
mov dword [esi + 0x28], 0
call fcn.00415480
test eax, eax
je 0x4072a8
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4072b6
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, 0x5f2060
call fcn.004be780
call fcn.004b61e0
push 0
call fcn.00419bb0
add esp, 4
mov ecx, esi
push 0
call fcn.00406300
mov esi, dword [esi + 0x14]
test esi, esi
je 0x4072e2
push esi
call edi
pop edi
mov eax, 1
pop esi
pop ecx
ret 4