joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4835e5
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 0x4836fd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4836fd
mov eax, dword [esi + 0x3c]
push eax
call fcn.004ded96
mov esi, eax
test esi, esi
je 0x4836fd
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 0x4836fd
mov ecx, esi
call fcn.00483570
cmp edi, eax
jge 0x4836fd
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 0x483683
mov dword [esp + 0x34], 1
jmp 0x4836de
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4836fd
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.00482b70
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 0x48def0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x48df3c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x48df3c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x48df26
push eax
call ebp
test ax, ax
jl 0x48df34
inc esi
add edi, 4
cmp esi, 6
jb 0x48df18
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0048dbf0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x490980
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4909e0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4909e0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4909e0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4909e0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4909f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x49b890
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x49b89b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x49b99e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x738278]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x738278]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x738278]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x738278]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x738278]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x738278]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x738278]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x738278]
xor eax, edx
inc ecx
dec edi
jne 0x49b8b6
pop edi
test esi, esi
je 0x49b9c0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x738278]
xor eax, edx
inc ecx
dec esi
jne 0x49b9a2
pop esi
pop ebx
not eax
ret
Function at 0x49f270
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 0x49f2d6
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 0x49f2d6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x49f2b7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x49f660
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x49f698
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4a02c0
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 0x4a0309
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 0x4a0780
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ecbe0
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.004a0330
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004a03b0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004a03b0
lea ecx, [esi + 0xc]
call fcn.004dd2f6
lea ecx, [esi + 0x10]
call fcn.004dd2f6
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004a1940
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004a1940
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004a1940
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004dd36b
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004dd36b
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4a4980
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x7c2e78]
xor edx, edx
cmp eax, edx
jne 0x4a49a6
xor eax, eax
mov byte [eax + 0x7c2d78], al
inc eax
cmp eax, 0x100
jl 0x4a498e
mov dword [0x7c2e78], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x7c2d78
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4a4a37
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 0x4a4a0a
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 0x4a49d8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4a4a40
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 0x4a4a93
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 0x4a4a7a
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 0x4ab410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ecfde
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.004abd30
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x738b7c
call fcn.004dd0ac
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4ab4a3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004dd0ac
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4ab49c
push 0
mov ecx, eax
call fcn.004a25b0
mov dword [esi + 0xc], eax
jmp 0x4ab4a5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4ab4a5
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 0x4bbaa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x4bbbc1
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x4bbba5
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x4bbaf7
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x4bbad5
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18

Function at 0x4bc609
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4bc660
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4bc660
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x4bc660
xor eax, eax
inc eax
jmp 0x4bc662
xor eax, eax
leave
ret 0x10
Function at 0x4bc68b
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x4bc6f9
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x73ca1c
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4bc6f0
cmp dword [ebp - 0xc], 4
jne 0x4bc6f0
cmp dword [ebp - 0x10], edi
je 0x4bc6f0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x770298], edi
xor eax, eax
jmp 0x4bc738
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x770298], edi
jge 0x4bc733
lea eax, [ebp - 0x34]
push eax
mov dword [0x770298], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x4bc733
cmp word [ebp - 0x14], 5
jb 0x4bc733
call fcn.004bc666
test eax, eax
je 0x4bc733
emms
mov dword [0x770298], 1
mov eax, dword [0x770298]
pop edi
leave
ret

Function at 0x4df739
Capabilities:
Get graphical window text

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

Function at 0x4e0e2e
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 0x4e0e70
call fcn.004e6da9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4e0e70
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4e0e67
xor eax, eax
jmp 0x4e0e78
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004e0e7e
pop edi
pop esi
pop ebx
ret 4
Function at 0x4e289c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword [esp + 4]
mov ecx, 0x10b
cmp eax, ecx
ja 0x4e2a6a
je case.0x4e294b.52
cmp eax, 0x3e
ja 0x4e295a
je 0x4e2956
cmp eax, 0x19
ja 0x4e28ee
je case.0x4e28d2.24
cmp eax, 0x18
ja case.0x4e294b.56
jmp dword [eax*4 + 0x4e2a92]
xor eax, eax
jmp 0x4e299e
push 4
jmp 0x4e299d
push 2
jmp 0x4e299d
cmp eax, 0x27
ja 0x4e293f
je 0x4e29d6
cmp eax, 0x20
ja 0x4e2923
je 0x4e291f
sub eax, 0x1a
je case.0x4e294b.60
dec eax
je case.0x4e28d2.24
dec eax
dec eax
je case.0x4e294b.54
dec eax
jne case.0x4e294b.56
push 9
jmp 0x4e299d
push 0xb
jmp 0x4e299d
sub eax, 0x21
je 0x4e2a32
dec eax
je case.0x4e294b.52
dec eax
dec eax
je case.0x4e28d2.4
dec eax
dec eax
jne case.0x4e294b.56
push 0xe
jmp 0x4e299d
add eax, 0xffffffcc
cmp eax, 8
ja case.0x4e294b.56
jmp dword [eax*4 + 0x4e2af6]
push 3
jmp 0x4e299d
push 8
jmp 0x4e299d
cmp eax, 0x6b
ja 0x4e29a5
je case.0x4e28d2.2
cmp eax, 0x47
ja 0x4e2982
je case.0x4e294b.54
sub eax, 0x40
je case.0x4e294b.54
dec eax
je case.0x4e294b.54
dec eax
je case.0x4e294b.60
dec eax
je case.0x4e294b.52
dec eax
je case.0x4e28d2.4
jmp 0x4e2a61
sub eax, 0x50
je case.0x4e294b.54
dec eax
dec eax
je case.0x4e294b.54
sub eax, 3
je case.0x4e294b.52
dec eax
je case.0x4e294b.54
dec eax
dec eax
jne case.0x4e294b.56
push 0xa
pop eax
ret 4
push 5
jmp 0x4e299d
mov ecx, 0x90
cmp eax, ecx
ja 0x4e29ff
je case.0x4e294b.52
cmp eax, 0x75
ja 0x4e29da
je case.0x4e294b.57
sub eax, 0x6c
je 0x4e2a32
sub eax, 3
je case.0x4e294b.52
dec eax
je 0x4e29d6
dec eax
je case.0x4e28d2.4
dec eax
jne case.0x4e294b.56
push 6
jmp 0x4e299d
push 0xd
jmp 0x4e299d
sub eax, 0x7b
je case.0x4e294b.52
dec eax
je case.0x4e294b.52
dec eax
je case.0x4e294b.52
sub eax, 6
je case.0x4e28d2.24
jmp 0x4e2914
mov ecx, 0xb6
cmp eax, ecx
ja 0x4e2a40
je case.0x4e294b.60
sub eax, 0x91
je case.0x4e28d2.16
sub eax, 9
je case.0x4e294b.52
sub eax, 7
je case.0x4e294b.52
sub eax, 6
je 0x4e2a32
sub eax, 3
jne case.0x4e294b.56
jmp case.0x4e294b.54
push 0xc
jmp 0x4e299d
push 7
jmp 0x4e299d
sub eax, 0xb7
je case.0x4e294b.54
sub eax, 8
je case.0x4e294b.60
dec eax
dec eax
je case.0x4e294b.60
sub eax, 0xd
je case.0x4e294b.52
dec eax
dec eax
jne case.0x4e294b.56
jmp case.0x4e294b.52
sub eax, 0x3e3
je case.0x4e294b.57
dec eax
je case.0x4e294b.57
dec eax
je case.0x4e294b.57
dec eax
dec eax
je case.0x4e294b.54
push 1
jmp 0x4e299d

Function at 0x4e72d9
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 0x4e7307
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4e7325
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004e723f
jmp 0x4e7325
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4e7325
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004e723f
test edi, edi
mov eax, edi
jne 0x4e730f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x404297
Capabilities:
Identify system language via api

Disassembly:
cmp byte [0x42b000], 0
push ebx
push ebp
push esi
push edi
mov edi, 0xffff
mov ebx, 0x42b000
je 0x4042b6
push ebx
call fcn.0040668c
jmp 0x4042bc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
xor ecx, ecx
mov esi, dword [0x424384]
test esi, esi
je 0x40430f
mov ecx, dword [0x424348]
mov ecx, dword [ecx + 0x64]
mov edx, ecx
imul ecx, esi
neg edx
add ecx, dword [0x424380]
add ecx, edx
dec esi
mov bp, word [ecx]
xor bp, ax
and ebp, edi
test bp, bp
je 0x4042f4
test esi, esi
jne 0x4042de
jmp 0x40430f
mov edx, dword [ecx + 2]
mov dword [0x423b20], edx
mov edx, dword [ecx + 6]
mov dword [0x4243e8], edx
lea edx, [ecx + 0xa]
mov dword [0x423b1c], edx
cmp dword [0x423b1c], 0
jne 0x40432a
cmp di, 0xffff
jne 0x404326
mov edi, 0x3ff
jmp 0x4042be
xor edi, edi
jmp 0x4042be
movzx eax, word [ecx]
push eax
push ebx
call fcn.00406673
push 0xfffffffffffffffe
push 0x423b40
call fcn.00406721
push eax
push dword [0x420920]
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x405fd6
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push dword [ebp + 0xc]
mov dword [0x422548], 0x44
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
je 0x405ffa
test al, 0x10
jne 0x405ffd
mov dword [ebp + 0xc], ecx
lea eax, [ebp - 0x10]
push eax
push 0x422548
push dword [ebp + 0xc]
push ecx
push ecx
push ecx
push ecx
push ecx
push dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x406028
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 8
Function at 0x40e2b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
or ebp, 0xffffffff
jmp 0x40e2d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40e2d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40e2c8
mov eax, 1
add ebx, ebx
jne 0x40e2eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40e2e0
jne 0x40e2fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e2e0
xor ecx, ecx
sub eax, 3
jb 0x40e310
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40e382
mov ebp, eax
add ebx, ebx
jne 0x40e31b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40e328
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40e34c
inc ecx
add ebx, ebx
jne 0x40e338
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40e32d
jne 0x40e349
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e32d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40e36c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40e35d
jmp 0x40e2ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40e36c
add edi, ecx
jmp 0x40e2ce
pop esi
mov edi, esi
mov ecx, 0x2b8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40e38a
cmp byte [edi], 0
jne 0x40e38a
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 0x40e38f
lea edi, [esi + 0xc000]
mov eax, dword [edi]
or eax, eax
je 0x40e3fe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe644]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe6a8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40e3bc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe6ac]
or eax, eax
je 0x40e3f8
mov dword [ebx], eax
add ebx, 4
jmp 0x40e3d9
call dword [esi + 0xe6b0]
popal
jmp 0x405be8