joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4132e0
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 + 0x58]
lea ecx, [ebx + 0xc]
mov edi, dword [esp + 0x5c]
mov edx, 0xa
mov ebp, dword [esp + 0x50]
sub esi, ebp
sub edi, dword [esp + 0x54]
call fcn.00413100
push dword [0x4469c4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esp + 0x28]
mov dword [esp + 0x24], eax
mov ecx, ebx
call fcn.004136f0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [ebx]
mov ecx, ebx
mov dword [ebx + 0x24], 1
call dword [edx + 0x48]
mov edx, dword [ebx]
test eax, eax
je 0x4133d1
push ecx
mov ecx, ebx
mov dword [esp + 0x24], 0
call dword [edx + 0x24]
mov edx, eax
lea ecx, [esp + 0x24]
call fcn.0040e279
push ecx
mov edx, 0x43ad64
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x20]
call fcn.0040e279
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
push eax
push dword [esp + 0x50]
mov eax, dword [esp + 0x5c]
push 0
push 0
push edi
mov edi, dword [esp + 0x30]
push esi
mov esi, dword [esp + 0x38]
push eax
push ebp
push dword [esp + 0x34]
push edi
push esi
push dword [esp + 0x44]
call dword [sym.imp.USER32.dll_CreateWindowExA]
push esi
call fcn.0042013d
push edi
call fcn.0042013d
add esp, 8
jmp 0x413402
mov ecx, ebx
call dword [edx + 0x2c]
push eax
push dword [esp + 0x50]
mov eax, dword [esp + 0x5c]
mov ecx, ebx
push 0
push 0
push edi
push esi
push eax
mov eax, dword [ebx]
push ebp
push dword [esp + 0x34]
push 0x43ad64
call dword [eax + 0x24]
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 0x413421
lea ecx, [esp + 0x28]
call fcn.00413730
push dword [esp + 0x24]
push dword [0x4469c4]
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 0x413bd1
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x43084b
call fcn.004301f0
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.0040ef30
xor edx, edx
lea ecx, [edi + 0xc]
mov dword [ebp - 4], edx
call fcn.0040dfc6
lea ecx, [edi + 0x1c]
mov dword [edi + 0x18], edx
call fcn.004120b6
push ecx
lea ecx, [edi + 0x34]
mov dword [edi + 0x28], edx
mov dword [edi + 0x2c], edx
mov dword [edi + 0x30], edx
call fcn.004100d3
mov dword [edi + 0x34], vtable._CXErrorModule605.0
push ecx
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00413cbb
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 0x413d48
Capabilities:
Parse pe header

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x14], 0
je 0x413dcf
mov eax, dword [esi + 0x10]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x413dcf
mov ecx, dword [eax + 0x3c]
mov edx, 0x4550
cmp word [ecx + eax], dx
jne 0x413dcf
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 0x413dcf
test ebx, ebx
jne 0x413dba
push str..rsrc
push edi
call fcn.00421d0a
pop ecx
pop ecx
test eax, eax
jne 0x413da6
inc ebx
jmp 0x413da9
add edi, 0x28
mov eax, dword [esp + 0x10]
inc ebp
movzx eax, word [eax + 2]
cmp ebp, eax
jl 0x413d8e
test ebx, ebx
je 0x413dcf
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 0x413dd1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x413f3b
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4308c3
call fcn.004301f0
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.00402d4d
pop ecx
pop ecx
lea edx, [ebp - 0x428]
lea ecx, [edi + 0x20]
call fcn.0040f03e
mov dword [0x448284], 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 0x41466e
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 0x4146c4
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.0040effc
mov dword [esi + 0x2c], eax
xor ebp, ebp
cmp edi, dword [esi + 0x58]
jne 0x4146f5
cmp dword [esi + 0x1c], ebp
je 0x4146e8
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 0x414724
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 [0x440940]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x4c], 3
mov dword [ebp - 0x48], 0x414143
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 0x414781
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0x80000000
jmp 0x4148ae
push ebx
push 0x1e0
mov ecx, edi
call fcn.004148b2
push 0xe6
mov ecx, edi
mov dword [ebp - 8], eax
call fcn.004148b2
lea ecx, [edi + 0x24]
mov dword [ebp - 4], eax
call fcn.0040effc
mov edx, dword [edi]
mov ebx, 0x10000000
mov dword [edi + 0x2c], eax
test edx, edx
je 0x4147c5
push esi
push edx
mov ebx, 0x10c00000
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [edi]
lea ecx, [edi + 0x20]
call fcn.0040effc
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 0x41489d
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 0x414027
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x41484d
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0x80000000
jmp 0x4148ad
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x414869
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 0x414855
cmp dword [edi], esi
je 0x414884
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 0x4148ab
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 0x415b61
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0xffffffffffffffec
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [0x448418]
mov edi, eax
push 0x64
pop edx
test ecx, ecx
je 0x415b8d
cmp dword [esp + 0x14], edx
jge 0x415b8d
or edi, 0x80000
mov ebp, dword [sym.imp.USER32.dll_SetWindowLongW]
xor ebx, ebx
cmp edi, eax
setne bl
je 0x415bb5
push 0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 0xffffffffffffffec
push dword [esi + 0x1c]
call ebp
mov ecx, dword [0x448418]
test ecx, ecx
je 0x415bd1
imul eax, dword [esp + 0x14], 0xff
push 2
push 0x64
pop edi
cdq
idiv edi
push eax
push 0
push dword [esi + 0x1c]
call ecx
test ebx, ebx
je 0x415c0d
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
pop ebx
push ebx
push dword [esi + 0x1c]
call edi
and eax, 0xfdffffff
push eax
push ebx
push dword [esi + 0x1c]
call ebp
push 5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [esi + 0x1c]
call edi
or eax, 0x2000000
push eax
push ebx
push dword [esi + 0x1c]
call ebp
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x416975
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.00419840
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
pop edi
inc eax
pop esi
ret
Function at 0x416b25
Capabilities:
Get common file path

Disassembly:
mov eax, 0x430a65
call fcn.004301f0
sub esp, 0x444
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x24]
call fcn.0040dfc6
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.0041787e
test eax, eax
je 0x416c68
lea eax, [ebp - 0x450]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x240]
push eax
push esi
push 0x4401fc
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ecx, [ebp - 0x18]
call fcn.004120b6
push esi
push 0x10000000
push 2
push esi
push 0x40000000
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 1
push eax
call fcn.00412160
test eax, eax
je 0x416c60
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push dword [ebp - 0x20]
call fcn.004121e9
test eax, eax
je 0x416c60
lea ecx, [ebp - 0x18]
call fcn.00412198
push 0xc4
call fcn.00418868
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.00414b58
mov byte [ebp - 4], 1
mov dword [edi + 0x12f4], eax
test eax, eax
je 0x416c60
mov ecx, eax
call fcn.00414e3c
inc esi
lea ecx, [ebp - 0x18]
call fcn.004120c7
lea ecx, [ebp - 0x24]
call fcn.0040dfd7
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x416d92
Capabilities:
Get common file path

Disassembly:
mov eax, 0x430ab1
call fcn.004301f0
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.0040dfc6
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.0041787e
test eax, eax
je 0x416fa7
mov dword [ebp - 0x14], esi
cmp dword [edi + 0x64a], esi
jle 0x416fa7
mov eax, dword [ebp - 0x34]
mov ecx, esi
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
test ecx, ecx
jne 0x416e68
mov eax, dword [ebp - 0x2c]
add eax, ebx
push 0x418
push eax
lea eax, [ebp - 0x670]
push eax
call fcn.00419840
lea eax, [ebp - 0x466]
push 0x43fd24
push eax
call fcn.0041fb07
add esp, 0x14
test eax, eax
jne 0x416e3e
xor ecx, ecx
inc ecx
mov dword [ebp - 0x18], ecx
jmp 0x416e51
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 0x416e03
test ecx, ecx
je 0x416fa7
lea ecx, [ebp - 0x44]
call fcn.0040dfc6
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.00416fd4
test eax, eax
je 0x416f9d
lea ecx, [edi + 0x12dc]
call fcn.0040effc
push esi
lea edx, [ebp - 0x258]
mov ecx, eax
call fcn.00402d88
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.0040f5ed
add esp, 0x14
lea ecx, [ebp - 0x24]
call fcn.004120b6
push esi
push 0x10000000
push 2
push esi
push 0x40000000
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0040effc
push eax
lea ecx, [ebp - 0x24]
call fcn.00412160
test eax, eax
jne 0x416f58
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.0040f5ed
add esp, 0x10
lea ecx, [ebp - 0x10]
push esi
push 0x10000000
push 2
push esi
push 0x40000000
call fcn.0040effc
push eax
lea ecx, [ebp - 0x24]
call fcn.00412160
test eax, eax
je 0x416f8d
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x40]
call fcn.004121e9
test eax, eax
je 0x416f8d
lea ecx, [ebp - 0x24]
call fcn.00412198
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
xor ebx, ebx
inc ebx
push eax
mov dword [edi + 0x12f8], ebx
call fcn.0040f276
mov esi, ebx
lea ecx, [ebp - 0x24]
call fcn.004120c7
lea ecx, [ebp - 0x10]
call fcn.0040ef71
lea ecx, [ebp - 0x44]
call fcn.0040dfd7
jmp 0x416fb9
mov ecx, dword [ebp + 8]
lea eax, [edi + 0x222]
push eax
call fcn.0040f28e
xor esi, esi
inc esi
lea ecx, [ebp - 0x30]
call fcn.0040dfd7
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x417341
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp dword [0x448280], 0
push ebx
push esi
push edi
mov edi, ecx
jne 0x417418
xor ebx, ebx
mov dword [edi + 0x12e0], ebx
cmp dword [edi + 0x65e], ebx
jne 0x417418
lea ecx, [edi + 0x12dc]
call fcn.0040effc
lea ecx, [ebp - 0x20c]
xor edx, edx
push ecx
mov ecx, eax
call fcn.00402d88
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 0x417422
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x417422
lea eax, [edi + 0x12e4]
xor ecx, ecx
push eax
lea eax, [ebp - 0x20c]
inc ecx
push eax
call fcn.004148fe
mov dword [edi + 0x12e8], eax
pop ecx
pop ecx
test eax, eax
je 0x417418
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.00419840
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.004148fe
mov dword [edi + 0x12e8], eax
pop ecx
pop ecx
test eax, eax
je 0x4174a3
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.00416626
push esi
call fcn.00417154
mov esi, eax
test esi, esi
je 0x4174a3
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 0x41741b
mov eax, dword [edi + 0x12e0]
test eax, eax
je 0x4174b4
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 0x417496
Function at 0x4174c2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4309f2
call fcn.004301f0
sub esp, 0x644
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x2c]
call fcn.0040dfc6
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.0041787e
test eax, eax
je 0x416867
lea ecx, [edi + 0x12dc]
call fcn.0040effc
push 0
lea edx, [ebp - 0x238]
mov ecx, eax
call fcn.00402d88
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 0x41681e
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.00419840
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.00416882
test eax, eax
je 0x416867
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 0x4167c7
call fcn.00401723
lea edi, [eax + 4]
lea eax, [ebp - 0x238]
mov ecx, edi
push eax
call fcn.0040f28e
mov ecx, edi
call fcn.0040f265
dec eax
lea edx, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.0040f367
mov esi, eax
xor ebx, ebx
mov ecx, edi
inc ebx
mov byte [ebp - 4], bl
call fcn.0040ef9d
mov ecx, dword [esi]
mov dword [edi], ecx
lea ecx, [ebp - 0x10]
and dword [esi], 0
call fcn.0040ef71
jmp 0x416869
xor ebx, ebx
lea ecx, [ebp - 0x2c]
call fcn.0040dfd7
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.00418868
pop ecx
mov ecx, eax
mov dword [esp + 8], eax
call fcn.0040dfc6
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.00419840
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, edi
pop edi
pop esi
add esp, 4
jmp 0x41673f
Function at 0x4179c4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x430609
call fcn.004301f0
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.004069bd
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.0040f28e
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.0040f28e
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebp - 0x14]
call fcn.0040effc
lea ecx, [ebp - 0x18]
mov edx, eax
call fcn.0040effc
mov ecx, eax
call fcn.004069cb
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.0040f28e
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x417ade
xor ecx, ecx
cmp word [eax], cx
je 0x417ade
lea ecx, [ebp - 0x10]
call fcn.0040effc
mov ecx, eax
call fcn.00406a7a
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 0x417b11
mov ecx, dword [edi]
call fcn.00406aa2
lea ecx, [ebp - 0x10]
call fcn.0040ef71
lea ecx, [ebp - 0x14]
call fcn.0040ef71
lea ecx, [ebp - 0x18]
call fcn.0040ef71
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x42c014
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042bcd4
Function at 0x43ebb0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x43ebce
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x43ebc3
pop esi
ret

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408e84
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1399207f
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2bd7231a
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219