joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e260
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0x2048
push 0
push esi
mov dword [esp + 0xc], 0
call fcn.0049be70
mov eax, dword [esp + 0x14]
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
mov dword [esi], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x42e2a7
xor eax, eax
pop ecx
ret
push 0
lea ecx, [esp + 4]
push ecx
push 0x2030
lea edx, [esi + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp], 0x2030
jne 0x42e2a3
mov dword [esi + 4], 0xffffffff
mov eax, 1
pop ecx
ret

Function at 0x42e2e0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [esp + 8], 0
lea ebx, [esi + 0x2038]
mov ecx, dword [esi]
push 0
lea eax, [esp + 0xc]
push eax
push 0xe
push ebx
push ecx
call ebp
cmp dword [esp + 8], 0xe
jb 0x42e36c
mov eax, dword [esi + 0x203a]
mov ecx, dword [esi]
push 0
lea edx, [esp + 0xc]
push edx
push eax
push edi
push ecx
call ebp
mov edx, dword [esp + 8]
cmp edx, dword [esi + 0x203a]
jb 0x42e36c
test byte [ebx], 7
jbe 0x42e35e
movzx eax, byte [edi + 0xf]
movzx ecx, byte [edi + 0x10]
mov dl, byte [edi + 0x11]
not al
not cl
mov byte [edi + 0xf], al
movzx eax, byte [edi + 0x12]
mov byte [edi + 0x10], cl
movzx ecx, byte [edi + 0x13]
not dl
not al
not cl
mov byte [edi + 0x11], dl
mov byte [edi + 0x12], al
mov byte [edi + 0x13], cl
test byte [ebx], 0x18
jne 0x42e2f7
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
pop ebp
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x42e380
Capabilities:
Read file on windows

Disassembly:
push ecx
mov ecx, dword [esi]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0xc]
push eax
push 0xe
lea ebx, [esi + 0x2038]
push ebx
push ecx
mov dword [esp + 0x1c], 0
call ebp
cmp dword [esp + 8], 0xe
jae 0x42e3b3
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esi + 0x203a]
mov ecx, dword [esi]
push 0
lea edx, [esp + 0xc]
push edx
push eax
push edi
push ecx
call ebp
mov edx, dword [esp + 8]
cmp edx, dword [esi + 0x203a]
jb 0x42e3ad
mov bl, byte [ebx]
test bl, 0x18
jne 0x42e40b
test bl, 7
jbe 0x42e40b
movzx eax, byte [edi + 0xf]
movzx ecx, byte [edi + 0x10]
mov dl, byte [edi + 0x11]
not al
not cl
mov byte [edi + 0xf], al
movzx eax, byte [edi + 0x12]
mov byte [edi + 0x10], cl
movzx ecx, byte [edi + 0x13]
not dl
not al
not cl
mov byte [edi + 0x11], dl
mov byte [edi + 0x12], al
mov byte [edi + 0x13], cl
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x441130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
imul eax, edx
push ebx
push ebp
push esi
mov ebp, 0x4d8a88
push edi
xor edi, edi
add eax, ecx
mov ebx, ebp
xor esi, esi
test ecx, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], edi
je 0x441186
cmp eax, 1
jl 0x441186
mov ebp, dword [esp + 0x24]
mov ebx, eax
imul ebx, ebx, 0x124
add ebp, ebx
mov ebx, dword [ebp - 0x124]
cmp ebx, 3
je 0x44117a
cmp ebx, 4
jne 0x441180
lea esi, [ebp - 0xbc]
mov ebx, dword [esp + 0x14]
mov ebp, ebx
cmp eax, edx
jl 0x4411b0
mov ebp, dword [esp + 0x24]
mov ebx, eax
sub ebx, edx
imul ebx, ebx, 0x124
add ebp, ebx
mov ebx, dword [ebp]
cmp ebx, 3
je 0x4411a7
cmp ebx, 4
jne 0x4411aa
lea edi, [ebp + 0x68]
mov ebx, dword [esp + 0x14]
mov ebp, ebx
test ecx, ecx
je 0x4411e3
lea ecx, [edx + 1]
cmp eax, ecx
jl 0x4411e3
mov ecx, eax
sub ecx, edx
mov edx, dword [esp + 0x24]
imul ecx, ecx, 0x124
add edx, ecx
mov ecx, dword [edx - 0x124]
cmp ecx, 3
je 0x4411db
cmp ecx, 4
jne 0x4411e3
add edx, 0xffffff44
jmp 0x4411e7
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
imul eax, eax, 0x124
lea eax, [eax + ecx + 0x68]
mov ecx, dword [esp + 0x28]
cmp ecx, 5
ja case.default.0x441202
jmp dword [ecx*4 + 0x441318]
test esi, esi
je 0x441210
lea ebx, [esi + 0x1e]
test edi, edi
je 0x441217
lea ebp, [edi + 0x3c]
test edx, edx
je case.default.0x441202
add edx, 0x5a
jmp 0x441285
test edi, edi
mov ebx, eax
je case.default.0x441202
lea ebp, [edi + 0x5a]
add edi, 0x3c
mov dword [esp + 0x10], edi
jmp case.default.0x441202
test esi, esi
je 0x441240
lea ebx, [esi + 0x5a]
add esi, 0x1e
mov dword [esp + 0x10], esi
mov ebp, eax
jmp case.default.0x441202
lea ebx, [eax + 0x3c]
lea ebp, [eax + 0x1e]
mov dword [esp + 0x10], eax
jmp case.default.0x441202
test esi, esi
je 0x441257
lea ebx, [esi + 0x78]
test edi, edi
je 0x44125e
lea ebp, [edi + 0x78]
test edx, edx
je case.default.0x441202
add edx, 0x78
jmp 0x441285
test esi, esi
je 0x441271
lea ebx, [esi + 0x96]
test edi, edi
je 0x44127b
lea ebp, [edi + 0x96]
test edx, edx
je case.default.0x441202
add edx, 0x96
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
movsx ecx, word [edx]
movzx ebp, word [ebp]
movzx ebx, word [ebx]
movsx edi, bp
mov eax, ecx
sub eax, edi
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x24], eax
movsx esi, bx
mov eax, esi
sub eax, ecx
mov ecx, dword [esp + 0x24]
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
mov ecx, dword [esp + 0x2c]
jge 0x4412e0
test bp, bp
jle 0x4412dc
mov eax, ecx
sar eax, 1
add eax, edi
cdq
idiv ecx
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov word [ecx], ax
add esp, 0x10
ret
mov eax, edi
jmp 0x4412ff
test bx, bx
jle 0x4412fd
mov eax, ecx
sar eax, 1
add eax, esi
cdq
idiv ecx
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov word [ecx], ax
add esp, 0x10
ret
mov eax, esi
mov edx, ecx
sar edx, 1
sub eax, edx
cdq
idiv ecx
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov word [ecx], ax
add esp, 0x10
ret
Function at 0x45bd20
Capabilities:
Encode data using xor

Disassembly:
push ecx
cmp eax, 0x20
push esi
jg 0x45bdd3
mov esi, 1
mov ecx, eax
shl esi, cl
cmp edx, esi
jae 0x45bdd3
mov ecx, 0x20
sub ecx, eax
xor esi, esi
shl edx, cl
mov ecx, esi
shl ecx, 0x18
mov eax, ecx
sar eax, 0x1f
add ecx, ecx
and eax, edx
xor eax, ecx
mov ecx, eax
sar ecx, 0x1f
and ecx, edx
add eax, eax
xor ecx, eax
mov eax, ecx
sar eax, 0x1f
add ecx, ecx
and eax, edx
xor eax, ecx
mov ecx, eax
sar ecx, 0x1f
and ecx, edx
add eax, eax
xor ecx, eax
mov eax, ecx
sar eax, 0x1f
add ecx, ecx
and eax, edx
xor eax, ecx
mov ecx, eax
sar ecx, 0x1f
and ecx, edx
add eax, eax
xor ecx, eax
mov eax, ecx
sar eax, 0x1f
add ecx, ecx
and eax, edx
xor eax, ecx
mov ecx, eax
sar ecx, 0x1f
and ecx, edx
add eax, eax
xor ecx, eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 4]
bswap eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 4]
mov dword [edi + esi*4], ecx
add esi, 1
cmp esi, 0x100
jl 0x45bd47
mov dword [edi + 0x400], 1
xor eax, eax
pop esi
pop ecx
ret
or eax, 0xffffffff
pop esi
pop ecx
ret

Function at 0x47880b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x478851
call fcn.0047ab74
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x478851
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x478894
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x47887d
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x47887d
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x478891
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4813f2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x48142b
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004049a0
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00476545
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x48307c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4830bf
call fcn.0047ab74
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4830bf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4830da
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00482c33
test ebx, ebx
mov esi, eax
je 0x4830d8
test edi, edi
je 0x4830d8
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x484929
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x484932
xor eax, eax
jmp 0x48499b
cmp dword [esp + 8], 0
jne 0x48493e
call fcn.00478283
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.0049d9fc
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x484979
push dword [esi + 0x10]
call fcn.0049d741
test eax, eax
pop ecx
jne 0x484979
mov esi, dword [esi + 0xc]
call fcn.0049ca1d
push esi
push dword [eax]
push 1
call fcn.00484788
push dword [esi + 0x10]
call fcn.0049d770
test eax, eax
pop ecx
je 0x484998
push dword [esi + 0x10]
call fcn.0049d695
push eax
call fcn.00404000
pop ecx
pop ecx
jmp 0x484967
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x4849a4
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x4849ae
call fcn.00478283
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00496c34
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x4849db
mov esi, dword [esi + 0xc]
call fcn.0049ca1d
push esi
push dword [eax]
push 1
call fcn.00484788
pop esi
ret 8

Function at 0x487686
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 0x4876b4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4876d2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004875f0
jmp 0x4876d2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4876d2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004875f0
test edi, edi
mov eax, edi
jne 0x4876bc
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4f3f70]
test ecx, ecx
je 0x487795
jmp 0x487685
ret 8

Function at 0x493ab4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ef6a0]
jne 0x493abe
repz ret
jmp fcn.0049ea80
Function at 0x4a6006
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0049fb47
xor ebx, ebx
cmp dword [0x4f4a84], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4a60db
push 0x4c6098
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebx
jne 0x4a6046
xor eax, eax
jmp 0x4a619f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push edi
call esi
cmp eax, ebx
je 0x4a603f
push eax
call fcn.0049fae4
mov dword [esp], 0x4c607c
push edi
mov dword [0x4f4a84], eax
call esi
push eax
call fcn.0049fae4
mov dword [esp], 0x4c6068
push edi
mov dword [0x4f4a88], eax
call esi
push eax
call fcn.0049fae4
mov dword [0x4f4a8c], eax
lea eax, [ebp - 8]
push eax
call fcn.004979ba
test eax, eax
pop ecx
pop ecx
je 0x4a60a9
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00494f08
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4a60db
push str.GetUserObjectInformationW
push edi
call esi
push eax
call fcn.0049fae4
cmp eax, ebx
pop ecx
mov dword [0x4f4a94], eax
je 0x4a60db
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0049fae4
pop ecx
mov dword [0x4f4a90], eax
mov eax, dword [0x4f4a90]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4a6154
cmp dword [0x4f4a94], esi
je 0x4a6154
push eax
call fcn.0049fb50
pop ecx
call eax
cmp eax, ebx
je 0x4a6121
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4f4a94]
call fcn.0049fb50
pop ecx
call eax
test eax, eax
je 0x4a6121
test byte [ebp - 0x18], 1
jne 0x4a6154
lea eax, [ebp - 0xc]
push eax
call fcn.004979f1
test eax, eax
pop ecx
je 0x4a613c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00494f08
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4a614b
or dword [ebp + 0x10], 0x200000
jmp 0x4a6185
or dword [ebp + 0x10], 0x40000
jmp 0x4a6185
mov eax, dword [0x4f4a88]
cmp eax, esi
je 0x4a6185
push eax
call fcn.0049fb50
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4a6185
mov eax, dword [0x4f4a8c]
cmp eax, esi
je 0x4a6185
push dword [ebp - 4]
push eax
call fcn.0049fb50
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4f4a84]
call fcn.0049fb50
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4ab965
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0049fb47
xor ebx, ebx
cmp dword [0x4f4aa8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4aba3a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4ab9a5
xor eax, eax
jmp 0x4abafe
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4c62d4
push edi
call esi
cmp eax, ebx
je 0x4ab99e
push eax
call fcn.0049fae4
mov dword [esp], 0x4c607c
push edi
mov dword [0x4f4aa8], eax
call esi
push eax
call fcn.0049fae4
mov dword [esp], 0x4c6068
push edi
mov dword [0x4f4aac], eax
call esi
push eax
call fcn.0049fae4
mov dword [0x4f4ab0], eax
lea eax, [ebp - 8]
push eax
call fcn.004979ba
test eax, eax
pop ecx
pop ecx
je 0x4aba08
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00494f08
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4aba3a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0049fae4
cmp eax, ebx
pop ecx
mov dword [0x4f4ab8], eax
je 0x4aba3a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0049fae4
pop ecx
mov dword [0x4f4ab4], eax
mov eax, dword [0x4f4ab4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4abab3
cmp dword [0x4f4ab8], esi
je 0x4abab3
push eax
call fcn.0049fb50
pop ecx
call eax
cmp eax, ebx
je 0x4aba80
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4f4ab8]
call fcn.0049fb50
pop ecx
call eax
test eax, eax
je 0x4aba80
test byte [ebp - 0x18], 1
jne 0x4abab3
lea eax, [ebp - 0xc]
push eax
call fcn.004979f1
test eax, eax
pop ecx
je 0x4aba9b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00494f08
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4abaaa
or dword [ebp + 0x10], 0x200000
jmp 0x4abae4
or dword [ebp + 0x10], 0x40000
jmp 0x4abae4
mov eax, dword [0x4f4aac]
cmp eax, esi
je 0x4abae4
push eax
call fcn.0049fb50
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4abae4
mov eax, dword [0x4f4ab0]
cmp eax, esi
je 0x4abae4
push dword [ebp - 4]
push eax
call fcn.0049fb50
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4f4aa8]
call fcn.0049fb50
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4b80b6
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4ef6a0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004b804b
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0049be70
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4b8105
cmp dword [ebp - 0x1c], 5
jb 0x4b811d
jmp 0x4b8119
cmp dword [ebp - 0x10], 1
jne 0x4b811d
cmp dword [ebp - 0x1c], 4
ja 0x4b8119
jne 0x4b811d
cmp dword [ebp - 0x18], 0
jbe 0x4b811d
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4ca514
call fcn.004b7f3c
test eax, eax
jge 0x4b813e
mov byte [0x4f4b84], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00493ab4
add ebp, 0x78
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4efe51f3
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x56880998
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x42fa90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x24000]
push edi
or ebp, 0xffffffff
jmp 0x42fab2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42fab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42faa8
mov eax, 1
add ebx, ebx
jne 0x42facb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42fac0
jne 0x42fadc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42fac0
xor ecx, ecx
sub eax, 3
jb 0x42faf0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42fb62
mov ebp, eax
add ebx, ebx
jne 0x42fafb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42fb08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42fb2c
inc ecx
add ebx, ebx
jne 0x42fb18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42fb0d
jne 0x42fb29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42fb0d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42fb4c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42fb3d
jmp 0x42faae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42fb4c
add edi, ecx
jmp 0x42faae
pop esi
mov edi, esi
mov ecx, 0xbdc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42fb6a
cmp byte [edi], 9
jne 0x42fb6a
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 0x42fb6f
lea edi, [esi + 0x2c000]
mov eax, dword [edi]
or eax, eax
je 0x42fbde
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3d668]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3d6e0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42fb9c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3d6e4]
or eax, eax
je 0x42fbd8
mov dword [ebx], eax
add ebx, 4
jmp 0x42fbb9
call dword [esi + 0x3d6e8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x42fc0f
cmp al, 0xef
ja 0x42fc02
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x42fbe4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x42fbf1
popal
jmp 0x415f44
Function at 0x40177b
Capabilities:
Terminate process

Disassembly:
rol byte [eax], cl
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 0xffffff8e
push 1
call dword [sym.imp.MSVCRT.dll_exit]
nop
push ebp
mov ebp, esp
or dword [eax + edi*4 - 0x5f000000], 0x41b282
test eax, eax
mov eax, dword [0xc741404c]
mov dh, 6
push 0x41d540
push eax
push cs
sahf
inc eax
add byte [eax], al
push 0x740d
inc ecx
add bl, ch
adc al, 0x8b
adc eax, 0x411800
push edx
push eax
add byte [edx + 0x50], dl
push ebp
mov al, byte [0xf2863040]
push cs
js 0x4017c0
pop ss
inc ecx
add byte [ebx + 0x411808], ah
invalid

Function at 0x409f20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, 0xd4b95708
add byte [eax], al
add byte [eax + eax*8 - 0x54bd0175], dl
mov eax, dword [ebx + 0x10]
xor edi, dword [ebp - 0x47]
fild dword [eax]
add byte [eax], al
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x3c568938], edx
inc esi
and dword [ecx], ebx
add byte [eax], al
mov dword [esi + 0x38], eax
xchg edx, eax
push esi
cmp al, 0x8b
or al, 0x8b
ror byte [ebx - 0xcc1365], 1
xor edi, edi
or edx, ecx
xor bh, al
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], eax
push edi
mov edx, eax
mov eax, dword [esi + 0x47]
push 0xa
push edx
push eax
call fcn.0040b63b
mov dword [esi + 0x19], edx
mov ecx, dword [ecx - 0x762f74c4]
jge 0x409f5d
add edx, 0xb779c000
dec ebx
mov al, 0x69
adc al, 0xd6
dec dword [ecx + 0x4e893856]
cmp al, 0x8b
dec ebx
or byte [ecx - 0x3e74b77e], cl
mov esp, dword [edx]
mov ecx, 0x20
mov dword [esi + 0x4c], edi
push edx
les ebx, [eax]
xchg edi, eax
add byte [eax + 0x56894846], cl
dec esp
mov ecx, dword [esp + eax + 0xb4c4e8b]
ret 0xcf02
Function at 0x533bbf
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x533c0b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x533c05
mov ecx, dword [0x565328]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x533bf9
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x533bde
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x533c07
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x53521b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x535287
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x5352d0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0054e5f0
add esp, 8
test eax, eax
jne 0x5352ce
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x5352d2
jmp 0x53527e
xor eax, eax
mov esp, ebp
pop ebp
ret