joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4525f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a9cc3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0049d35c
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004a29f4
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004a3f10
test eax, eax
je 0x45270c
mov ecx, dword [esp + 0x3c]
call fcn.004a2a21
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4526d0
push edi
mov ecx, esi
call fcn.004a008a
mov ecx, esi
call fcn.004528b0
cmp dword [esp + 0x38], 1
jne 0x452705
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004a01c5
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4548f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x454923
push esi
call fcn.00462ca0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45491c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4549a9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x454992
mov eax, dword [esi + 8]
test eax, eax
je 0x454947
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45498e
cmp eax, 2
je 0x454992
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45493a
cmp eax, 3
je 0x45496d
cmp eax, 1
jne 0x45493a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45493a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45493a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004549d0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4549b8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004549d0
add esp, 4
pop esi
ret

Function at 0x455250
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x455271
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x455271
mov eax, dword [eax + 0x44]
test eax, eax
je 0x455271
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x470d10
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x470db3
test eax, eax
jbe 0x470db3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x470db3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x470d5e
xor esi, esi
jmp 0x470d64
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x470d8f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004725f0
add esi, eax
push esi
mov ebx, esi
call fcn.004725f0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x470d70
pop ebp
test edi, edi
pop edi
jne 0x470db3
test ebx, ebx
je 0x470db3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0048bee0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x470ed5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x470fed
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x470fed
mov eax, dword [esi + 0x3c]
push eax
call fcn.0049d7ae
mov esi, eax
test esi, esi
je 0x470fed
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x470fed
mov ecx, esi
call fcn.00470e60
cmp edi, eax
jge 0x470fed
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x470f73
mov dword [esp + 0x34], 1
jmp 0x470fce
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x470fed
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0046f6e0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x4768b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5537fc]
xor edx, edx
cmp eax, edx
jne 0x4768d6
xor eax, eax
mov byte [eax + 0x5536fc], al
inc eax
cmp eax, 0x100
jl 0x4768be
mov dword [0x5537fc], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5536fc
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x476967
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x47693a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x476908
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x476970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4769c3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4769aa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47d350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4aa49e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0047dc70
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4ff0e4
call fcn.0049baee
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x47d3e3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0049baee
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x47d3dc
push 0
mov ecx, eax
call fcn.004744f0
mov dword [esi + 0xc], eax
jmp 0x47d3e5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x47d3e5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x49e151
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x49e189
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0049c208
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0049c1e0
jmp 0x49e195
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x49f847
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x49f889
call fcn.004a52fb
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, edi
je 0x49f889
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
jne 0x49f880
xor eax, eax
jmp 0x49f891
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0049f897
pop edi
pop esi
pop ebx
ret 4
Function at 0x4a582b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4a5859
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
je 0x4a5877
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a5791
jmp 0x4a5877
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a5877
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a5791
test edi, edi
mov eax, edi
jne 0x4a5861
pop edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x405310
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4241bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4041ac
call fcn.00405b77
push 4
mov dword [esp + 0x18], 0
call fcn.00406b00
mov edi, eax
add esp, 4
test edi, edi
je 0x405384
push ebx
call fcn.00405fb3
mov dword [edi], eax
call fcn.00405d33
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00405ab8
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x405378
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00405ae0
pop ebx
jmp 0x405386
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4071a4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4275a8]
jne 0x4071ae
repz ret
jmp fcn.0040dc9c
Function at 0x41aafa
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4275a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040c3bc
and dword [ebp - 0x14], 0
cmp dword [0x43e818], 0
mov dword [ebp - 0x18], eax
jne 0x41abad
push 0x403e08
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41ac55
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403dfc
push ebx
call edi
test eax, eax
je 0x41ac55
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403dec
push ebx
mov dword [0x43e818], eax
call edi
push eax
call esi
push 0x403dd8
push ebx
mov dword [0x43e81c], eax
call edi
push eax
call esi
push 0x403dbc
push ebx
mov dword [0x43e820], eax
call edi
push eax
call esi
mov dword [0x43e828], eax
test eax, eax
je 0x41abad
push 0x403da4
push ebx
call edi
push eax
call esi
mov dword [0x43e824], eax
mov eax, dword [0x43e824]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41ac06
cmp dword [0x43e828], ecx
je 0x41ac06
push eax
call esi
push dword [0x43e828]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41ac06
test ebx, ebx
je 0x41ac06
call edi
test eax, eax
je 0x41abfd
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41abfd
test byte [ebp - 8], 1
jne 0x41ac06
or dword [ebp + 0x10], 0x200000
jmp 0x41ac39
mov eax, dword [0x43e81c]
cmp eax, dword [ebp - 0x18]
je 0x41ac39
push eax
call esi
test eax, eax
je 0x41ac39
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41ac39
mov eax, dword [0x43e820]
cmp eax, dword [ebp - 0x18]
je 0x41ac39
push eax
call esi
test eax, eax
je 0x41ac39
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43e818]
call esi
test eax, eax
je 0x41ac55
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41ac57
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004071a4
leave
ret

Function at 0x41e540
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov eax, 0x6b
mov edx, 0x72
mov word [0x8e8c88], ax
mov word [0x8e8c8c], dx
mov ecx, 0x6e
mov edx, 0x65
xor eax, eax
push 0x8e8c88
mov dword [0x8e8c94], 0x320033
mov dword [0x8e8c9c], 0x6c006c
mov word [0x8e8c8e], cx
mov dword [0x8e8c90], 0x6c0065
mov dword [0x8e8c98], 0x64002e
mov word [0x8e8c8a], dx
mov word [0x8e8ca0], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [0x8e8c84]
lea ecx, [esp]
push ecx
push 0x40
mov dword [0x8e8c80], eax
mov eax, dword [0x8e7470]
push edx
push eax
mov byte [0x43e843], 0x65
mov dword [0x43e839], 0x75747269
mov word [0x43e83d], 0x6c61
mov byte [0x43e838], 0x56
mov word [0x43e844], 0x7463
mov byte [0x43e846], 0
mov dword [0x43e83f], 0x746f7250
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ecx
ret
Function at 0x41e640
Capabilities:
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x1280
call fcn.0041da20
cmp dword [0x8e8c84], 0x37
push esi
jne 0x41e741
push 0
lea eax, [esp + 0x284]
push eax
push 0x403ee4
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push 0
call esi
xor eax, eax
lea edx, [esp + 8]
push edx
push eax
push eax
push eax
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_ReadFileScatter]
push 0
lea eax, [esp + 0x684]
push eax
push 0x403ef0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea ecx, [esp + 0xa84]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 0x60]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
call esi
push 0x403f18
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
lea ecx, [esp + 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
push 0x30
lea eax, [esp + 0x34]
push 0
push eax
mov dword [esp + 0x38], 0
call fcn.004102c0
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
mov edx, dword [0x8eb3e8]
mov dword [esp + 4], edx
mov eax, 0x5d1
add dword [esp + 4], eax
mov eax, dword [esp + 4]
mov cl, byte [eax + ebx]
mov edx, dword [0x8e7470]
mov byte [edx + ebx], cl
pop esi
add esp, 0x1280
ret
Function at 0x41e9e0
Capabilities:
Accept command line arguments
Get geographical location
Query environment variable

Disassembly:
mov eax, dword [0x8e8c84]
mov ecx, dword [0x8e7470]
sub esp, 0x984
push ebx
push ebp
shr eax, 3
xor ebp, ebp
push esi
push edi
cmp eax, ebp
jbe 0x41ebdb
mov dword [esp + 0x3c], 0x9e3779b9
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov ecx, dword [0x43c158]
mov edx, dword [0x43c15c]
mov dword [esp + 0x1c], eax
mov eax, dword [0x43c160]
mov dword [esp + 0x48], ecx
mov ecx, dword [0x43c164]
mov dword [esp + 0x18], 0xc6ef3720
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x2c], 0x20
mov ebx, dword [esp + 0x18]
mov eax, edi
shl eax, 4
add eax, dword [esp + 0x34]
mov esi, edi
add ebx, edi
shr esi, 5
cmp dword [0x8e8c84], 0x1b
mov dword [esp + 0x14], eax
jne 0x41ea96
push ebp
call dword [sym.imp.KERNEL32.dll_ConvertThreadToFiber]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push ebp
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x14]
add esi, dword [esp + 0x44]
xor eax, ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], eax
mov dword [0x8e7474], ebp
mov eax, dword [esp + 0x24]
add dword [0x8e7474], eax
mov ecx, dword [0x8e7474]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x40]
add dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
xor eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x24]
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x24]
sub dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov eax, ecx
shl eax, 4
add eax, dword [esp + 0x48]
add esi, ecx
cmp dword [0x8e8c84], 0x1be
mov dword [esp + 0x14], eax
jne 0x41eb2b
push ebp
lea eax, [esp + 0x194]
push eax
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
shr ecx, 5
add ecx, dword [esp + 0x38]
cmp dword [0x8e8c84], 0x979
mov dword [0x8e7478], 0xff6b3619
mov dword [0x8e747c], 0xffffffff
mov dword [esp + 0x24], ecx
jne 0x41eb66
lea ecx, [esp + 0x50]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov eax, dword [esp + 0x14]
xor eax, esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
xor dword [esp + 0x14], eax
sub edi, dword [esp + 0x14]
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x3c]
add dword [esp + 0x20], eax
sub dword [esp + 0x18], eax
dec dword [esp + 0x2c]
jne 0x41ea52
cmp dword [0x8e8c84], 0x8d4
jne 0x41eba4
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov dword [eax], edi
mov dword [eax + 4], edx
cmp dword [0x8e8c84], 0x17
jne 0x41ebc6
lea eax, [esp + 0x50]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov ecx, dword [esp + 0x28]
add ecx, 8
dec dword [esp + 0x30]
mov dword [esp + 0x28], ecx
jne 0x41ea12
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x984
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x409e20
Capabilities:
Get common file path
Move file

Disassembly:
sub esp, 0x200
lea eax, [esp]
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x409ecb
push ebx
push esi
lea ecx, [esp + 8]
push edi
push ecx
lea edx, [esp + 0x110]
push 0x40e244
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, 0x40e23c
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x210]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
test eax, eax
pop ebx
je 0x409eb5
lea eax, [esp + 0x100]
lea ecx, [esp]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
add esp, 0x200
ret
lea edx, [esp]
lea eax, [esp + 0x100]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
add esp, 0x200
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
mov ecx, 0x7e261eb
nop
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x21d04a33
nop
nop
nop
nop
test eax, eax
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219