joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100069a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x1491c48], 0
jne 0x10006a45
xor ecx, ecx
nop
mov eax, ecx
shr eax, 1
test cl, 1
je 0x100069be
xor eax, 0xedb88320
test al, 1
je 0x100069cb
shr eax, 1
xor eax, 0xedb88320
jmp 0x100069cd
shr eax, 1
test al, 1
je 0x100069da
shr eax, 1
xor eax, 0xedb88320
jmp 0x100069dc
shr eax, 1
test al, 1
je 0x100069e9
shr eax, 1
xor eax, 0xedb88320
jmp 0x100069eb
shr eax, 1
test al, 1
je 0x100069f8
shr eax, 1
xor eax, 0xedb88320
jmp 0x100069fa
shr eax, 1
test al, 1
je 0x10006a07
shr eax, 1
xor eax, 0xedb88320
jmp 0x10006a09
shr eax, 1
test al, 1
je 0x10006a16
shr eax, 1
xor eax, 0xedb88320
jmp 0x10006a18
shr eax, 1
test al, 1
je 0x10006a25
shr eax, 1
xor eax, 0xedb88320
jmp 0x10006a27
shr eax, 1
mov dword [ecx*4 + 0x1491c50], eax
inc ecx
cmp ecx, 0x100
jl 0x100069b0
mov dword [0x1491c48], 1
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
test edx, edx
je 0x10006a72
push esi
mov esi, dword [esp + 8]
movzx ecx, byte [esi]
lea esi, [esi + 1]
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x1491c50]
dec edx
jne 0x10006a56
pop esi
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x246c2949
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x432060
nop
nop
mov eax, section..text
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1c0402b1
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4017c4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x404004]
jne 0x4017ce
repz ret
jmp fcn.00401b99

Function at 0x42b5e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15000]
push edi
or ebp, 0xffffffff
jmp 0x42b602
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42b609
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42b5f8
mov eax, 1
add ebx, ebx
jne 0x42b61b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42b610
jne 0x42b62c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42b610
xor ecx, ecx
sub eax, 3
jb 0x42b640
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42b6b2
mov ebp, eax
add ebx, ebx
jne 0x42b64b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42b658
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42b67c
inc ecx
add ebx, ebx
jne 0x42b668
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42b65d
jne 0x42b679
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42b65d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42b69c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42b68d
jmp 0x42b5fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42b69c
add edi, ecx
jmp 0x42b5fe
pop esi
mov edi, esi
mov ecx, 0x3e7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42b6ba
cmp byte [edi], 1
jne 0x42b6ba
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 al, bl
loop 0x42b6bf
lea edi, [esi + 0x29000]
mov eax, dword [edi]
or eax, eax
je 0x42b737
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2c688]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2c73c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42b6ec
mov ecx, edi
jns 0x42b71b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2c740]
or eax, eax
je 0x42b731
mov dword [ebx], eax
add ebx, 4
jmp 0x42b709
call dword [esi + 0x2c748]
mov ebp, dword [esi + 0x2c744]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42b76b
sub esp, 0xffffff80
jmp 0x40d841
Function at 0x401063
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi], eax
xor eax, eax
push edi
mov edi, dword [ebp + 0x18]
mov dword [esi + 8], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
lea eax, [ebp + 8]
push eax
push 0x40
push dword [ebp + 0x1c]
mov dword [esi + 0xc], edx
mov edx, dword [ebp + 0x14]
push edi
mov dword [esi + 4], ecx
mov dword [esi + 0x10], edx
call dword [ecx + 0x18]
test eax, eax
jne 0x4010bb
mov dword [esi + 8], 9
jmp 0x401194
push ebx
mov ebx, dword [esi + 0x10]
cmp ebx, 0x40
jae 0x4010d0
mov dword [esi + 8], 1
jmp 0x401193
mov eax, dword [esi + 0xc]
mov ecx, 0x5a4d
mov dword [esi + 0x14], eax
cmp word [eax], cx
je 0x4010ec
mov dword [esi + 8], 2
jmp 0x401193
mov ecx, dword [eax + 0x3c]
lea edx, [ecx + 0xf8]
cmp ebx, edx
jae 0x401105
mov dword [esi + 8], 3
jmp 0x401193
add ecx, eax
mov dword [esi + 0x18], ecx
cmp dword [ecx], 0x4550
je 0x40111b
mov dword [esi + 8], 0x55000004
clc
mov eax, dword [esp - 4]
add eax, 2
invalid

Function at 0x403411
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 4], 0
push ebx
mov ebx, eax
push esi
mov esi, dword [ebx + 0x3c]
add esi, ebx
movzx eax, word [esi + 0x14]
push edi
lea edi, [eax + esi + 0x18]
xor eax, eax
cmp ax, word [esi + 6]
jae 0x403458
push 7
push str..custom
push edi
call fcn.0040167f
add esp, 0xc
test eax, eax
je 0x40345f
movzx eax, word [esi + 6]
inc dword [ebp - 4]
add edi, 0x28
cmp dword [ebp - 4], eax
jl 0x403435
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [edi + 0xc]
mov esi, dword [eax + ebx]
lea edi, [eax + ebx + 8]
mov ebx, dword [eax + ebx + 4]
push esi
call fcn.0040379e
and dword [ebp - 8], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 8]
push ecx
push 1
push 5
push edi
lea ecx, [ebp - 0xc]
push ecx
add edi, 5
push edi
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], 0x4032ce
mov dword [ebp - 0x14], 0x4032d9
call fcn.0040320c
add esp, 0x28
test eax, eax
je 0x4034bf
push dword [ebp - 4]
call fcn.004037b5
pop ecx
jmp 0x403458
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp - 4]
jmp 0x40345a
Function at 0x44d580
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x6e1c7c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
xor esi, esi
mov ebx, ecx
cmp dword [edx + 0x14], 8
push edi
jb 0x44d5a3
mov edx, dword [edx]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44d5d9
or esi, eax
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.006021fd
mov esp, ebp
pop ebp
ret
mov edx, ebx
mov dword [esp + 0x28], esi
lea ecx, [esp + 0x10]
call fcn.0044cf80
cmp dword [esp + 0x24], 0x10
lea ecx, [esp + 0x28]
push 0
push ecx
push dword [esp + 0x28]
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esp + 0x24]
test eax, eax
jne 0x44d64c
lea esi, [eax - 2]
cmp edx, 0x10
jb 0x44d642
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44d638
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d6a6
push edx
push ecx
call fcn.0060223e
add esp, 8
mov dword [esp + 0x20], 0
jmp 0x44d67e
cmp edx, 0x10
jb 0x44d67a
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44d670
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d6a6
push edx
push ecx
call fcn.0060223e
add esp, 8
mov dword [esp + 0x20], esi
push edi
mov byte [esp + 0x14], 0
mov dword [esp + 0x28], 0xf
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006021fd
mov esp, ebp
pop ebp
ret
call fcn.00621ffe
int3

Function at 0x44fc10
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x6e1c7c]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44fc62
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword fs:[0x2c]
mov edi, eax
mov edx, dword [ecx]
mov ecx, dword [0x6ef9fc]
cmp ecx, dword [edx + 4]
jg 0x44fc75
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0x6ef9d8
test edi, edi
jne 0x44fcbb
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.006021fd
mov esp, ebp
pop ebp
ret
push 0x6ef9fc
call fcn.00602894
add esp, 4
cmp dword [0x6ef9fc], 0xffffffff
jne 0x44fc52
push 0x6532d0
mov dword [0x6ef9dc], 0x6ef9d8
mov dword [0x6ef9d8], 0x6af23c
call fcn.006026d1
add esp, 4
push 0x6ef9fc
call fcn.0060284a
add esp, 4
jmp 0x44fc52
mov edx, 0x6b5efc
lea ecx, [esp + 0xc]
call fcn.0044fae0
int3
Function at 0x4501d0
Capabilities:
Check mutex on windows
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x27c
mov eax, dword [0x6e1c7c]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push esi
push edi
push str.116D38D3_CE72_4EA1_AD3E_A550CE7FF1BF
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x45022c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.006021fd
mov esp, ebp
pop ebp
ret 0x10
push ecx
call fcn.0046f9b0
mov ecx, eax
call fcn.0046fa30
call fcn.0045b8a0
push 0x20a
mov edi, eax
lea eax, [esp + 0x74]
push 0
push eax
call fcn.00619cc0
add esp, 0xc
lea eax, [esp + 0x70]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x6b6d8c
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [esp + 0x70]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x450294
sub eax, edx
lea ecx, [edi + 8]
sar eax, 1
push eax
lea eax, [esp + 0x74]
push eax
call fcn.0044e410
push ecx
push str.MainUI
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0x6b6070
mov dword [esp + 0x6c], vtable.nbase::SupportWeakCallback.0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
call fcn.00506e90
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], vtable.CMarchApp.0
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x20], vtable.CMarchApp.1.0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x28], 1
mov byte [esp + 0x24], 1
mov dword [esp + 0x38], 0
call dword [eax + 4]
lea ecx, [esp + 0x10]
call fcn.00450160
call fcn.0045b8a0
mov ebx, eax
mov ecx, ebx
call fcn.0045c510
mov eax, dword [ebx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x45035d
push eax
call edi
mov dword [ebx + 4], 0
call fcn.0046f9b0
test esi, esi
je 0x450369
push esi
call edi
mov ecx, dword [esp + 0x284]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006021fd
mov esp, ebp
pop ebp
ret 0x10
Function at 0x450460
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a0
mov eax, dword [0x6e1c7c]
xor eax, esp
mov dword [esp + 0x19c], eax
push esi
push edi
push 0x6ef9e4
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x4504a7
lea eax, [esp + 0x10]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x6ef9e8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp byte [ebp + 8], 0
je 0x4504d9
push 0
push 0x6ef9e8
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov esi, eax
test esi, esi
je 0x4504d9
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx]
mov ecx, dword [0x6ef9fc]
cmp ecx, dword [edx + 4]
jle 0x450537
jmp 0x4504f1
mov ecx, dword [esp + 0x1a4]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.006021fd
mov esp, ebp
pop ebp
ret 4
push 0x6ef9fc
call fcn.00602894
add esp, 4
cmp dword [0x6ef9fc], 0xffffffff
jne 0x450537
push 0x6532d0
mov dword [0x6ef9dc], 0x6ef9d8
mov dword [0x6ef9d8], 0x6af23c
call fcn.006026d1
add esp, 4
push 0x6ef9fc
call fcn.0060284a
add esp, 4
jmp 0x450537
mov edx, str.winsock
mov dword [esp + 8], esi
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0x6ef9d8
call fcn.0044fae0
int3

Function at 0x450dd0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x644408
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6e1c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ecx + 0x48]
mov dword [ebp - 0x10], edi
call fcn.00507910
test edi, edi
js 0x450e83
call fcn.00507690
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x450e83
call fcn.00507910
mov esi, eax
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [ebx]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
call fcn.00507910
mov edi, eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0x18]
call fcn.00507c60
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0x18]
call fcn.00507c80
cmp byte [ebp - 0x18], 0
jne 0x450e6f
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x14]
cmp eax, dword [ebx]
jne 0x450e78
mov eax, dword [ebp - 0x10]
inc dword [ebx + 8]
mov dword [ebx + 0xc], eax
test esi, esi
je 0x450e83
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451fa0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x644438
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6e1c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x48]
call fcn.00507100
mov ecx, dword [esi + 0x48]
mov dword [esi + 0x48], 0
test ecx, ecx
je 0x451fe6
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x4c]
call fcn.00507100
mov ecx, dword [esi + 0x4c]
mov dword [esi + 0x4c], 0
test ecx, ecx
je 0x452002
mov eax, dword [ecx]
push 1
call dword [eax]
call fcn.00507690
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [eax]
call esi
test eax, eax
je 0x452019
mov byte [eax + 4], 1
call fcn.00507910
call fcn.00507690
push dword [eax]
call esi
mov edi, eax
test edi, edi
je 0x4520a1
mov ecx, dword [edi + 8]
cmp ecx, 1
jl 0x4520a1
add ecx, 0xffffffff
mov dword [edi + 8], ecx
jne 0x4520a1
call fcn.00507910
mov esi, eax
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebx, [edi + 0xc]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00507910
lea ecx, [eax + 0x18]
call fcn.004c1ae0
call fcn.00507910
mov edi, dword [ebp - 0x10]
cmp edi, dword [eax + 0x18]
je 0x452089
call fcn.00507910
push edi
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [eax + 0x18]
call fcn.00507bb0
mov dword [ebx], 0xffffffff
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4520a1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x6ef9c4], 0
je 0x4520b9
call fcn.004f2a20
mov dword [0x6ef9c4], 0
mov eax, dword [0x6ef94c]
mov dword [0x6ef94c], 0
test eax, eax
je 0x4520d7
push 4
push eax
call fcn.0060223e
add esp, 8
call fcn.004c5b70
push dword [0x6ef9c0]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461bf0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x6e1c7c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0x6b7358
push 0xb4
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x461c89
push ebx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x461c81
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x461c81
cmp dword [esi + 0x14], 8
jb 0x461c44
mov esi, dword [esi]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x461c81
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.006021fd
mov esp, ebp
pop ebp
ret 4
Function at 0x461ca0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6459c0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6e1c7c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
call fcn.0045b8a0
add eax, 8
lea ecx, [ebp - 0x44]
push eax
call fcn.00456990
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x2c], 0x720061
mov dword [ebp - 0x28], 0x610069
lea edx, [ecx + 2]
mov dword [ebp - 0x24], 0x630032
mov dword [ebp - 0x20], 0x65002e
mov dword [ebp - 0x1c], 0x650078
mov word [ebp - 0x18], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x461d16
sub ecx, edx
lea eax, [ebp - 0x2c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0044e880
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x461d6e
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
call fcn.004b9210
test eax, eax
lea eax, [ebp - 0x44]
jne 0x461da4
cmp dword [ebp - 0x30], 8
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x44]
push eax
call fcn.00461bf0
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x461dc2
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
call fcn.004b9210
test eax, eax
je 0x461dc2
lea eax, [ebp - 0x44]
cmp esi, eax
je 0x461dbe
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
mov ecx, esi
push eax
call fcn.0044e410
mov bl, 1
jmp 0x461e34
push 0x10
xor eax, eax
mov dword [ebp - 0x1c], 0
push 0x6b7364
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.0044e410
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push dword [ebx + 0x10]
mov edx, 0xbb8
call fcn.004b94a0
mov edx, dword [ebp - 0x18]
add esp, 4
cmp edx, 8
jb 0x461e32
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x461e28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461e89
push edx
push ecx
call fcn.0060223e
add esp, 8
xor bl, bl
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x461e6a
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x461e60
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461e8e
push edx
push ecx
call fcn.0060223e
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006021fd
mov esp, ebp
pop ebp
ret 4
call fcn.00621ffe
call fcn.00621ffe
int3
Function at 0x46c930
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x646bb8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6e1c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push 0x40
call fcn.0060220e
mov esi, eax
mov dword [ebp - 4], 0
lea ecx, [esi + 8]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ecx
add esp, 4
mov dword [esi], vtable.._AV___Func_impl_no_alloc_V__WeakCallback_V___Binder_U_Unforced_std__AAP8CMarchMainWnd__AEXV__basic_string__WU__char_traits__W_std__V__allocator__W_2__2_PAX_ZABQAV3_ABV42_AAPAX_std___nbase__X__V_std__.0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x46c997
lock inc dword [eax + 8]
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
add ecx, 8
mov byte [ebp - 4], 1
movq xmm0, qword [edi + 8]
lea ebx, [ecx + 0xc]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x1c], ebx
movq qword [ecx], xmm0
mov eax, dword [edi + 0x10]
mov dword [ecx + 8], eax
lea ecx, [ebx + 4]
mov eax, dword [edi + 0x14]
mov dword [ebx], eax
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 0x1c], ecx
call fcn.00456990
mov eax, dword [edi + 0x30]
mov dword [ebx + 0x1c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46d040
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x6e1c7c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x105
lea eax, [ebp - 0x10c]
mov ebx, ecx
push 0
push eax
call fcn.00619cc0
add esp, 0xc
xor eax, eax
mov cl, byte [eax + 0x6ef720]
lea eax, [eax + 1]
mov byte [ebp + eax - 0x10d], cl
test cl, cl
jne 0x46d070
mov esi, ebx
mov al, byte [ebx]
inc ebx
test al, al
jne 0x46d086
lea edi, [ebp - 0x10c]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x46d096
mov ecx, ebx
lea eax, [ebp - 0x10c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.0062387e
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.006021fd
mov esp, ebp
pop ebp
ret