joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51cc5c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x51cd34
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x587e14], 0
jne 0x51cd18
lea eax, [ebp - 4]
mov edx, 0x51cd4c
call fcn.005381a8
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00538554
mov esi, eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x51cd18
mov eax, ebx
call fcn.00536d68
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x51cd11
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
je 0x51ccfb
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x51cd5c
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x51ccfb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x587e14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51cd18
mov eax, dword [ebp - 0xc]
call fcn.00536d80
ret
mov ebx, dword [0x587e14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51cd3b
lea eax, [ebp - 4]
call fcn.00538110
ret
Function at 0x532878
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 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x5328b1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.005381f8
jmp 0x5328ba
mov eax, ebx
mov edx, esi
call fcn.00538164
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5328c4
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
test eax, eax
jle 0x5328e5
mov al, byte [esp]
jmp 0x5328e7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x536fac
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 0x536fdb
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.005381f8
jmp 0x536ff9
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00536f34
mov edi, eax
test ebx, ebx
je 0x536ff9
cmp dword [esi], 0
je 0x536ff9
dec ebx
jmp 0x536fe2
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x53732c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x57b57c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x5373c4
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x5373a4
xor eax, eax
push ebp
push 0x53739d
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 0x5373e0
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 0x5373a4
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x57b57c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x57b57c], ax
mov esp, ebp
pop ebp
ret

Function at 0x5380c4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00536d68
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x5880e1], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x53808c
push eax
push esi
push ebx
call sub.KERNEL32.DLL_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x5399dc
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 0x539b98
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x539a3d
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x539bb4
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x539aaf
xor eax, eax
push ebp
push 0x539aa8
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.00539834
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x539a91
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x539bd4
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 0x539aaf
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 0x539b90
cmp byte [ebp - 0xd], 0
jne 0x539af1
cmp byte [ebp - 0x12], 0
je 0x539b90
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x539b0a
dec ebx
cmp byte [ebx], 0x2e
je 0x539b19
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x539b09
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x539b90
inc ebx
cmp byte [ebp - 0x12], 0
je 0x539b46
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 0x539b90
cmp byte [ebp - 0xd], 0
je 0x539b90
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 0x539b90
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 0x539f84
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x53a06c
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x5884c4], 1
jae 0x53a05e
xor eax, eax
mov dword [0x5880d0], eax
xor eax, eax
mov dword [0x5880d8], eax
xor eax, eax
mov dword [0x5880dc], eax
mov byte [0x5880e2], 2
mov byte [0x5880e3], 2
mov byte [0x5880e4], 3
mov word [0x58848c], 0
mov word [0x58849c], 1
mov word [0x5884ac], 0xa
mov dword [0x5884b4], 0x80020004
mov dword [0x588480], 0x538e18
mov dword [0x588484], 0x538e10
mov dword [0x588488], 0x538e18
call fcn.005372fc
test al, al
je 0x53a01d
call fcn.0053732c
call fcn.005373f0
mov eax, 0x5880e8
mov edx, 0x53a078
call fcn.00534a7e
mov eax, 0x5882b4
mov edx, 0x53a078
call fcn.00534a7e
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x5880c8], eax
call fcn.00535a24
mov dword [0x5880c4], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x5880bc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53a073
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x53c244
call fcn.0053d744
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x53c260
test bl, 1
je 0x53c260
call fcn.00543e1c
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x53c444
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.0053d2e0
test byte [ebp + 0xd], 0xc0
jne 0x53c468
mov eax, dword [0x57c4b8]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x53c475
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x53c4a2
je 0x53c4b4
sub ecx, 0x100
je 0x53c4c2
sub ecx, 0x100
je 0x53c4c9
sub ecx, 0x100
je 0x53c4bb
jmp 0x53c4d0
sub ecx, 0x600
je 0x53c4c9
sub ecx, 0x100
je 0x53c4b4
jmp 0x53c4d0
mov edi, 1
jmp 0x53c4d5
mov edi, 2
jmp 0x53c4d5
mov edi, 4
jmp 0x53c4d5
mov edi, 5
jmp 0x53c4d5
mov edi, 3
test byte [ebp + 0xd], 1
je 0x53c4fc
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x57bf30]
test al, 0x80
je 0x53c4f5
mov ebx, 0x80
jmp 0x53c50e
mov ebx, 1
jmp 0x53c50e
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x53c50e
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x53c520
je 0x53c529
dec eax
je 0x53c532
jmp 0x53c53b
mov dword [ebp - 4], 0x80000000
jmp 0x53c54a
mov dword [ebp - 4], 0x40000000
jmp 0x53c54a
mov dword [ebp - 4], 0xc0000000
jmp 0x53c54a
push 1
call fcn.0053d6d8
pop ecx
mov ebx, eax
jmp 0x53c63a
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x53c566
sub eax, 0x10
je 0x53c56d
sub eax, 0x10
je 0x53c576
sub eax, 0x10
je 0x53c57f
jmp 0x53c57f
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x53c586
mov dword [ebp - 8], 1
jmp 0x53c586
mov dword [ebp - 8], 2
jmp 0x53c586
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x53c5f3
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x53c5e8
test byte [ebp + 0xd], 1
je 0x53c5e3
mov ebx, 0x50
jmp 0x53c5e8
mov ebx, 2
push ebx
call fcn.0053d6d8
pop ecx
mov ebx, eax
jmp 0x53c63a
mov edi, esi
push edi
call fcn.0053c3a8
pop ecx
test eax, eax
je 0x53c607
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x53c613
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.0053d400
add esp, 8
mov ebx, eax
inc eax
jne 0x53c63a
push 4
call fcn.0053d6d8
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
call fcn.0053d314
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x540b20
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push str._._n
lea ecx, [ebp - 0x200]
push ecx
call fcn.0053b004
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.0053b094
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.0053b094
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x57d0d9
lea ecx, [ebp - 0x200]
push ecx
call fcn.0053b004
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.0053b094
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.00541cbc
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x540c31
push esi
call fcn.0053b094
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.0053b094
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.0053aa80
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x540c08
xor eax, eax
jmp 0x540cb8
push esi
call fcn.0053b094
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.0053b094
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.0053af60
add esp, 0xc
jmp 0x540c71
mov edi, dword [ebx + 0x24]
push edi
call fcn.0053b094
pop ecx
push eax
push esi
call fcn.0053b094
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.0053b094
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.0053aaa0
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x540c71
xor eax, eax
jmp 0x540cb8
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.0053b004
add esp, 8
push 0x57d0db
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.0053b004
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.0053b004
add esp, 8
push 0x57d0dd
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.0053b004
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x543db4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x543e16
call fcn.00543d64
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0053b094
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.0053b094
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x543e94
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x57d76c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x543f6e
cmp dword [0x57d768], 0
jne 0x543f6e
cmp dword [0x57d94c], 0
je 0x543f28
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00543c64
add esp, 8
mov ebx, eax
test eax, eax
jne 0x543f0e
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00543c64
add esp, 8
mov ebx, eax
test eax, eax
jne 0x543f0e
lea ebx, [ebp - 0x84]
jmp 0x543f0f
inc ebx
call fcn.00543e50
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x543fa9
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x57d770
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0053b094
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x57d773
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x543fa9
cmp dword [0x57d768], 0
je 0x543f88
cmp dword [0x57d768], 0xffffffff
je 0x543fa9
push esi
call dword [0x57d768]
pop ecx
mov eax, dword [0x57d76c]
test eax, eax
je 0x543fa9
cmp dword [0x57d76c], 0xffffffff
je 0x543fa9
cmp byte [eax], 0
je 0x543fa9
push esi
push eax
call fcn.00543db4
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x54b960
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x54b98e
mov eax, ebx
call fcn.0054c404
cmp dword [ebx + 0x3c], 0
je 0x54b987
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x54b9ff
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x54b9f1
cmp dword [ebx + 8], 0
je 0x54b9b0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x54b9c2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x54b9f1
cmp dword [ebx + 8], 0
je 0x54b9a3
cmp eax, 3
je 0x54b9d5
dec eax
jne 0x54b9a3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x54b9a3
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x54b9a3
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x54ba1d
cmp dword [ebx + 0x10], 0xcc
je 0x54ba1d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0054ba28
pop ebx
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x402fc9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x402fd8
pop dword [ebp - 0x24]
mov eax, 0x3557d469
sub eax, 0x3517a491
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x51d187c6
add dword [ebp - 0x34], 0xfc80bd85
mov dword [ebp - 0x30], 0xb2890bcc
add dword [ebp - 0x30], 0x7faa4079
mov dword [ebp - 0x2c], 0x185531aa
sub dword [ebp - 0x2c], 0xcc08ed7c
mov dword [ebp - 0x28], 0x35d4508d
sub dword [ebp - 0x28], 0x35d4508d
lea eax, [ebp - 0x34]
push eax
mov eax, 0xeccc0777
sub eax, 0xec8b3723
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x9552c56e
sub dword [ebp - 0x34], 0x20e05c18
mov dword [ebp - 0x30], 0x724d53b8
add dword [ebp - 0x30], 0xcf1f0dbd
mov dword [ebp - 0x2c], 0x57483ef4
add dword [ebp - 0x2c], 0xc272d78
mov dword [ebp - 0x28], 0x8c7ed8fd
add dword [ebp - 0x28], 0x73812703
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3709b
push 0
call eax
mov ecx, 0xd670f30f
add ecx, 0x298f4b03
xor esi, esi
add esi, eax
mov edx, 0xc73989a5
sub edx, 0xc6f7d9a5
add edx, dword [ebp - 0x24]
mov ebx, 0xf059ec5
xor dword [ebp - 4], eax
mov edi, dword [edx]
xor dword [ebp - 0x14], esi
xor edi, ebx
xor dword [ebp - 8], 0xb6eb9d67
mov dword [esi], edi
xor dword [ebp - 0x10], eax
add esi, 4
add edx, 0x316fb1f6
sub edx, 0x316fb1f2
loop 0x4030f1
add eax, 0x91a6ee6a
add eax, 0x6e59fcb1
mov ebx, eax
add eax, 5
mov ecx, 0x1a27e3f9
add ecx, 0xe6181c07
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x412281
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x412290
pop dword [ebp - 0x4c]
mov eax, 0x72b92d9b
add eax, 0x8d87f4f5
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x39ae6
push 0
mov eax, 0xab3e0e34
add eax, 0x550481f8
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x4a8a
mov esi, eax
mov edx, 0x3eaa8e43
sub edx, 0x3e672043
add edx, dword [ebp - 0x4c]
mov edi, 0x38865043
sub edi, 0x56191aef
add dword [ebp - 0x2c], 0xeebc9b3b
mov ebx, dword [edx]
xor dword [ebp - 0x18], 0x1380bb6a
sub ebx, edi
xor dword [ebp - 0x24], 0x5030587a
mov dword [esi], ebx
add esi, 4
add edx, 4
loop 0x4122e9
add eax, 0x11cfb
mov ebx, eax
add eax, 0xfa5ca8c7
add eax, 0x5a3573e
mov ecx, 0x672feceb
sub ecx, 0x66efeceb
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x105e0fb0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x105e119d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x361000]
push edi
or ebp, 0xffffffff
jmp 0x105e0fda
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x105e0fe1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x105e0fd0
mov eax, 1
add ebx, ebx
jne 0x105e0ff3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x105e1004
jne 0x105e1023
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x105e1023
dec eax
add ebx, ebx
jne 0x105e1010
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x105e0fe8
add ebx, ebx
jne 0x105e101f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x105e1075
xor ecx, ecx
sub eax, 3
jb 0x105e103b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x105e10aa
sar eax, 1
mov ebp, eax
jmp 0x105e1046
add ebx, ebx
jne 0x105e1046
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x105e1014
inc ecx
add ebx, ebx
jne 0x105e1054
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x105e1014
add ebx, ebx
jne 0x105e1061
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x105e1056
jne 0x105e1072
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x105e1056
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x105e1094
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x105e1086
jmp 0x105e0fd6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x105e1094
add edi, ecx
jmp 0x105e0fd6
pop esi
mov edi, esi
mov ecx, 0x6ea2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x105e10b2
cmp byte [edi], 0x28
jne 0x105e10b2
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 0x105e10b7
lea edi, [esi + 0x5d5000]
mov eax, dword [edi]
or eax, eax
je 0x105e112f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5ee074]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5ee1a4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x105e10e4
mov ecx, edi
jns 0x105e1113
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 + 0x5ee1a8]
or eax, eax
je 0x105e1129
mov dword [ebx], eax
add ebx, 4
jmp 0x105e1101
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x105e1160
cmp al, 0xef
ja 0x105e1153
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x105e1135
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x105e1142
mov ebp, dword [esi + 0x5ee1ac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x105e1194
sub esp, 0xffffff80
jmp 0x10105c72
Function at 0x10204ac7
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 0x10204b09
call fcn.1020af15
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x10204b09
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x10204b00
xor eax, eax
jmp 0x10204b11
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.10204b17
pop edi
pop esi
pop ebx
ret 4