joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b2070
Capabilities:
Encode data using base64
Terminate process

Disassembly:
sub esp, 0x118
mov ecx, 0x3f
mov eax, 0x80808080
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, 0x41
mov cl, al
sub cl, 0x41
mov byte [esp + eax + 0x28], cl
inc eax
cmp eax, 0x5a
jle 0x4b2092
mov eax, 0x61
mov dl, al
sub dl, 0x47
mov byte [esp + eax + 0x28], dl
inc eax
cmp eax, 0x7a
jle 0x4b20a6
mov eax, 0x30
mov cl, al
add cl, 4
mov byte [esp + eax + 0x28], cl
inc eax
cmp eax, 0x39
jle 0x4b20ba
mov edi, dword [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x53], 0x3e
mov byte [esp + 0x57], 0x3f
mov byte [esp + 0x65], 0
mov dword [esp + 0x18], ebp
je 0x4b224d
mov ebx, dword [esp + 0x130]
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 4
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x12c]
xor eax, eax
lea esi, [edx + ecx]
movsx ecx, byte [esi + eax]
mov dl, byte [esp + ecx + 0x28]
test dl, 0x80
jne 0x4b221e
mov byte [esp + eax + 0x20], cl
mov byte [esp + eax + 0x1c], dl
inc eax
cmp eax, 4
jl 0x4b211c
mov esi, dword [esp + 0x138]
mov edx, dword [esp + 0x10]
cmp edx, dword [esi]
jle 0x4b2186
mov eax, dword [esp + 0x14]
push eax
call fcn.004e11d7
mov ecx, dword [esi]
mov esi, ebx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
mov dword [esp + 0x2c], eax
rep movsb byte es:[edi], byte [esi]
call fcn.004e10ee
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
add esp, 8
mov dword [ecx], eax
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov dl, ch
mov al, cl
sar dl, 4
shl al, 2
or dl, al
mov eax, dword [esp + 0x14]
mov byte [ebx + ebp], dl
inc ebp
inc eax
mov cl, ch
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x1e]
mov dl, al
inc edi
sar dl, 2
shl cl, 4
or dl, cl
mov ecx, dword [esp + 0x14]
shl al, 6
or al, byte [esp + 0x1f]
mov byte [ebx + ebp], dl
inc ebp
mov edx, edi
inc ecx
inc edx
mov byte [ebx + ebp], al
mov al, byte [esp + 0x22]
inc ebp
inc ecx
inc edx
mov dword [esp + 0x10], edi
cmp al, 0x3d
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
je 0x4b2233
mov cl, byte [esp + 0x23]
xor eax, eax
cmp cl, 0x3d
setne al
add eax, 2
cmp eax, 3
jl 0x4b2233
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
add edx, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], edx
cmp edx, ecx
jae 0x4b2254
jmp 0x4b210c
push ecx
push str.Illegal_character__c_in_input._n
call fcn.004e2e6d
add esp, 8
push 1
call fcn.004e30b3
mov eax, dword [esp + 0x134]
mov byte [ebx + ebp], 0
pop edi
pop esi
mov dword [eax], ebp
mov eax, ebx
pop ebp
pop ebx
add esp, 0x118
ret
mov ebx, dword [esp + 0x130]
mov ecx, dword [esp + 0x134]
mov byte [ebx + ebp], 0
pop edi
pop esi
mov dword [ecx], ebp
mov eax, ebx
pop ebp
pop ebx
add esp, 0x118
ret
Function at 0x4b3150
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4b3199
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4b3610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x503470
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004b31c0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004b3240
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004b3240
lea ecx, [esi + 0xc]
call fcn.004f4964
lea ecx, [esi + 0x10]
call fcn.004f4964
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004b47e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004b47e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004b47e0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004f49d9
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004f49d9
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4b49d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4b4a36
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4b4a36
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4b4a17
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4b78c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6fca80]
xor edx, edx
cmp eax, edx
jne 0x4b78e6
xor eax, eax
mov byte [eax + 0x6fc980], al
inc eax
cmp eax, 0x100
jl 0x4b78ce
mov dword [0x6fca80], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6fc980
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4b7977
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 0x4b794a
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 0x4b7918
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4b7980
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 0x4b79d3
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 0x4b79ba
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 0x4be390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50386e
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.004becb0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x5e588c
call fcn.004f471a
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4be423
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004f471a
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4be41c
push 0
mov ecx, eax
call fcn.004b5500
mov dword [esi + 0xc], eax
jmp 0x4be425
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4be425
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 0x4d01d0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
jne 0x4d01e0
mov esi, 1
push esi
call fcn.004e11d7
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4d0232
call fcn.004e1cdd
mov edi, eax
call fcn.004d2d20
mov ecx, dword [edi]
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
mov edi, eax
and edi, 8
je 0x4d0216
mov edx, dword [0x60e8e8]
mov dword [0x60e8e4], edx
test al, 0x18
je 0x4d0227
push esi
push 0x24
push 5
call fcn.004d3570
add esp, 0xc
test edi, edi
je 0x4d024d
push 1
call fcn.004e30b3
test byte [esp + 0x14], 0x20
je 0x4d024d
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x4d1350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov edx, dword [ebp + 0x10]
test edx, edx
push ebx
push esi
push edi
je 0x4d1444
cmp byte [edx], 0
je 0x4d1437
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
add eax, 8
or ecx, 0xffffffff
mov dword [esp + 0xc], eax
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x20]
push ecx
mov esi, ebx
call fcn.004d12d0
mov edi, dword [ebp + 0xc]
push 8
lea edx, [esp + 0x20]
push edi
push edx
call fcn.004d12d0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
xor eax, edx
push eax
xor ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.004d1240
mov eax, dword [esp + 0x30]
add esp, 0x24
cmp edi, eax
jae 0x4d1401
sub eax, edi
mov edi, eax
lea eax, [esp + 0x20]
push eax
call fcn.004d1280
fmul qword [0x5e6128]
push ecx
fstp qword [esp]
call fcn.004dfaf8
fadd qword [0x5e6120]
add esp, 8
call fcn.004dfbc8
mov byte [ebx], al
inc ebx
dec edi
jne 0x4d13d4
lea ecx, [esp + 0x20]
push ecx
call fcn.004d1280
fmul qword [0x5e6128]
push ecx
fstp qword [esp]
call fcn.004dfaf8
add esp, 8
call fcn.004dfbc8
cmp esi, ebx
je 0x4d142d
xor byte [esi], al
inc esi
cmp esi, ebx
jne 0x4d1426
mov byte [ebx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov byte [edx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
mov byte [eax], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d1810
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
lea eax, [ebx + 0x134]
push edi
lea esi, [ebx + 0x34]
mov dword [esp + 0x14], eax
xor edi, edi
mov ecx, dword [ebx + 0x1c]
mov ebp, edi
and ebp, 0xff
mov al, byte [ecx + ebp + 1]
test al, 3
je 0x4d1840
mov byte [edi + esi], 2
jmp 0x4d1877
test al, 4
je 0x4d184a
mov byte [edi + esi], 0xd
jmp 0x4d1877
mov edx, dword [ebx + 0x240]
push edi
push ebx
call dword [edx + 4]
add esp, 8
cmp eax, 1
jle 0x4d1863
mov byte [edi + esi], 2
jmp 0x4d1877
mov eax, dword [ebx + 0x1c]
test byte [eax + ebp + 1], 0x17
jne 0x4d1873
mov byte [edi + esi], 0x19
jmp 0x4d1877
mov byte [edi + esi], 1
inc edi
cmp edi, 0x100
jb 0x4d1827
mov ecx, dword [esp + 0x14]
mov al, 7
mov byte [esi + 0x21], al
mov byte [esi + 0x3d], al
mov byte [esi + 0x3e], al
mov al, 0x10
mov byte [esi + 0x7c], al
mov byte [esi + 0x26], al
mov byte [esi + 0x24], 2
mov byte [esi + 0x5f], 2
mov byte [esi + 0x27], 9
mov byte [esi + 0x2e], 0xf
mov byte [esi + 0x3c], 8
mov byte [esi + 0x23], 0xa
mov byte [esi + 0x3b], 0x15
mov byte [esi + 0x3a], 0x16
mov byte [esi], 0x11
mov byte [esi + 0x5c], 0x12
mov byte [esi + 0x2f], 0x13
mov byte [esi + 0x2a], 0x14
mov byte [esi + 0x40], 0x17
mov byte [esi + 0x60], 0x1a
mov byte [esi + 0x22], 0x20
mov eax, esi
sub ecx, esi
mov edi, 0x100
mov dl, byte [eax]
cmp dl, 2
je 0x4d18eb
cmp dl, 0xd
je 0x4d18eb
xor edx, edx
jmp 0x4d18f0
mov edx, 1
mov byte [ecx + eax], dl
inc eax
dec edi
jne 0x4d18db
mov al, 0x1d
mov byte [esi + 0x58], al
mov byte [esi + 0x78], al
mov al, 0x1f
pop edi
mov byte [esi + 0x62], 0x1e
mov byte [esi + 0x4e], al
mov byte [esi + 0x6e], al
pop esi
pop ebp
pop ebx
ret

Function at 0x4d1910
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push ebx
push 0x4000
call fcn.004d01d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4d1931
pop edi
pop esi
xor al, al
pop ebx
ret
mov eax, dword [esp + 0x10]
push ebx
push 0
push eax
call fcn.004d2f60
mov edi, eax
add esp, 0xc
test edi, edi
jge 0x4d1956
push esi
call fcn.004d0260
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
ret
push ebp
push 0x4000
push esi
push edi
call fcn.004eca6c
push ebx
push edi
mov ebp, eax
call fcn.004d2fd0
push 0x4d1990
push ebp
push esi
call fcn.004d4300
push esi
call fcn.004d0260
add esp, 0x24
pop ebp
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x4d2c90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
push 0x71d040
xor bl, bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x71cf60]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x4d2d0b
push 0x4c
push 1
call fcn.004e2105
mov esi, eax
add esp, 8
test esi, esi
jne 0x4d2cd3
push 0x71d040
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret
mov ecx, dword [0x71cf60]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x70c81c]
inc eax
lea edx, [esi + 0xc]
mov dword [0x70c81c], eax
push edx
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 4]
push 0
push eax
call fcn.004d67e0
add esp, 8
mov byte [esi + 0x3c], 1
push 0x71d040
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret

Function at 0x4d3190
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.004e1cdd
mov ebx, dword [esp + 0x14]
mov dword [eax], 0
mov eax, dword [esp + 0x18]
push edi
push eax
push ebx
call fcn.004eca6c
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4d328a
call fcn.004e1cdd
cmp dword [eax], 0
je 0x4d31d7
call fcn.004e1cdd
mov ebp, dword [eax]
jmp 0x4d31da
or ebp, 0xffffffff
call fcn.004d2d20
test esi, esi
mov dword [eax], ebp
jne 0x4d31ef
call fcn.004e1cdd
cmp dword [eax], 4
je 0x4d323f
mov eax, dword [esp + 0x20]
test al, 0x1a
je 0x4d3222
cmp esi, 0xffffffff
je 0x4d3264
test al, 6
je 0x4d3222
call fcn.004d2d20
mov ecx, dword [eax]
push ecx
push ebx
call fcn.004d6810
add esp, 4
push eax
push 0x24
push 9
call fcn.004d3570
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp esi, 0xffffffff
je 0x4d3282
test al, 6
je 0x4d3230
test ah, 2
je 0x4d3282
test esi, esi
jbe 0x4d328e
test ah, 2
je 0x4d328e
add dword [esp + 0x18], esi
sub edi, esi
call fcn.004e1cdd
mov edx, dword [esp + 0x18]
push edi
push edx
push ebx
mov dword [eax], 0
call fcn.004eca6c
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4d328a
jmp 0x4d31c4
call fcn.004d2d20
mov eax, dword [eax]
push eax
push ebx
call fcn.004d6810
add esp, 4
push eax
push 0x24
push 2
call fcn.004d3570
add esp, 0x10
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esp + 0x20]
test al, 6
je 0x4d329b
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
test ah, 2
je 0x4d32a4
mov esi, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x4e481f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4e483f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004e1c6a
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4e4862
test byte [esp + 8], 2
je 0x4e4862
call fcn.004e1cdd
mov dword [eax], 0xd
call fcn.004e1ce6
mov dword [eax], 5
jmp 0x4e483b
xor eax, eax
ret
Function at 0x4f6da7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4f6ddf
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.004f4e34
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004f4e0c
jmp 0x4f6deb
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4f849c
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 0x4f84de
call fcn.004fe011
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4f84de
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4f84d5
xor eax, eax
jmp 0x4f84e6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004f84ec
pop edi
pop esi
pop ebx
ret 4

Function at 0x4fe541
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 0x4fe56f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4fe58d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004fe4a7
jmp 0x4fe58d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4fe58d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004fe4a7
test edi, edi
mov eax, edi
jne 0x4fe577
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x41de90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13000]
lea eax, [edi + 0x16814]
push dword [eax]
mov dword [eax], 0x4620688
push eax
push edi
jmp 0x41deba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41dec1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41deb0
mov eax, 1
add ebx, ebx
jne 0x41ded3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41dec8
jne 0x41dee4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41dec8
xor ecx, ecx
sub eax, 3
jb 0x41def8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41df6a
mov ebp, eax
add ebx, ebx
jne 0x41df03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41df10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41df34
inc ecx
add ebx, ebx
jne 0x41df20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41df15
jne 0x41df31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41df15
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41df54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41df45
jmp 0x41deb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41df54
add edi, ecx
jmp 0x41deb6
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x583
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41df76
cmp byte [edi], 4
jne 0x41df76
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 0x41df7b
lea edi, [esi + 0x1a000]
mov eax, dword [edi]
or eax, eax
je 0x41dff3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e728]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e834]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41dfa8
mov ecx, edi
jns 0x41dfd7
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 + 0x1e83c]
or eax, eax
je 0x41dfed
mov dword [ebx], eax
add ebx, 4
jmp 0x41dfc5
call dword [esi + 0x1e838]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x41e024
cmp al, 0xef
ja 0x41e017
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x41dff9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x41e006
mov ebp, dword [esi + 0x1e840]
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 0x41e058
sub esp, 0xffffff80
jmp 0x40cad8
Function at 0x42a541
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46d624]
jne 0x42a54b
repz ret
jmp fcn.0042dbdf

Function at 0x4331c9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46d624]
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.0042d287
and dword [ebp - 0x14], 0
cmp dword [0x46f384], 0
mov dword [ebp - 0x18], eax
jne 0x43327c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x433324
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x433324
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x46f384], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x46f388], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x46f38c], eax
call edi
push eax
call esi
mov dword [0x46f394], eax
test eax, eax
je 0x43327c
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46f390], eax
mov eax, dword [0x46f390]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4332d5
cmp dword [0x46f394], ecx
je 0x4332d5
push eax
call esi
push dword [0x46f394]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4332d5
test ebx, ebx
je 0x4332d5
call edi
test eax, eax
je 0x4332cc
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4332cc
test byte [ebp - 8], 1
jne 0x4332d5
or dword [ebp + 0x10], 0x200000
jmp 0x433308
mov eax, dword [0x46f388]
cmp eax, dword [ebp - 0x18]
je 0x433308
push eax
call esi
test eax, eax
je 0x433308
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x433308
mov eax, dword [0x46f38c]
cmp eax, dword [ebp - 0x18]
je 0x433308
push eax
call esi
test eax, eax
je 0x433308
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46f384]
call esi
test eax, eax
je 0x433324
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x433326
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a541
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

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