joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414080
Capabilities:
Allocate thread local storage

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
call fcn.004140d0
push 0x28
call fcn.00419cff
add esp, 4
mov dword [esp + 8], eax
mov ecx, eax
call fcn.00413f40
mov edi, eax
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x24]
push 0
push ecx
mov edx, eax
mov ecx, esi
call fcn.004144f0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
mov esi, eax
call dword [edx + 0x10]
pop edi
mov eax, esi
pop esi
pop ecx
ret

Function at 0x4141c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub esp, 0x28
push ebx
push ebp
mov ebx, ecx
mov dword [esp + 0xc], 0x80000000
push esi
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov eax, dword [ebx]
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
mov esi, dword [esp + 0x5c]
lea ecx, [ebx + 0xc]
mov ebp, dword [esp + 0x58]
mov edx, 0xa
sub esi, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
sub ebp, edi
mov dword [esp + 0x20], esi
call fcn.00413fe0
push dword [0x448bcc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esp + 0x28]
mov dword [esp + 0x24], eax
mov ecx, ebx
call fcn.00414640
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [ebx]
mov ecx, ebx
mov dword [ebx + 0x24], 1
call dword [edx + 0x50]
mov edx, dword [ebx]
test eax, eax
je 0x4142b5
push ecx
mov ecx, ebx
mov dword [esp + 0x24], 0
call dword [edx + 0x24]
mov edx, eax
lea ecx, [esp + 0x24]
call fcn.0040ee21
push ecx
mov edx, 0x43c0dc
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x20]
call fcn.0040ee21
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
mov ecx, dword [esp + 0x54]
push eax
push dword [esp + 0x50]
push 0
push 0
push esi
mov esi, dword [esp + 0x34]
push ebp
push ecx
push edi
push dword [esp + 0x34]
mov edi, dword [esp + 0x40]
push edi
push esi
push dword [esp + 0x44]
call dword [sym.imp.USER32.dll_CreateWindowExA]
push esi
call fcn.00421145
push edi
call fcn.00421145
add esp, 8
jmp 0x4142ef
mov ecx, ebx
call dword [edx + 0x2c]
mov edx, dword [ebx]
mov ecx, ebx
mov edi, dword [esp + 0x14]
mov esi, eax
call dword [edx + 0x24]
mov ecx, dword [esp + 0x54]
push esi
push dword [esp + 0x50]
push 0
push 0
push dword [esp + 0x30]
push ebp
push ecx
push dword [esp + 0x6c]
push edi
push 0x43c0dc
push eax
push dword [esp + 0x44]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x2c], 0
mov esi, eax
je 0x41430e
lea ecx, [esp + 0x28]
call fcn.00414680
push dword [esp + 0x24]
push dword [0x448bcc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x24
Function at 0x414b66
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x431b34
call fcn.00431294
push ecx
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 8]
mov dword [edi], vtable.CPatchRes.0
call fcn.0040fa35
xor edx, edx
lea ecx, [edi + 0xc]
mov dword [ebp - 4], edx
call fcn.0040eb55
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], vtable.CXFile.0
mov dword [edi + 0x20], edx
mov dword [edi + 0x24], edx
push ecx
lea ecx, [edi + 0x34]
mov dword [edi + 0x28], edx
mov dword [edi + 0x2c], edx
mov dword [edi + 0x30], edx
call fcn.00411223
mov dword [edi + 0x34], vtable._CXErrorModule605.0
push ecx
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00414c5a
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x18], eax
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret 8

Function at 0x414cf0
Capabilities:
Parse pe header

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x14], 0
je 0x414d77
mov eax, dword [esi + 0x10]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x414d77
mov ecx, dword [eax + 0x3c]
mov edx, 0x4550
cmp word [ecx + eax], dx
jne 0x414d77
add eax, 4
xor ebx, ebx
add ecx, eax
xor ebp, ebp
mov dword [esp + 0x10], ecx
movzx eax, word [ecx + 0x10]
lea edi, [ecx + 0x14]
add edi, eax
xor eax, eax
cmp ax, word [ecx + 2]
jae 0x414d77
test ebx, ebx
jne 0x414d62
push str..rsrc
push edi
call fcn.00422636
pop ecx
pop ecx
test eax, eax
jne 0x414d4e
inc ebx
jmp 0x414d51
add edi, 0x28
mov eax, dword [esp + 0x10]
inc ebp
movzx eax, word [eax + 2]
cmp ebp, eax
jl 0x414d36
test ebx, ebx
je 0x414d77
mov ecx, dword [edi + 0x14]
xor eax, eax
and dword [esi + 0x2c], 0
inc eax
mov dword [esi + 0x28], ecx
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x30], ecx
jmp 0x414d79
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x414f07
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x431bb3
call fcn.00431294
sub esp, 0x41c
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [ebp - 4], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], ebx
push 0x104
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 9
push ecx
push eax
mov dword [edi + 0x50], 0x60
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x428]
xor edx, edx
push ebx
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040313a
pop ecx
pop ecx
lea edx, [ebp - 0x428]
lea ecx, [edi + 0x20]
call fcn.0040fb65
mov dword [0x44a4f4], edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push dword [edi + 4]
mov dword [edi + 0x50], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x415972
Capabilities:
Hide graphical window
Resume thread
Terminate thread

Disassembly:
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov edi, dword [esp + 0x14]
cmp edi, dword [esi + 0x54]
jne 0x4159c8
push ebp
push dword [esi + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebp
inc ebp
push ebp
push 0x402
push dword [esi + 0x5c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0xa
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push dword [esi + 0xc]
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea ecx, [esi + 0x28]
mov dword [esi + 0x1c], ebp
call fcn.0040fb1f
mov dword [esi + 0x2c], eax
xor ebp, ebp
cmp edi, dword [esi + 0x58]
jne 0x4159f9
cmp dword [esi + 0x1c], ebp
je 0x4159ec
push dword [esi + 0x18]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x80010001
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebp
push ebp
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebp
ret 8
Function at 0x415a28
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
push edi
mov edi, ecx
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [edi + 8]
xor esi, esi
movaps xmm0, xmmword [0x4427b0]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x4c], 3
mov dword [ebp - 0x48], 0x4153fe
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], str.CLASS_FENATTENTETELECHARGEMENTFW
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
jne 0x415a85
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0x80000000
jmp 0x415bb2
push ebx
push 0x1e0
mov ecx, edi
call fcn.00415bb6
push 0xe6
mov ecx, edi
mov dword [ebp - 8], eax
call fcn.00415bb6
lea ecx, [edi + 0x24]
mov dword [ebp - 4], eax
call fcn.0040fb1f
mov edx, dword [edi]
mov ebx, 0x10000000
mov dword [edi + 0x2c], eax
test edx, edx
je 0x415ac9
push esi
push edx
mov ebx, 0x10c00000
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [edi]
lea ecx, [edi + 0x20]
call fcn.0040fb1f
push esi
push dword [edi + 8]
mov ecx, 0x80000000
push esi
push edx
push dword [ebp - 4]
push dword [ebp - 8]
push ecx
push ecx
push ebx
push eax
push str.CLASS_FENATTENTETELECHARGEMENTFW
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x415ba1
push 1
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
push ebx
call dword [sym.imp.USER32.dll_BringWindowToTop]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
push 0xa
push 1
push ebx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [edi + 0x18], eax
lea eax, [ebp - 8]
push eax
push 4
push edi
push 0x4153b8
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x415b51
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0x80000000
jmp 0x415bb1
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x415b6d
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push esi
push esi
push esi
lea eax, [ebp - 0x24]
push eax
call ebx
test eax, eax
jne 0x415b59
cmp dword [edi], esi
je 0x415b88
push 1
push dword [edi]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [edi + 8]
push str.CLASS_FENATTENTETELECHARGEMENTFW
call dword [sym.imp.USER32.dll_UnregisterClassW]
jmp 0x415baf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
or esi, 0x80000000
mov eax, esi
pop ebx
pop edi
pop esi
leave
ret
Function at 0x416f3c
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetWindowLongW]
push esi
push edi
mov esi, ecx
push 0xffffffffffffffec
push dword [esi + 0x1c]
call ebp
mov ecx, dword [0x44aaf8]
mov edi, eax
push 0x64
pop edx
test ecx, ecx
je 0x416f6b
cmp dword [esp + 0x18], edx
jge 0x416f6b
or edi, 0x80000
mov ebx, dword [sym.imp.USER32.dll_SetWindowLongW]
xor edx, edx
cmp edi, eax
setne dl
mov dword [esp + 0x10], edx
je 0x416f97
push 0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 0xffffffffffffffec
push dword [esi + 0x1c]
call ebx
mov ecx, dword [0x44aaf8]
test ecx, ecx
je 0x416fb3
imul eax, dword [esp + 0x18], 0xff
push 2
push 0x64
pop edi
cdq
idiv edi
push eax
push 0
push dword [esi + 0x1c]
call ecx
cmp dword [esp + 0x10], 0
je 0x416fec
push 0xfffffffffffffff0
pop edi
push edi
push dword [esi + 0x1c]
call ebp
and eax, 0xfdffffff
push eax
push edi
push dword [esi + 0x1c]
call ebx
push 5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push dword [esi + 0x1c]
call ebp
or eax, 0x2000000
push eax
push edi
push dword [esi + 0x1c]
call ebx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x417d18
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push str.INFOEXE
mov esi, ecx
mov edi, edx
push 0x7c
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0x12ca
push eax
push edi
call fcn.0041ace0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
pop edi
inc eax
pop esi
ret
Function at 0x417eba
Capabilities:
Get common file path

Disassembly:
mov eax, 0x431e15
call fcn.00431294
sub esp, 0x444
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x24]
call fcn.0040eb55
xor esi, esi
mov eax, ecx
mov dword [ebp - 4], esi
push dword [edi + 0x870]
push dword [edi + 0x86c]
push ecx
push 0x82
push eax
mov ecx, edi
call fcn.00418c96
test eax, eax
je 0x418005
lea eax, [ebp - 0x450]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x240]
push eax
push esi
push 0x4420d4
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov dword [ebp - 0x18], vtable.CXFile.0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
push esi
push 0x10000000
push 2
push esi
push 0x40000000
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x18]
call fcn.00413245
test eax, eax
je 0x417ffd
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push dword [ebp - 0x20]
call fcn.004132ce
test eax, eax
je 0x417ffd
lea ecx, [ebp - 0x18]
call fcn.0041327d
push 0xc4
call fcn.00419cff
pop ecx
mov ecx, eax
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 2
lea eax, [edi + 0xadc]
push dword [edi + 0x10c0]
push dword [edi + 0x10bc]
push dword [edi + 0x10b8]
push dword [edi + 0x10b4]
push eax
lea eax, [edi + 0x8ba]
push eax
lea eax, [edi + 0xfea]
push eax
lea eax, [edi + 0xdc8]
push eax
lea eax, [edi + 0xba6]
push eax
push dword [edi + 0x880]
lea eax, [ebp - 0x240]
push eax
push dword [edi + 4]
call fcn.00415ef7
mov byte [ebp - 4], 1
mov dword [edi + 0x12f4], eax
test eax, eax
je 0x417ffd
mov ecx, eax
call fcn.00416212
inc esi
lea ecx, [ebp - 0x18]
call fcn.004131ad
lea ecx, [ebp - 0x24]
call fcn.0040eb66
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x41812f
Capabilities:
Get common file path

Disassembly:
mov eax, 0x431e6f
call fcn.00431294
sub esp, 0x664
push ebx
push esi
push edi
xor esi, esi
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x25c], esi
movlpd qword [ebp - 0x38], xmm0
call fcn.0040eb55
mov dword [ebp - 4], esi
mov eax, ecx
push dword [edi + 0x646]
push dword [edi + 0x642]
push ecx
push 0x83
push eax
mov ecx, edi
call fcn.00418c96
test eax, eax
je 0x418349
mov dword [ebp - 0x14], esi
cmp dword [edi + 0x64a], esi
jle 0x418349
mov eax, dword [ebp - 0x34]
mov ecx, esi
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
test ecx, ecx
jne 0x418205
mov eax, dword [ebp - 0x2c]
add eax, ebx
push 0x418
push eax
lea eax, [ebp - 0x670]
push eax
call fcn.0041ace0
lea eax, [ebp - 0x466]
push 0x441b40
push eax
call fcn.00420bd0
add esp, 0x14
test eax, eax
jne 0x4181db
xor ecx, ecx
inc ecx
mov dword [ebp - 0x18], ecx
jmp 0x4181ee
mov eax, dword [ebp - 0x25c]
mov ecx, dword [ebp - 0x18]
add eax, 0x418
add ebx, eax
adc dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [edi + 0x64a]
jl 0x4181a0
test ecx, ecx
je 0x418349
lea ecx, [ebp - 0x44]
call fcn.0040eb55
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
mov eax, ecx
push eax
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x25c]
add eax, 0x418
add eax, ebx
push eax
call fcn.00418376
test eax, eax
je 0x41833f
lea ecx, [edi + 0x12dc]
call fcn.0040fb1f
push esi
lea edx, [ebp - 0x258]
mov ecx, eax
call fcn.00403175
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x670]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x258]
mov ebx, str._s_s
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00410388
add esp, 0x14
mov dword [ebp - 0x24], vtable.CXFile.0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
push esi
push 0x10000000
push 2
push esi
push 0x40000000
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0040fb1f
push eax
lea ecx, [ebp - 0x24]
call fcn.00413245
test eax, eax
jne 0x4182fa
lea eax, [ebp - 0x258]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00410388
add esp, 0x10
lea ecx, [ebp - 0x10]
push esi
push 0x10000000
push 2
push esi
push 0x40000000
call fcn.0040fb1f
push eax
lea ecx, [ebp - 0x24]
call fcn.00413245
test eax, eax
je 0x41832f
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x40]
call fcn.004132ce
test eax, eax
je 0x41832f
lea ecx, [ebp - 0x24]
call fcn.0041327d
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
xor ebx, ebx
inc ebx
push eax
mov dword [edi + 0x12f8], ebx
call fcn.0040fec6
mov esi, ebx
lea ecx, [ebp - 0x24]
call fcn.004131ad
lea ecx, [ebp - 0x10]
call fcn.0040fa91
lea ecx, [ebp - 0x44]
call fcn.0040eb66
jmp 0x41835b
mov ecx, dword [ebp + 8]
lea eax, [edi + 0x222]
push eax
call fcn.0040fede
xor esi, esi
inc esi
lea ecx, [ebp - 0x30]
call fcn.0040eb66
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x4186f1
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp dword [0x44a4e8], 0
push ebx
push esi
push edi
mov edi, ecx
jne 0x4187c8
xor ebx, ebx
mov dword [edi + 0x12e0], ebx
cmp dword [edi + 0x65e], ebx
jne 0x4187c8
lea ecx, [edi + 0x12dc]
call fcn.0040fb1f
lea ecx, [ebp - 0x20c]
xor edx, edx
push ecx
mov ecx, eax
call fcn.00403175
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 0x12e0], eax
test eax, eax
je 0x4187d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4187d2
lea eax, [edi + 0x12e4]
xor ecx, ecx
push eax
lea eax, [ebp - 0x20c]
inc ecx
push eax
call fcn.00415c75
mov dword [edi + 0x12e8], eax
pop ecx
pop ecx
test eax, eax
je 0x4187c8
push 0xffffffffffffffff
push dword [edi + 0x12e0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push 4
push eax
push dword [edi + 0x12e8]
call fcn.0041ace0
add esp, 0xc
push dword [edi + 0x12e0]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4
lea eax, [edi + 0x12e4]
xor ecx, ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00415c75
mov dword [edi + 0x12e8], eax
pop ecx
pop ecx
test eax, eax
je 0x418853
push 0xffffffffffffffff
push dword [edi + 0x12e0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0x12e8]
push dword [edi + 0x12e0]
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, edi
call fcn.004179c0
push esi
call fcn.00418504
mov esi, eax
test esi, esi
je 0x418853
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 3
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 8]
or dword [eax], 0xffffffff
xor eax, eax
jmp 0x4187cb
mov eax, dword [edi + 0x12e0]
test eax, eax
je 0x418864
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
mov ecx, edi
push str.Cette_application_ne_peut_pas
call dword [eax + 4]
jmp 0x418846
Function at 0x418872
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x431da2
call fcn.00431294
sub esp, 0x644
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x2c]
call fcn.0040eb55
and dword [ebp - 4], 0
mov eax, ecx
push dword [edi + 0x646]
push dword [edi + 0x642]
push ecx
push 0x83
push eax
mov ecx, edi
call fcn.00418c96
test eax, eax
je 0x417c01
lea ecx, [edi + 0x12dc]
call fcn.0040fb1f
push 0
lea edx, [ebp - 0x238]
mov ecx, eax
call fcn.00403175
mov eax, dword [edi + 0x64e]
xorps xmm0, xmm0
add eax, dword [edi + 0x64a]
and dword [ebp - 0x18], 0
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], eax
pop ecx
test eax, eax
jle 0x417bb8
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x650]
push 0x418
add esi, ebx
push esi
push eax
call fcn.0041ace0
add esp, 0xc
lea eax, [ebp - 0x238]
mov ecx, edi
push eax
lea eax, [esi + 0x418]
push eax
lea eax, [ebp - 0x650]
push eax
call fcn.00417c1c
test eax, eax
je 0x417c01
mov eax, dword [ebp - 0x23c]
add eax, 0x418
add ebx, eax
mov eax, dword [ebp - 0x18]
adc dword [ebp - 0x14], 0
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x10]
jl 0x417b61
call fcn.00401b25
lea edi, [eax + 4]
lea eax, [ebp - 0x238]
mov ecx, edi
push eax
call fcn.0040fede
mov ecx, edi
call fcn.0040feb5
dec eax
lea edx, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.0041000d
mov esi, eax
xor ebx, ebx
mov ecx, edi
inc ebx
mov byte [ebp - 4], bl
call fcn.0040fac2
mov ecx, dword [esi]
mov dword [edi], ecx
lea ecx, [ebp - 0x10]
and dword [esi], 0
call fcn.0040fa91
jmp 0x417c03
xor ebx, ebx
lea ecx, [ebp - 0x2c]
call fcn.0040eb66
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push ecx
push esi
push edi
push 0xc
mov edi, ecx
call fcn.00419cff
pop ecx
mov ecx, eax
mov dword [esp + 8], eax
call fcn.0040eb55
push dword [edi + 0x652]
mov dword [edi + 0x1308], eax
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
push str.INFOEXE
push 0x7d
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [edi + 0x652]
mov ecx, dword [edi + 0x1308]
push eax
push dword [ecx + 4]
call fcn.0041ace0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, edi
pop edi
pop esi
add esp, 4
jmp 0x417ad9
Function at 0x418dd8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x431753
call fcn.00431294
sub esp, 0xc
push ebx
push esi
xor eax, eax
push edi
mov edi, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
push str.FILEPATH
mov byte [ebp - 4], 2
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0x6d
push dword [edi + 4]
call ebx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
call fcn.00406ec9
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push str.FILEPATH
push 0x6e
push dword [edi + 4]
call ebx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040fede
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push str.FILEPATH
push 0x6f
push dword [edi + 4]
call ebx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040fede
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebp - 0x14]
call fcn.0040fb1f
lea ecx, [ebp - 0x18]
mov edx, eax
call fcn.0040fb1f
mov ecx, eax
call fcn.00406ed7
push str.FILEPATH
push 0x70
push dword [edi + 4]
call ebx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040fede
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x418ef2
xor ecx, ecx
cmp word [eax], cx
je 0x418ef2
lea ecx, [ebp - 0x10]
call fcn.0040fb1f
mov ecx, eax
call fcn.00406f86
push str.INFOEXE
push 0x7f
push dword [edi + 4]
call ebx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
test edi, edi
je 0x418f25
mov ecx, dword [edi]
call fcn.00406f9a
lea ecx, [ebp - 0x10]
call fcn.0040fa91
lea ecx, [ebp - 0x14]
call fcn.0040fa91
lea ecx, [ebp - 0x18]
call fcn.0040fa91
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret