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

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x640]
test eax, eax
jne 0x402858
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x608]
push eax
mov dword [esi + 0x638], ecx
mov dword [esi + 0x63c], edx
call edi
lea ecx, [esi + 0x620]
push ecx
call edi
mov ecx, esi
call fcn.00402980
push 0
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push eax
mov dword [esi + 0x5c0], eax
call edi
mov ebx, dword [sym.imp.MSVCRT.dll__beginthreadex]
lea edx, [esi + 0x5b0]
push edx
push 0
push esi
push 0x402bf0
push 0
push 0
call ebx
add esp, 0x18
mov dword [esi + 0x5ac], eax
test eax, eax
jne 0x402880
call dword [sym.imp.MSVCRT.dll__errno]
mov eax, dword [eax]
mov ecx, esi
push eax
push 0x40e378
push str._beginthreadex_...__failure__for_Launch_Thread
push str.UMServer.log
call fcn.00408090
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
mov ecx, dword [esi + 0x5c0]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x7530
push ecx
call ebp
test eax, eax
je 0x4028c9
push 0x7530
push 0x40e378
push str.Unable_to_get_response_from_Accept_Thread_withing_specified_Timeout___
push str.UMServer.log
mov ecx, esi
call fcn.00408090
mov edx, dword [esi + 0x5c0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
mov eax, dword [esi + 0x5c0]
push eax
call edi
lea ecx, [esi + 0x5b8]
push ecx
push 0
push esi
push 0x403770
push 0
push 0
call ebx
add esp, 0x18
mov dword [esi + 0x5b4], eax
test eax, eax
jne 0x40291c
call dword [sym.imp.MSVCRT.dll__errno]
mov edx, dword [eax]
mov ecx, esi
push edx
push 0x40e378
push str._beginthreadex_...__failure__for_Helper_Thread
push str.UMServer.log
call fcn.00408090
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
mov eax, dword [esi + 0x5c0]
push 0x7530
push eax
call ebp
test eax, eax
je 0x40295f
push 0x7530
push 0x40e378
push str.Unable_to_get_response_from_Helper_Thread_within_specified_Timeout___
push str.UMServer.log
mov ecx, esi
call fcn.00408090
mov ecx, dword [esi + 0x5c0]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
mov edx, dword [esi + 0x5c0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop edi
mov dword [esi + 0x640], eax
pop esi
pop ebp
pop ebx
ret 8
Function at 0x4035b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x10], 0
mov eax, dword [esi + 0x1024]
mov ecx, dword [esi + 0x1020]
cmp eax, ecx
jl 0x4035e9
xor eax, eax
mov dword [esi + 0x1020], eax
mov dword [esi + 0x1024], eax
mov eax, dword [esi + 0x1020]
test eax, eax
jne 0x40360b
mov ecx, dword [esi + 0x102c]
push esi
call fcn.004090a0
mov ebx, eax
test ebx, ebx
jle 0x4036bf
jmp 0x40360d
mov ebx, eax
mov eax, dword [esi + 0x1024]
mov ecx, dword [esi + 0x1020]
sub ecx, eax
mov dword [esp + 0x18], 0x30d40
cmp ecx, 0x30d40
jge 0x40362f
mov dword [esp + 0x18], ecx
push 0
lea ecx, [eax + esi + 0x20]
push 0
lea edx, [esp + 0x18]
push 0
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 4]
push edx
lea eax, [esp + 0x28]
push 1
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSASend]
mov edi, eax
cmp edi, 0xffffffff
je 0x4036a6
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x1028]
mov ecx, dword [esi + 0x1024]
add edx, eax
add ecx, eax
mov dword [esi + 0x1028], edx
mov edx, ecx
mov eax, dword [esi]
mov dword [esp + 0x14], edx
mov dword [esi + 0x1024], ecx
fild dword [esp + 0x14]
fmul qword [0x40b3e0]
fadd qword [eax + 0x5e8]
fstp qword [eax + 0x5e8]
mov ecx, dword [esi]
mov edx, dword [esi + 0x1024]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [esi + 0x1024]
mov ecx, dword [esi + 0x1020]
cmp eax, ecx
jge 0x4036bf
cmp edi, 0xffffffff
jne 0x4035cb
mov ecx, dword [esi + 0x102c]
mov eax, dword [ecx + 0x78]
test eax, eax
jle 0x4036d4
cmp dword [esi + 0x1028], eax
jge 0x4036e1
test ebx, ebx
jle 0x4036e1
cmp edi, 0xffffffff
jne 0x4035cb
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
cmp eax, 0x2733
jne 0x403702
mov edx, dword [ebp + 0x10]
xor eax, eax
mov dword [edx], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 0xffffffff
je 0x403741
fild dword [esi + 0x1024]
mov eax, dword [esi]
fmul qword [0x40b3e0]
fadd qword [eax + 0x5e8]
fstp qword [eax + 0x5e8]
mov ecx, dword [esi]
mov edx, dword [esi + 0x1024]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call ebx
mov ecx, dword [esi]
push eax
push str.ClientThread__Primary_Send
push str.WSASend_...__failure
push str.UMServer.log
call fcn.00408090
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov dword [eax], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4090a0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
push edi
xor eax, eax
lea edx, [esi + 0x20]
mov ecx, 0x400
mov edi, edx
mov dword [esi + 0x1024], eax
mov dword [esp + 0xc], eax
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 8]
lea eax, [esp + 0xc]
push eax
push 0xfff
push edx
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4090ec
mov eax, dword [esp + 0xc]
pop edi
mov dword [esi + 0x1020], eax
pop esi
pop ebx
pop ecx
ret 4
mov edx, dword [esp + 0xc]
pop edi
mov dword [esi + 0x1020], edx
pop esi
or eax, 0xffffffff
pop ebx
pop ecx
ret 4

Function at 0x477880
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x475015
lea edi, [esi - 0x74015]
push edi
or ebp, 0xffffffff
jmp 0x4778a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4778a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x477898
mov eax, 1
add ebx, ebx
jne 0x4778bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4778b0
jne 0x4778cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4778b0
xor ecx, ecx
sub eax, 3
jb 0x4778e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x477952
mov ebp, eax
add ebx, ebx
jne 0x4778eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4778f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x47791c
inc ecx
add ebx, ebx
jne 0x477908
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4778fd
jne 0x477919
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4778fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47793c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47792d
jmp 0x47789e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47793c
add edi, ecx
jmp 0x47789e
pop esi
mov edi, esi
mov ecx, 0x25e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x47795a
cmp byte [edi], 2
jne 0x47795a
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 0x47795f
lea edi, [esi + 0x75000]
mov eax, dword [edi]
or eax, eax
je 0x4779ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x77000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x770c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47798c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x770cc]
or eax, eax
je 0x4779c8
mov dword [ebx], eax
add ebx, 4
jmp 0x4779a9
call dword [esi + 0x770d0]
popal
jmp 0x4011cb
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41b008]
jne 0x40100a
repz ret
jmp fcn.00401941

Function at 0x404d2a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004036bb
and dword [ebp - 4], 0
cmp dword [0x41d214], 0
mov ebx, eax
jne 0x404ddb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x404e8c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x404e8c
push eax
call fcn.00403649
mov dword [esp], 0x418924
push edi
mov dword [0x41d214], eax
call esi
push eax
call fcn.00403649
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41d218], eax
call esi
push eax
call fcn.00403649
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41d21c], eax
call esi
push eax
call fcn.00403649
pop ecx
mov dword [0x41d224], eax
test eax, eax
je 0x404ddb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403649
pop ecx
mov dword [0x41d220], eax
mov eax, dword [0x41d220]
cmp eax, ebx
je 0x404e33
cmp dword [0x41d224], ebx
je 0x404e33
push eax
call fcn.004036c4
push dword [0x41d224]
mov esi, eax
call fcn.004036c4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x404e33
test edi, edi
je 0x404e33
call esi
test eax, eax
je 0x404e2a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404e2a
test byte [ebp - 0xc], 1
jne 0x404e33
or dword [ebp + 0x10], 0x200000
jmp 0x404e6c
mov eax, dword [0x41d218]
cmp eax, ebx
je 0x404e6c
push eax
call fcn.004036c4
pop ecx
test eax, eax
je 0x404e6c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x404e6c
mov eax, dword [0x41d21c]
cmp eax, ebx
je 0x404e6c
push eax
call fcn.004036c4
pop ecx
test eax, eax
je 0x404e6c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41d214]
call fcn.004036c4
pop ecx
test eax, eax
je 0x404e8c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x404e8e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4174e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x41b008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x512e04]
push ebx
push esi
mov esi, dword [0x512c4c]
mov ebx, eax
cmp eax, 0x5dd
jne 0x41751d
push 0
lea eax, [ebp - 0x404]
push eax
push str.movuwubojofihopizuzo_tepiguhopasabahaxejoheburujodoli
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov eax, dword [0x41c000]
call fcn.004173c0
cmp dword [0x512e04], 0x2f
jne 0x417538
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
call fcn.00417400
add esp, 4
cmp dword [0x512e04], 0x568
pop esi
pop ebx
jne 0x41756a
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ecx, dword [ebp - 0x408]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x100d840
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x24]
cmp eax, 1
jne 0x100d853
pop ebp
jmp fcn.0100ce29
test eax, eax
jne 0x100d85d
pop ebp
jmp fcn.0100cdd0
cmp eax, 2
jne 0x100d868
pop ebp
jmp fcn.0100d3c9
xor eax, eax
pop ebp
ret 0x10

Function at 0x100e0d4
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x1011248]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.0100e015
mov eax, 0x1000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x100e147
cmp dword [ebp - 0x94], 5
jb 0x100e168
jmp 0x100e164
cmp dword [ebp - 0x88], 1
jne 0x100e168
cmp dword [ebp - 0x94], 4
ja 0x100e164
jne 0x100e168
cmp dword [ebp - 0x90], 0
jbe 0x100e168
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x100326c
call fcn.010037be
test eax, eax
jge 0x100e189
mov byte [0x101127c], 1
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0100e7c7
leave
ret

Function at 0x100e3d6
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x1011420], 0
push esi
jne 0x100e344
call fcn.0100e23b
test eax, eax
je 0x100e387
mov eax, dword [0x1011420]
cmp eax, 1
jne 0x100e365
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x100e387
pop esi
ret
push eax
call dword [0x1011428]
test eax, eax
jne 0x100e3cf
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x100e38b
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x1011420]
call dword [0x1011428]
mov edi, eax
test edi, edi
je 0x100e3b0
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x100e3cc
mov edi, esi
add esi, 0xff0
push edi
push dword [0x1011420]
call dword [0x1011424]
add edi, 0x10
cmp edi, esi
jb 0x100e3b8
mov eax, edi
pop edi
pop esi
ret
jmp 0x100e331
Function at 0x100e6e9
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x100f0f0
call fcn.0100e734
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x101178c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x100e4a4
cmp eax, esi
jne 0x100e497
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x100e4a7
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100e47e
xor esi, esi
inc esi
mov eax, dword [0x1011788]
cmp eax, esi
jne 0x100e4ba
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x100e4e9
mov eax, dword [0x1011788]
test eax, eax
jne 0x100e4e3
mov dword [0x1011788], esi
push 0x10013c8
push 0x10013bc
call fcn.0100e3e0
pop ecx
pop ecx
test eax, eax
je 0x100e4e9
jmp 0x100e60d
mov dword [0x101144c], esi
mov eax, dword [0x1011788]
cmp eax, esi
jne 0x100e50d
push 0x10013b8
push 0x1001394
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1011788], 2
cmp dword [ebp - 0x20], ebx
jne 0x100e51a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1011798], ebx
je 0x100e53b
push 0x1011798
call fcn.0100eac9
pop ecx
test eax, eax
je 0x100e53b
push ebx
push 2
push ebx
call dword [0x1011798]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x100e60d
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x100e5a5
cmp cx, bx
je 0x100e560
cmp dword [ebp - 0x1c], ebx
jne 0x100e5a5
movzx ecx, word [eax]
cmp cx, bx
je 0x100e575
cmp cx, 0x20
ja 0x100e575
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x100e560
test byte [ebp - 0x40], 1
je 0x100e581
movzx ecx, word [ebp - 0x3c]
jmp 0x100e584
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call main
mov dword [0x1011448], eax
cmp dword [0x101143c], ebx
jne 0x100e5ea
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0x100e5b6
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x100e54a
cmp dword [0x101144c], ebx
jne 0x100e5f8
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1011448]
jmp 0x100e619
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.0100e779
ret
call fcn.0100ec16
jmp 0x100e441
Function at 0x100eeed
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1011248]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101126c]
cmp eax, 0xffffffff
jne 0x100ef60
and dword [0x101126c], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov word [0x1011780], ax
test ax, ax
je 0x100ef5b
push 0x10
lea ecx, [ebp - 0x24]
push ecx
movzx eax, ax
push 0x58
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100ef5b
test dword [ebp - 0x16], 0x800
je 0x100ef5b
movzx eax, word [0x1011780]
push eax
call fcn.0100eeb9
test eax, eax
je 0x100ef5b
mov dword [0x101126c], 1
mov eax, dword [0x101126c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0100e7c7
leave
ret
Function at 0x402f54
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi + 4], 0
je 0x402f74
lea eax, [edi + 0x10]
push eax
push str.Mutex__s_already_created
push 3
call fcn.004027db
mov al, 1
jmp 0x402fd5
push esi
lea esi, [edi + 0x10]
cmp dword [esi + 0x14], 8
jb 0x402f82
mov eax, dword [esi]
jmp 0x402f84
mov eax, esi
push eax
movzx eax, byte [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0xc], eax
cmp eax, 0xb7
jne 0x402fb7
push esi
push str.Got_handle_to_existing_mutex__s
push 3
call fcn.00402829
cmp dword [edi + 4], 0
jne 0x402fd2
lea eax, [ebp + 0xc]
push eax
push esi
push str.Failed_to_create_the_mutex__s:_LastError:_0x_x
push 3
call fcn.00402877
xor al, al
jmp 0x402fd4
mov al, 1
pop esi
pop edi
pop ebp
ret 8
Function at 0x4035a0
Capabilities:
Get user security identifier

Disassembly:
push 0x3d0
mov eax, 0x422021
call fcn.0040662d
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push 8
mov dword [ebp - 0x3d8], eax
xor eax, eax
pop ecx
mov dword [ebp - 0x3dc], ebx
mov dword [ebp - 0x3b8], ebx
mov dword [ebp - 0x3b4], ebx
mov dword [ebp - 0x3c4], ecx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], ebx
cmp dword [edi + 0x14], ecx
jb 0x4035f7
mov eax, dword [edi]
jmp 0x4035f9
mov eax, edi
cmp dword [esi + 0x14], ecx
jb 0x403602
mov ecx, dword [esi]
jmp 0x403604
mov ecx, esi
lea edx, [ebp - 0x3c4]
push edx
lea edx, [ebp - 0x3b4]
push edx
push ebx
lea edx, [ebp - 0x3b8]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x403658
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x403658
push edi
push esi
push str.::LookupAccountNameW_failed_to_retrieve_size_of_account_security_identifier__systemname_s__accountname_s_.
push eax
push 0xf
lea ecx, [ebp - 0x3b0]
call fcn.00401cd5
push 0x442bc0
lea eax, [ebp - 0x3b0]
push eax
call fcn.004073d4
mov eax, dword [ebp - 0x3b4]
lea ecx, [ebp - 0x28]
dec eax
push ebx
push eax
call fcn.004046c1
mov dword [ebp - 0x3d0], ebx
mov dword [ebp - 0x3cc], ebx
mov dword [ebp - 0x3c8], ebx
push dword [ebp - 0x3b8]
lea ecx, [ebp - 0x3d0]
mov byte [ebp - 4], 1
call fcn.004046ef
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x3cc]
cmovae edx, dword [ebp - 0x28]
sub eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x3c0], eax
mov eax, dword [ebp - 0x3d0]
push 0
pop ecx
cmove eax, ecx
mov byte [ebp - 4], 2
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x3d4], eax
jb 0x4036cd
mov ecx, dword [edi]
jmp 0x4036cf
mov ecx, edi
cmp dword [esi + 0x14], 8
jb 0x4036d9
mov eax, dword [esi]
jmp 0x4036db
mov eax, esi
lea ebx, [ebp - 0x3c4]
push ebx
lea ebx, [ebp - 0x3b4]
push ebx
push edx
lea edx, [ebp - 0x3b8]
push edx
push dword [ebp - 0x3d4]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov ebx, dword [ebp - 0x3d0]
test eax, eax
jne 0x403729
push edi
push esi
push str.::LookupAccountNameW_failed_to_retrieve_account_security_identifier__systemname_s__accountname_s_.
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x3b0]
call fcn.00401c3c
jmp 0x403647
xor eax, eax
lea ecx, [ebp - 0x3bc]
cmp dword [ebp - 0x3c0], eax
cmove ebx, eax
lea eax, [ebp - 0x3c0]
push eax
mov dword [ebp - 0x3c0], ebx
call fcn.00402b6b
mov esi, dword [ebp - 0x3d8]
lea ecx, [ebp - 0x3bc]
push esi
mov byte [ebp - 4], 3
call fcn.00404624
cmp dword [ebp - 0x3bc], 0
je 0x403776
push dword [ebp - 0x3bc]
call fcn.00404bb1
lea ecx, [ebp - 0x3d0]
call fcn.004041b4
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00404162
mov eax, esi
call fcn.004065df
ret 0xc
Function at 0x403a74
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x390
mov eax, dword [0x44608c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, 0x101
push 0
push eax
mov ecx, esi
mov dword [ebp - 0x390], eax
call fcn.004046c1
cmp dword [esi + 0x14], 8
jb 0x403aaa
mov eax, dword [esi]
jmp 0x403aac
mov eax, esi
lea ecx, [ebp - 0x390]
push ecx
push eax
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x403adf
push 0
push dword [ebp - 0x390]
mov ecx, esi
call fcn.004046c1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004065bb
mov esp, ebp
pop ebp
ret 4
push 0x4243c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.004018f5
push 0x442bc0
lea eax, [ebp - 0x38c]
push eax
call fcn.004073d4
int3
Function at 0x401356
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x4150f0]
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x14], edi
mov dword [ebp - 4], eax
je 0x40137b
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp + 0xc]
push str._n_decompress_file_folder__s..._n_n
call fcn.0040669e
push dword [ebp + 8]
lea eax, [ebp - 0x44]
push 1
push 0x40
push eax
call fcn.00406546
add esp, 0x18
cmp dword [ebp - 0x44], 0x464b4150
jne 0x401503
cmp dword [ebp - 0x40], 0x31303033
jne 0x401503
mov ebx, dword [ebp - 0x38]
cmp ebx, edi
jne 0x4013d0
push 1
push 0xffffffffffffffd0
push dword [ebp + 8]
call fcn.00406793
add esp, 0xc
jmp 0x401527
lea ebx, [ebx + ebx*2]
shl ebx, 4
add ebx, 0x10
push ebx
call fcn.00405db3
pop ecx
push 0x10
pop ecx
lea esi, [ebp - 0x44]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
xor edi, edi
inc edi
cmp dword [ebp - 0x38], edi
mov dword [ebp - 0x150], eax
jle 0x401412
push dword [ebp + 8]
add ebx, 0xffffffc0
push edi
add eax, 0x40
push ebx
push eax
call fcn.00406546
mov eax, dword [ebp - 0x150]
add esp, 0x10
xor ebx, ebx
cmp dword [eax + 0xc], ebx
jle 0x4014fa
lea esi, [eax + 0x10]
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x148]
push str._s_s
push eax
call fcn.0040627d
add esp, 0x10
test byte [esi + 0x28], 1
lea eax, [ebp - 0x148]
je 0x40145b
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.00401356
add esp, 0x10
jmp 0x4014e7
push eax
push str.__decompress__s
call fcn.0040669e
mov eax, dword [esi + 0x24]
push eax
mov dword [ebp - 0x14c], eax
call fcn.00405db3
push dword [ebp + 8]
mov dword [ebp - 0x154], eax
push edi
push dword [ebp - 0x14c]
push eax
call fcn.00406546
add esp, 0x1c
cmp dword [ebp - 0x14c], 0
je 0x4014c5
push edi
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.0040304e
add esp, 0xc
test eax, eax
jne 0x4014c5
push 0x4161a8
push str._error:__s__n
call fcn.0040669e
pop ecx
pop ecx
jmp 0x4014db
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x14c]
push dword [ebp - 0x154]
call dword [ebp + 0x10]
add esp, 0x10
push dword [ebp - 0x154]
call fcn.00406428
pop ecx
mov eax, dword [ebp - 0x150]
inc ebx
add esi, 0x30
cmp ebx, dword [eax + 0xc]
jl 0x401420
push eax
call fcn.00406428
pop ecx
jmp 0x401527
push dword [ebp + 0xc]
mov esi, 0x415ca0
push str.While_process___s___to_can_not_find_the_file_header.
push esi
call fcn.0040627d
add esp, 0xc
push edi
push 0x4112c8
push esi
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.004068c2
leave
ret