joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428cb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
push ebx
sub esp, 0x20
mov ebx, dword [ebp + 0xc]
mov dword [esp], ebx
call fcn.00429af0
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov edx, 1
mov dword [esp + 0x14], edx
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.SHELL32.DLL_ShellExecuteW
sub esp, 0x18
cmp eax, 0x20
jg 0x428d48
cmp eax, 0x1f
ja case.0x428cfa.1
jmp dword [eax*4 + 0x4647ec]
mov ecx, str.Unknown_error.
mov dword [esp + 4], ecx
mov dword [esp], 5
call dword [sym.imp.mameplib.dll_lang_message]
mov dword [esp], ebx
mov esi, eax
call fcn.00429af0
mov dword [esp], esi
mov ebx, eax
xor esi, esi
call fcn.00429af0
mov dword [esp + 4], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp], 0
call fcn.0044dda5
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov eax, str.There_is_no_application_associated_with_the_given_filename_extension.
mov dword [esp + 4], eax
jmp 0x428d0a
mov eax, str.A_sharing_violation_occurred.
mov dword [esp + 4], eax
jmp 0x428d0a
mov eax, str.There_was_not_enough_memory_to_complete_the_operation.
mov dword [esp + 4], eax
jmp 0x428d0a
mov eax, str.The_specified_path_was_not_found.
mov dword [esp + 4], eax
jmp 0x428d0a
mov eax, str.The_specified_file_was_not_found.
mov dword [esp + 4], eax
jmp 0x428d0a
mov eax, str.The_operating_system_is_out_of_memory_or_resources.
mov dword [esp + 4], eax
jmp 0x428d0a
Function at 0x44eb20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov eax, 0x10
mov ebp, esp
push ebx
sub esp, 0x64
and esp, 0xfffffff0
call fcn.0044f0a0
call fcn.0044ed10
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x44eb58
jmp 0x44ebf6
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
jne 0x44eb57
cmp cl, 0x22
je 0x44ebb0
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
je 0x44ebd0
lea esi, [esi]
lea edi, [edi]
test cl, cl
je 0x44ebd0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
jne 0x44eb90
jmp 0x44ebd0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x22
setne al
xor edx, edx
test cl, cl
setne dl
test eax, edx
jne 0x44ebb0
cmp cl, 0x22
je 0x44ec32
lea esi, [esi]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
jmp 0x44ebf0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete dl
cmp cl, 9
sete al
or eax, edx
test al, 1
jne 0x44ebe0
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
test byte [ebp - 0x2c], 1
mov edx, 0xa
je 0x44ec14
movzx edx, word [ebp - 0x28]
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.004012e0
sub esp, 0x10
mov ebx, dword [ebp - 4]
leave
ret
inc ebx
movzx ecx, byte [ebx]
jmp 0x44ebd0

Function at 0x44f0d0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [0x578510]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x44f110
mov dword [ebx + 0x30], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call fcn.00450e40
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x2c], eax
add esp, 0x14
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x2c], eax
add esp, 0x14
pop ebx
pop ebp
ret
Function at 0x44f4c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [0x578510]
mov edi, dword [ebp + 8]
test eax, eax
je 0x44f59c
mov ecx, dword [eax + 0x2c]
test ecx, ecx
js 0x44f5b1
mov edx, dword [eax + 0x2c]
test edx, edx
jne 0x44f570
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
jmp 0x44f508
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
xor ecx, ecx
test eax, eax
mov edx, 5
je 0x44f518
mov ecx, dword [eax + 0x18]
xor edx, edx
cmp edx, 5
je 0x44f563
test edx, edx
jne 0x44f556
test ecx, ecx
je 0x44f500
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp], 1
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
call ecx
cmp eax, 6
je 0x44f5c0
cmp eax, 8
je 0x44f500
mov eax, 3
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
mov eax, 5
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [eax + 0x30]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x44f4f2
call fcn.0044ee30
mov eax, dword [0x578510]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jns 0x44f4e4
call fcn.0044f130
mov eax, dword [0x578510]
jmp 0x44f4e4
mov dword [edi + 0xc], 0
mov eax, dword [ebp - 0x14]
mov edx, ebx
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, edi
call fcn.0044f430
cmp eax, 7
jne 0x44f55b
mov eax, dword [0x578510]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x44f613
mov edi, dword [eax + 0x2c]
test edi, edi
js 0x44f63e
mov esi, dword [eax + 0x2c]
test esi, esi
jne 0x44f61f
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call fcn.0044ee30
mov eax, dword [0x578510]
jmp 0x44f5f1
mov eax, dword [eax + 0x30]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x44f602
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44f602
call fcn.0044f130
mov eax, dword [0x578510]
jmp 0x44f5f8
Function at 0x44f8a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [0x578510]
mov edi, dword [ebp + 8]
test eax, eax
je 0x44f934
mov esi, dword [eax + 0x2c]
test esi, esi
js 0x44f950
mov ebx, dword [eax + 0x2c]
test ebx, ebx
jne 0x44f970
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x44f928
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.0044f430
cmp eax, 7
jne 0x44f9ef
mov eax, dword [0x578510]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x44f9c6
mov edx, dword [eax + 0x2c]
test edx, edx
js 0x44f9e0
mov edi, dword [eax + 0x2c]
test edi, edi
jne 0x44f9a0
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.0044f650
jmp 0x44f8e5
call fcn.0044ee30
mov eax, dword [0x578510]
mov esi, dword [eax + 0x2c]
test esi, esi
jns 0x44f8c0
lea esi, [esi]
call fcn.0044f130
mov eax, dword [0x578510]
mov ebx, dword [eax + 0x2c]
test ebx, ebx
je 0x44f8cb
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [eax + 0x30]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x44f8ce
mov eax, dword [eax + 0x30]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x44f917
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44f917
call fcn.0044ee30
mov eax, dword [0x578510]
mov edx, dword [eax + 0x2c]
test edx, edx
jns 0x44f909
nop
lea esi, [esi]
call fcn.0044f130
mov eax, dword [0x578510]
jmp 0x44f909
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]
Function at 0x44fa00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov esi, dword [edi + 0xc]
test esi, esi
je 0x44fa92
mov eax, dword [0x578510]
test eax, eax
je 0x44fa86
mov ebx, dword [eax + 0x2c]
test ebx, ebx
js 0x44fb01
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jne 0x44faa7
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, edi
call fcn.0044f650
cmp eax, 7
jne 0x44fb1f
mov eax, dword [0x578510]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x44faf2
mov edx, dword [eax + 0x2c]
test edx, edx
js 0x44fb10
mov edi, dword [eax + 0x2c]
test edi, edi
jne 0x44fad3
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call fcn.0044ee30
mov eax, dword [0x578510]
jmp 0x44fa22
mov dword [esp], edi
call fcn.0044f4c0
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov ebx, dword [eax + 0x30]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x44fa37
mov eax, dword [eax + 0x30]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x44fa75
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44fa75
call fcn.0044ee30
mov eax, dword [0x578510]
jmp 0x44fa60
call fcn.0044f130
mov eax, dword [0x578510]
jmp 0x44fa2d
call fcn.0044f130
mov eax, dword [0x578510]
jmp 0x44fa6b
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]

Function at 0x44fcd0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov edx, eax
je 0x44fd00
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00450e40
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
leave
ret
Function at 0x4514fc
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov eax, dword [0x45efc0]
test eax, eax
je 0x451606
movzx eax, byte [0x45efd8]
test al, al
jne 0x4515f7
mov eax, dword [0x45efc8]
mov esi, dword [0x45efc4]
cmp esi, eax
jbe 0x45154d
mov ecx, dword [0x45efdc]
lea esi, [esi]
add eax, eax
lea edx, [ecx + 1]
cmp esi, eax
mov ecx, edx
ja 0x45153c
mov dword [0x45efdc], edx
lea eax, [esi + esi + 2]
xor edi, edi
mov dword [esp], eax
call fcn.00449c20
movzx ebx, word [0x45efc8]
mov dword [0x45f000], eax
mov edx, eax
mov esi, dword [0x45efc4]
xor ecx, ecx
lea esi, [esi]
lea edi, [edi]
cmp ecx, ebx
jbe 0x45158c
lea eax, [ebx + ebx]
movzx ebx, ax
lea eax, [edi + 1]
movzx edi, ax
mov word [edx], di
lea eax, [ecx + 1]
movzx ecx, ax
add edx, 2
cmp ecx, esi
jbe 0x45157c
mov eax, dword [0x45efdc]
shl eax, 4
mov dword [esp], eax
call fcn.00449c20
mov dword [0x45eff0], eax
mov ecx, dword [0x5783e0]
test ecx, ecx
jne 0x451660
xor esi, esi
cmp esi, dword [0x45efdc]
jae 0x4515f7
lea esi, [esi]
mov dword [esp], 4
mov eax, dword [0x45eff0]
mov ebx, esi
shl ebx, 4
inc esi
add ebx, eax
call fcn.00449c20
mov dword [ebx], eax
mov eax, dword [ebx]
mov dword [eax], 0
cmp esi, dword [0x45efdc]
jb 0x4515cc
mov byte [0x45eff4], 1
add esp, 0xc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.GLIBCXX_FORCE_NEW
mov eax, 8
mov edi, 0xff0
mov dword [0x45efc0], eax
mov eax, pe_nt_image_headers32
mov esi, 0x1000
mov dword [0x45efc4], eax
mov ebx, 0xa
mov eax, 8
mov dword [0x45efc8], eax
mov dword [0x45efcc], edi
mov dword [0x45efd0], esi
mov dword [0x45efd4], ebx
call sub.msvcrt.dll_getenv
test eax, eax
setne al
mov byte [0x45efd8], al
jmp 0x451519
mov eax, dword [0x45efd0]
mov ebx, 1
shl eax, 3
mov dword [esp], eax
call fcn.00449c20
cmp dword [0x45efd0], 1
mov dword [0x45efe4], eax
jmp 0x4516a8
mov edx, dword [0x45efe4]
lea eax, [ebx*8]
mov ecx, dword [0x45efe4]
lea edx, [eax + edx]
add eax, ecx
mov dword [edx - 4], ebx
inc ebx
cmp dword [0x45efd0], ebx
mov dword [edx - 8], eax
ja 0x451683
mov eax, dword [0x45efe4]
xor edx, edx
mov dword [eax + ebx*8 - 8], edx
mov eax, dword [0x45efe4]
mov dword [eax + ebx*8 - 4], ebx
mov dword [esp], 0x45efe8
call fcn.0044fdc0
mov dword [esp], 0x45efe0
mov eax, 0x4518dc
mov dword [esp + 4], eax
call fcn.0044fcd0
mov dword [ebp - 0x10], 0
mov esi, dword [0x45efd0]
xor eax, eax
inc esi
cmp eax, dword [0x45efdc]
jae 0x4515f7
lea edi, [esi*4]
lea esi, [esi]
lea edi, [edi]
mov dword [esp], edi
mov edx, dword [ebp - 0x10]
mov eax, dword [0x45eff0]
shl edx, 4
lea ebx, [edx + eax]
call fcn.00449c20
mov dword [ebx], eax
mov dword [esp], edi
call fcn.00449c20
mov dword [ebx + 4], eax
mov dword [esp], edi
call fcn.00449c20
mov dword [ebx + 8], eax
mov dword [esp], 8
call fcn.00449c20
mov dword [ebx + 0xc], eax
mov dword [esp], eax
call fcn.0044fdc0
xor edx, edx
jmp 0x45177a
mov eax, dword [ebx]
mov dword [eax + edx*4], 0
mov eax, dword [ebx + 4]
mov dword [eax + edx*4], 0
mov eax, dword [ebx + 8]
mov dword [eax + edx*4], 0
inc edx
cmp edx, esi
jb 0x45175c
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x45efdc]
jb 0x45170c
jmp 0x4515f7
Function at 0x451e7c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov eax, dword [0x45f004]
test eax, eax
je 0x451f86
movzx eax, byte [0x45f01c]
test al, al
jne 0x451f77
mov eax, dword [0x45f00c]
mov esi, dword [0x45f008]
cmp esi, eax
jbe 0x451ecd
mov ecx, dword [0x45f020]
lea esi, [esi]
add eax, eax
lea edx, [ecx + 1]
cmp esi, eax
mov ecx, edx
ja 0x451ebc
mov dword [0x45f020], edx
lea eax, [esi + esi + 2]
xor edi, edi
mov dword [esp], eax
call fcn.00449c20
movzx ebx, word [0x45f00c]
mov dword [0x45f044], eax
mov edx, eax
mov esi, dword [0x45f008]
xor ecx, ecx
lea esi, [esi]
lea edi, [edi]
cmp ecx, ebx
jbe 0x451f0c
lea eax, [ebx + ebx]
movzx ebx, ax
lea eax, [edi + 1]
movzx edi, ax
mov word [edx], di
lea eax, [ecx + 1]
movzx ecx, ax
add edx, 2
cmp ecx, esi
jbe 0x451efc
mov eax, dword [0x45f020]
shl eax, 4
mov dword [esp], eax
call fcn.00449c20
mov dword [0x45f034], eax
mov ebx, dword [0x5783e0]
test ebx, ebx
jne 0x451fdf
xor esi, esi
cmp esi, dword [0x45f020]
jae 0x451f77
lea esi, [esi]
mov dword [esp], 4
mov eax, dword [0x45f034]
mov ebx, esi
shl ebx, 4
inc esi
add ebx, eax
call fcn.00449c20
mov dword [ebx], eax
mov eax, dword [ebx]
mov dword [eax], 0
cmp esi, dword [0x45f020]
jb 0x451f4c
mov byte [0x45f038], 1
add esp, 0xc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.GLIBCXX_FORCE_NEW
mov eax, 8
mov edi, 0x1000
mov dword [0x45f004], eax
mov eax, pe_nt_image_headers32
mov esi, 0xa
mov dword [0x45f008], eax
mov eax, 8
mov dword [0x45f00c], eax
mov eax, 0xff0
mov dword [0x45f010], eax
mov dword [0x45f014], edi
mov dword [0x45f018], esi
call sub.msvcrt.dll_getenv
test eax, eax
setne al
mov byte [0x45f01c], al
jmp 0x451e99
mov eax, dword [0x45f014]
mov ebx, 1
shl eax, 3
mov dword [esp], eax
call fcn.00449c20
cmp dword [0x45f014], 1
mov dword [0x45f028], eax
jmp 0x452027
mov edx, dword [0x45f028]
lea eax, [ebx*8]
mov ecx, dword [0x45f028]
lea edx, [eax + edx]
add eax, ecx
mov dword [edx - 4], ebx
inc ebx
cmp dword [0x45f014], ebx
mov dword [edx - 8], eax
ja 0x452002
mov eax, dword [0x45f028]
xor ecx, ecx
mov dword [eax + ebx*8 - 8], ecx
mov eax, dword [0x45f028]
mov dword [eax + ebx*8 - 4], ebx
mov dword [esp], 0x45f02c
call fcn.0044fdc0
mov dword [esp], 0x45f024
mov edx, 0x45225c
mov dword [esp + 4], edx
call fcn.0044fcd0
mov dword [ebp - 0x10], 0
mov esi, dword [0x45f014]
xor eax, eax
inc esi
cmp eax, dword [0x45f020]
jae 0x451f77
lea edi, [esi*4]
lea esi, [esi]
lea edi, [edi]
mov dword [esp], edi
mov edx, dword [ebp - 0x10]
mov eax, dword [0x45f034]
shl edx, 4
lea ebx, [edx + eax]
call fcn.00449c20
mov dword [ebx], eax
mov dword [esp], edi
call fcn.00449c20
mov dword [ebx + 4], eax
mov dword [esp], edi
call fcn.00449c20
mov dword [ebx + 8], eax
mov dword [esp], 8
call fcn.00449c20
mov dword [ebx + 0xc], eax
mov dword [esp], eax
call fcn.0044fdc0
xor edx, edx
jmp 0x4520fa
mov eax, dword [ebx]
mov dword [eax + edx*4], 0
mov eax, dword [ebx + 4]
mov dword [eax + edx*4], 0
mov eax, dword [ebx + 8]
mov dword [eax + edx*4], 0
inc edx
cmp edx, esi
jb 0x4520dc
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x45f020]
jb 0x45208c
jmp 0x451f77
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x483dc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x56000]
push edi
or ebp, 0xffffffff
jmp 0x483de2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x483de9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x483dd8
mov eax, 1
add ebx, ebx
jne 0x483dfb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x483df0
jne 0x483e0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x483df0
xor ecx, ecx
sub eax, 3
jb 0x483e20
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x483e92
mov ebp, eax
add ebx, ebx
jne 0x483e2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x483e38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x483e5c
inc ecx
add ebx, ebx
jne 0x483e48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x483e3d
jne 0x483e59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x483e3d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x483e7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x483e6d
jmp 0x483dde
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x483e7c
add edi, ecx
jmp 0x483dde
pop esi
mov edi, esi
mov ecx, 0x229
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x483e9a
cmp byte [edi], 0x24
jne 0x483e9a
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 0x483e9f
lea edi, [esi + 0x81000]
mov eax, dword [edi]
or eax, eax
je 0x483f17
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9b2f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9b32c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x483ecc
mov ecx, edi
jns 0x483efb
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 + 0x9b330]
or eax, eax
je 0x483f11
mov dword [ebx], eax
add ebx, 4
jmp 0x483ee9
call dword [esi + 0x9b340]
mov ebp, dword [esi + 0x9b334]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x483f4b
sub esp, 0xffffff80
jmp 0x401710
Function at 0x402560
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41bd80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x423984]
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
push 0xa
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0
call fcn.00412f1d
mov byte [esp + 0x38], 1
call fcn.0041a998
mov edi, dword [esi + 0xa0]
mov ebp, dword [eax + 4]
test edi, edi
je 0x4025fb
mov eax, edi
mov edi, dword [edi]
lea ecx, [esp + 0x14]
mov eax, dword [eax + 8]
push ecx
push eax
mov ecx, ebp
call fcn.004016b0
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4025f3
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea ecx, [esp + 0xc]
push eax
call fcn.0041502f
push 0x4231f4
lea ecx, [esp + 0x10]
call fcn.00414ff3
test esi, esi
jne 0x4025d0
test edi, edi
jne 0x4025b4
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [edx - 8]
test eax, eax
jne 0x402615
lea eax, [esp + 0xc]
push 8
push eax
call fcn.00412de4
add esp, 8
mov ecx, dword [esp + 0xc]
push ecx
lea ecx, [esi + 0x5c]
call fcn.00417c43
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.00412f91
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.00414db1
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x403350
Capabilities:
Enumerate files on windows

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x244
lea eax, [esp + 0x140]
push esi
push edi
push eax
push ecx
push edx
call fcn.004058a0
lea edi, [esp + 0x154]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x104
ja 0x4033db
lea eax, [esp + 8]
lea ecx, [esp + 0x148]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4033db
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
push ebp
mov ebp, dword [esp + 0x25c]
test byte [esp + 0xc], 0x10
jne 0x4033c6
lea edx, [esp + 0x38]
mov ecx, ebp
push edx
call fcn.00413025
lea eax, [esp + 0xc]
push eax
push esi
call edi
cmp eax, 1
je 0x4033b3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
pop edi
pop esi
add esp, 0x244
ret 0xc

Function at 0x4042e0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x208
cmp eax, 2
push esi
mov esi, ecx
jne 0x404301
mov eax, 1
pop esi
add esp, 0x208
ret 8
lea eax, [esp + 4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x40432b
push eax
push 0xffffffffffffffff
mov ecx, esi
call fcn.004033f0
xor eax, eax
pop esi
add esp, 0x208
ret 8
lea ecx, [esp + 0x108]
lea edx, [esp + 4]
push ecx
push str.NEWGDI
push edx
call fcn.004058a0
add esp, 0xc
lea eax, [esp + 0x108]
mov ecx, esi
push eax
call fcn.00404430
neg eax
sbb eax, eax
pop esi
neg eax
add esp, 0x208
ret 8