joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408ec9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x43468c], 0
mov eax, dword [0x41bba4]
push ebx
push esi
push edi
jne 0x408fbb
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor esi, esi
mov ecx, ebx
cmp edi, esi
je 0x408f10
lea edx, [edi]
mov dword [ebp + 8], edx
movzx edx, byte [ecx]
movzx esi, al
xor edx, esi
shr eax, 8
mov edx, dword [edx*4 + 0x417648]
xor eax, edx
inc ecx
dec dword [ebp + 8]
jne 0x408ef4
xor esi, esi
add dword [0x43492c], edi
push dword [0x43492c]
mov dword [0x41bba4], eax
push dword [0x434924]
call fcn.0040d37f
pop ecx
pop ecx
mov cl, 0x64
sub cl, al
mov eax, dword [0x43492c]
cmp eax, dword [0x434924]
mov byte [0x43493d], cl
jne 0x408f6a
push dword [0x42c4c0]
inc dword [0x42c4c8]
mov byte [0x43493d], 0x64
push dword [0x42c4c8]
call fcn.0040d34e
pop ecx
mov byte [0x42c4d0], al
pop ecx
push 0x434920
push 0x406
call fcn.0040bb0d
cmp byte [0x43468c], 0
pop ecx
pop ecx
jne 0x408fbb
push dword [0x42c4c4]
add dword [0x42c4cc], edi
push dword [0x42c4cc]
call fcn.0040d34e
push 0x42c4c0
push 0x96
mov byte [0x42c4d1], al
call fcn.0040bb0d
add esp, 0x10
cmp byte [0x43468c], 0
je 0x408fc5
mov eax, 0xbe
jmp 0x4090f4
cmp dword [0x434644], esi
jne 0x4090f2
cmp edi, esi
je 0x4090f2
cmp dword [0x4346b4], esi
je 0x408fe9
push 0x32
pop eax
jmp 0x4090f4
mov eax, dword [0x417bd4]
test byte [eax + 0x28], 8
jne 0x409009
push edi
push ebx
push dword [0x42c3f4]
call dword [0x415094]
cmp eax, edi
jmp 0x4090e9
cmp dword [ebp + 0x10], esi
je 0x40901e
mov edx, dword [0x42c3c0]
mov ecx, 0x1040
mov dword [ebp + 8], edx
jmp 0x40902d
mov eax, dword [0x42c4b8]
mov ecx, 0x2000
mov dword [ebp + 8], eax
mov edx, eax
cmp dword [0x4346ec], esi
je 0x409041
mov dword [0x41a9d0], esi
mov dword [0x4346ec], esi
cmp byte [ebx], 0xa
mov esi, ebx
jne 0x409054
cmp dword [0x41a9d0], 0
je 0x409054
lea esi, [ebx + 1]
and dword [0x41a9d0], 0
add edi, ebx
cmp esi, edi
mov eax, edx
jae 0x4090f2
lea ecx, [ecx + edx - 2]
mov dword [ebp + 0xc], ecx
mov cl, byte [esi]
cmp cl, 0xd
jne 0x40909c
mov byte [eax], cl
inc eax
lea ecx, [edi - 1]
mov byte [eax], 0xa
inc eax
cmp esi, ecx
jne 0x40908f
mov dword [0x41a9d0], 1
jmp 0x4090ac
cmp byte [esi + 1], 0xa
lea ecx, [esi + 1]
jne 0x4090ac
mov esi, ecx
jmp 0x4090ac
cmp cl, 0xa
jne 0x4090a9
mov byte [eax], 0xd
inc eax
mov byte [eax], cl
jmp 0x4090ab
mov byte [eax], cl
inc eax
cmp eax, dword [ebp + 0xc]
jbe 0x4090cc
mov ebx, eax
sub ebx, edx
push ebx
push edx
push dword [0x42c3f4]
call dword [0x415094]
cmp eax, ebx
jne 0x4090eb
mov eax, dword [ebp + 8]
mov edx, eax
inc esi
cmp esi, edi
jb 0x40906e
cmp eax, edx
jbe 0x4090f2
mov esi, eax
sub esi, edx
push esi
push edx
push dword [0x42c3f4]
call dword [0x415094]
cmp eax, esi
je 0x4090f2
call fcn.004090f9
jmp 0x4090f4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10162254
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, dword [edx]
mov eax, dword [edx + 4]
test esi, esi
jle 0x101622b7
mov ecx, dword [ebp + 0x10]
sub dword [ebp + 0xc], ecx
mov dword [ebp - 4], esi
mov esi, dword [ebp + 0xc]
push edi
inc bl
movzx ebx, bl
mov cl, byte [edx + ebx + 8]
add al, cl
movzx eax, al
mov dword [ebp + 8], eax
mov edi, dword [ebp + 8]
mov al, byte [edx + eax + 8]
mov byte [edx + ebx + 8], al
add al, cl
movzx eax, al
mov byte [edx + edi + 8], cl
mov cl, byte [eax + edx + 8]
mov eax, dword [ebp + 0x10]
xor cl, byte [esi + eax]
mov byte [eax], cl
inc eax
sub dword [ebp - 4], 1
mov dword [ebp + 0x10], eax
mov eax, edi
jne 0x10162276
mov esi, dword [ebp + 0x14]
pop edi
mov dword [edx + 4], eax
mov eax, esi
pop esi
mov dword [edx], ebx
pop ebx
leave
ret
Function at 0x1025ef50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
test ebx, ebx
je 0x1025efab
mov edi, dword [ebp + 0xc]
test edi, 0xffff0000
jne 0x1025ef75
sub edi, dword [ebx + esi + 0x10]
jmp 0x1025efc6
mov ecx, dword [ebx + esi + 0x20]
xor eax, eax
add ecx, esi
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
cmp dword [ebx + esi + 0x18], eax
jbe 0x1025efab
mov eax, dword [ecx + eax*4]
add eax, esi
push edi
push eax
call fcn.10273e40
pop ecx
pop ecx
test eax, eax
je 0x1025efb4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [ebx + esi + 0x18]
jb 0x1025ef89
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp + 8]
test ecx, ecx
js 0x1025efab
mov eax, dword [ebx + esi + 0x24]
lea eax, [eax + ecx*2]
movzx edi, word [eax + esi]
cmp edi, 0xffffffff
je 0x1025efab
cmp edi, dword [ebx + esi + 0x14]
jae 0x1025efab
mov eax, dword [ebx + esi + 0x1c]
lea eax, [eax + edi*4]
mov eax, dword [eax + esi]
add eax, esi
jmp 0x1025efad

Function at 0x10263800
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push ebx
push edi
mov ebx, 0x10273358
mov eax, dword [eax + 0xc]
push ebx
mov edi, dword [eax + 0x18]
push dword [edi + 0x28]
call fcn.1015d424
pop ecx
pop ecx
test eax, eax
jne 0x10263827
mov eax, dword [edi + 0x10]
jmp 0x10263846
push esi
mov esi, dword [edi + 4]
jmp 0x1026383f
push ebx
push dword [esi + 0x28]
call fcn.1015d424
pop ecx
pop ecx
test eax, eax
je 0x10263849
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x1026382d
xor eax, eax
pop esi
pop edi
pop ebx
ret
mov eax, dword [esi + 0x10]
jmp 0x10263845
Function at 0x402804
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402833
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040388c
jmp 0x402851
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.0040278c
mov edi, eax
test ebx, ebx
je 0x402851
cmp dword [esi], 0
je 0x402851
dec ebx
jmp 0x40283a
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402a18
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402ab0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402a90
xor eax, eax
push ebp
push 0x402a89
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402acc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402a90
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x404b80
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404d3c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404be1
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404d58
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404c53
xor eax, eax
push ebp
push 0x404c4c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.004049d8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404c35
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404d78
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404c53
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404d34
cmp byte [ebp - 0xd], 0
jne 0x404c95
cmp byte [ebp - 0x12], 0
je 0x404d34
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404cae
dec ebx
cmp byte [ebx], 0x2e
je 0x404cbd
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404cad
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404d34
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404cea
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404d34
cmp byte [ebp - 0xd], 0
je 0x404d34
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404d34
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40525c
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, eax
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x40528c
push 0
push dword [ebx]
call sub.kernel32.dll_GetFileSize
cmp eax, 0xffffffff
je 0x405282
xor edx, edx
div dword [ebx + 8]
pop ebx
ret
call fcn.004026d8
or eax, 0xffffffff
jmp 0x405280
mov eax, 0x67
call fcn.004026c8
or eax, 0xffffffff
jmp 0x405280
Function at 0x4077fc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x407835
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040388c
jmp 0x40783e
mov eax, ebx
mov edx, esi
call fcn.004037f8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x407848
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x407869
mov al, byte [esp]
jmp 0x40786b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x410254
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
mov word [ebx + 8], 0
mov byte [ebx + 0xa], 0
mov byte [ebx + 0xb], 0
mov word [ebx + 0xc], 0
xor eax, eax
mov dword [ebx + 0x10], eax
xor eax, eax
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebx + 0x18], eax
mov word [ebx + 0x1c], 0
mov word [ebx + 0x1e], 0
xor eax, eax
push ebp
push 0x4102fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x2002
call fcn.004025d8
mov dword [ebx + 0x24], eax
mov eax, 0x2002
call fcn.004025d8
mov dword [ebx + 0x28], eax
mov eax, 0x2202
call fcn.004025d8
mov dword [ebx + 0x2c], eax
mov eax, 0x103b
call fcn.004025d8
mov dword [ebx + 0x20], eax
mov eax, 0x4e8
call fcn.004025d8
mov dword [ebx + 0x30], eax
mov eax, 0x75a
call fcn.004025d8
mov dword [ebx + 0x34], eax
mov eax, 0x4e6
call fcn.004025d8
mov dword [ebx + 0x38], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41031e
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x41340c
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, 0x41338c
call fcn.00405d60
mov esi, 0x449c14
xor eax, eax
push ebp
push 0x4135a1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4135b0
push 0x20
push 0
push 2
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov ebx, eax
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
jne 0x413476
push ebx
call sub.kernel32.dll_CloseHandle_1
push 0x30
push 0x4135c8
push 0x4135cc
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x41358b
push ebx
call sub.kernel32.dll_CloseHandle_1
push 0x413604
push 0x20
push 0
push 2
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov ebx, eax
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
jne 0x4134c0
push ebx
call sub.kernel32.dll_CloseHandle_1
push 0x30
push 0x4135c8
push 0x41362c
mov eax, dword [0x449c30]
push eax
call sub.user32.dll_MessageBoxA_1
call fcn.0040366c
push ebx
call sub.kernel32.dll_CloseHandle_1
call fcn.00413280
test al, al
je 0x41358b
call fcn.004132f8
mov dword [0x449c30], eax
cmp dword [0x449c30], 0
je 0x41358b
mov eax, 0x104
call fcn.004025d8
mov ebx, eax
push 0x104
push ebx
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, 0x449d50
mov edx, ebx
call fcn.0040395c
push 0
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402804
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov edx, dword [0x449d50]
call fcn.00412c28
test al, al
je 0x41358b
push dword [0x449d50]
push 0x41366c
mov eax, dword [0x41469c]
push dword [eax]
push 0x413678
mov eax, 0x449d50
mov edx, 4
call fcn.00403ae4
push 5
mov eax, dword [0x449d50]
call fcn.00403be8
push eax
call sub.kernel32.dll_WinExec
jmp 0x413573
push esi
call sub.user32.dll_TranslateMessage
push esi
call sub.user32.dll_DispatchMessageA
push 0
push 0
push 0
push esi
call sub.user32.dll_GetMessageA
test eax, eax
jne 0x413567
mov eax, dword [esi + 8]
call fcn.0040378c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4135a8
lea eax, [ebp - 0x10]
call fcn.004037a4
ret
Function at 0x44c025
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0044bfa1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x44c194
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x44c194
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x44c149
jg 0x44c081
test eax, eax
je 0x44c13f
push 1
push 0x1000
call fcn.0043dfec
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x44c0a4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x44c136
push 0x8000
push ebx
call fcn.0043b6e6
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x44c0cd
jg 0x44c0c8
cmp ecx, 0x1000
jb 0x44c0cd
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00440df4
add esp, 0x10
cmp eax, 0xffffffff
je 0x44c112
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x44c0c8
jl 0x44c0f9
test ecx, ecx
jne 0x44c0ba
push dword [ebp - 0xc]
push ebx
call fcn.0043b6e6
push esi
call fcn.0043dd3b
add esp, 0xc
xor ebx, ebx
jmp 0x44c1a2
cmp byte [edi + 0x24], 0
je 0x44c129
cmp dword [edi + 0x20], 5
jne 0x44c129
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x44c134
mov ebx, dword [edi + 0x18]
jmp 0x44c136
xor ebx, ebx
push esi
call fcn.0043dd3b
pop ecx
jmp 0x44c1a2
test ecx, ecx
jg 0x44c10b
jl 0x44c149
test eax, eax
jae 0x44c10b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004425c0
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x44c169
cmp byte [edi + 0x1c], 0
je 0x44c10b
jmp 0x44c19a
push ebx
call fcn.0044618f
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x44c10b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x44c1a2
cmp byte [edi + 0x1c], 0
je 0x44c19f
mov ebx, dword [edi + 0x18]
jmp 0x44c1a2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004425c0
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44d800
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44d82d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44d82d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4031d8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x20c
mov eax, dword [0x431040]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x210]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x224]
mov ebp, pe_nt_image_headers32
push edi
xor edi, edi
mov dword [esp + 0x14], eax
mov ecx, edi
mov eax, ecx
mov byte [esp + ecx + 0x18], cl
cdq
idiv dword [esp + 0x22c]
mov al, byte [edx + esi]
mov byte [esp + ecx + 0x118], al
inc ecx
cmp ecx, ebp
jl 0x40320b
mov esi, edi
mov ebx, edi
mov dl, byte [esp + esi + 0x18]
movzx eax, byte [esp + esi + 0x118]
add ebx, eax
movzx ecx, dl
add ebx, ecx
and ebx, 0x800000ff
jns 0x40324f
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esp + ebx + 0x18]
mov byte [esp + esi + 0x18], al
inc esi
mov byte [esp + ebx + 0x18], dl
cmp esi, ebp
jl 0x40322c
mov ebx, edi
mov ebp, edi
cmp dword [esp + 0x224], ebx
jle 0x403300
inc edi
and edi, 0x800000ff
jns 0x403282
dec edi
or edi, 0xffffff00
inc edi
mov cl, byte [esp + edi + 0x18]
movzx esi, cl
add ebx, esi
and ebx, 0x800000ff
jns 0x40329b
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esp + ebx + 0x18]
sub esp, 0x10
movaps xmm0, xmmword [0x4264f0]
mov byte [esp + edi + 0x28], al
mov byte [esp + ebx + 0x28], cl
movups xmmword [esp], xmm0
call fcn.0040df60
add esp, 0xc
mov ecx, 0x432310
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
movss dword [esp], xmm0
call fcn.00402d3c
push eax
call fcn.00402253
movzx eax, byte [esp + edi + 0x1c]
add eax, esi
pop ecx
mov ecx, dword [esp + 0x14]
movzx eax, al
mov al, byte [esp + eax + 0x18]
xor byte [ecx + ebp], al
inc ebp
cmp ebp, dword [esp + 0x224]
jl 0x403271
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040943f
add esp, 0x20c
ret

Function at 0x4045aa
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0xc]
cmp dword [esp + 0x10], esi
jbe 0x4045e7
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x15
push 0
mov byte [edi + esi], al
call dword [sym.imp.USER32.dll_OpenIcon]
mov al, byte [edi + esi]
sub al, 0x57
xor al, 0x74
add al, 0x4e
xor al, 0x70
sub al, 0x65
xor al, 0x22
sub al, 0x73
xor al, 0x2a
mov byte [edi + esi], al
inc esi
cmp esi, dword [esp + 0x10]
jb 0x4045b8
pop edi
pop esi
ret
Function at 0x407b5a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x407b7b
jl 0x407b72
test edi, edi
jne 0x407b7b
xor eax, eax
xor edx, edx
jmp 0x407c3c
cmp dword [ebx + 0x38], 0
je 0x407b90
push eax
push edi
push dword [ebp + 8]
call fcn.00407c42
jmp 0x407c3c
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x407bd7
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x407bd7
cmp eax, edi
jb 0x407bb1
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0040a220
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x407bdd
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x407c31
mov ecx, ebx
call fcn.004073a2
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x407c1c
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00412143
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x407c31
jmp 0x407bef
test edx, edx
je 0x407c31
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00412143
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x40a063
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40a0a2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40a0a2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40a0a2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40a0a2
cmp dword [ecx + 0x74], 0xe
jbe 0x40a0a2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x419373
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42a3b8
push 0x42a3b0
push str.FlsAlloc
push 0x1e
call fcn.0041925c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4193a7
push dword [ebp + 8]
mov ecx, esi
call dword [0x42613c]
call esi
jmp 0x4193ad
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4193f1
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42a3c8
push 0x42a3c0
push str.FlsGetValue
push 0x20
call fcn.0041925c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x419428
push dword [ebp + 8]
mov ecx, esi
call dword [0x42613c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x41b5dc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041b27e

Function at 0x41b5e7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041b40d

Function at 0x41b9e1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040a1d0
mov eax, dword [0x431040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00418c68
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41ba23
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41bb7f
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00424be0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x432ca8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041cbb1
mov ecx, dword [esi*4 + 0x432ca8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41bb78
cmp eax, dword [edi + ecx + 0x24]
jne 0x41bb78
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41bb78
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041cbb1
add esp, 0x14
test edx, edx
jl 0x41bb78
jg 0x41baee
test eax, eax
jb 0x41bb78
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41bb78
jl 0x41bb08
cmp dword [ebp - 0x1008], eax
ja 0x41bb78
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41bb26
test ebx, ebx
je 0x41bb5f
cmp ecx, edi
jae 0x41bb5f
mov al, byte [ecx]
cmp al, 0xd
jne 0x41bb40
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41bb4c
cmp byte [ecx + 1], 0xa
jne 0x41bb4c
inc ecx
jmp 0x41bb4c
movzx eax, al
movsx eax, byte [eax + 0x431308]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41bb26
cmp edx, ebx
jne 0x41bb26
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41bb7d
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040943f
leave
ret