joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49cb10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x49cc38
call fcn.004b2660
mov dword [ebp - 0x10], eax
push 0xf0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x49cbcb
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x49cba2
push str.DLGINIT_resource_was_found__but_could_not_be_loaded._n
push 0
mov ecx, 0x5856d8
call fcn.00459cf0
push eax
push 0x16f
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
lea ecx, [ebp - 0x20]
call fcn.00401a00
push eax
call fcn.00481180
add esp, 0x10
xor eax, eax
jmp 0x49cca6
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x49cbc9
push 0x175
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
call fcn.004b8810
test eax, eax
je 0x49cbc9
int3
jmp 0x49cc38
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x49cbee
push 0x17d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
call fcn.004b8810
test eax, eax
je 0x49cbee
int3
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xffffffff
je 0x49cc38
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0
je 0x49cc2d
push str.Dialog_has_OLE_controls__but_no_matching_DLGINIT_resource._n
push 0
mov ecx, 0x5856d8
call fcn.00459cf0
push eax
push 0x183
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
lea ecx, [ebp - 0x28]
call fcn.00401a00
push eax
call fcn.00481180
add esp, 0x10
jmp 0x49cc38
mov edx, dword [ebp - 0x18]
add edx, 4
mov dword [ebp - 0x18], edx
jmp 0x49cbee
mov dword [ebp - 8], 1
cmp dword [ebp - 4], 0
je 0x49cc61
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x49cc80
cmp dword [ebp - 0xc], 0
je 0x49cc80
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004a3a20
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x4c], 0
je 0x49cca3
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x4c]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x4c]
mov edx, dword [eax]
mov eax, dword [edx + 0xa8]
call eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4bcf40
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52bac8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x581890]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00487f30
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CInternetSession.0
mov ecx, dword [ebp + 0x1c]
and ecx, 0x10000000
je 0x4bcf9f
push 0x1c2
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.004b8810
test eax, eax
je 0x4bcf9f
int3
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], eax
cmp dword [ebp + 8], 0
jne 0x4bcfca
call fcn.004b26c0
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 8], 0
jne 0x4bd003
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
push ecx
call fcn.004bfd30
jmp 0x4bd018
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
mov ecx, 0x585688
call fcn.004bd040
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4bd880
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b323
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x581890]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004d2250
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CInternetFile.0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
mov dword [ecx + 0x1c], edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.0044e4a0
mov byte [ebp - 4], 1
push 0xffffffffffffffff
mov eax, dword [ebp + 0x14]
push eax
call fcn.004c2810
test eax, eax
jne 0x4bd8fb
push 0x306
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.004b8810
test eax, eax
je 0x4bd8fb
int3
push 0xffffffffffffffff
mov edx, dword [ebp + 0x10]
push edx
call fcn.004c2810
test eax, eax
jne 0x4bd91e
push 0x307
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.004b8810
test eax, eax
je 0x4bd91e
int3
cmp dword [ebp + 8], 0
jne 0x4bd938
push 0x308
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.004b8810
test eax, eax
je 0x4bd938
int3
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00410130
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00410130
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x14], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x1c]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4bda00
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b35b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x581890]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.004d2250
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov dword [eax], vtable.CInternetFile.0
mov ecx, dword [ebp - 0x14]
add ecx, 0x24
call fcn.0044e4a0
mov byte [ebp - 4], 1
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004c2810
test eax, eax
jne 0x4bda74
push 0x31d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.004b8810
test eax, eax
je 0x4bda74
int3
cmp dword [ebp + 0x10], 0
jne 0x4bda8e
push 0x31e
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.004b8810
test eax, eax
je 0x4bda8e
int3
push 0x31f
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004bc080
cmp dword [ebp + 8], 0
jne 0x4bdabb
push 0x320
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.004b8810
test eax, eax
je 0x4bdabb
int3
mov ecx, dword [ebp + 0x10]
call fcn.004a66c0
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x585688
call fcn.004bd040
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.00410130
mov ecx, dword [ebp + 0x10]
call fcn.004c0120
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.004c00e0
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x24
call fcn.00421ab0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401640
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x3c], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x30], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x38], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x28], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4bf000
Capabilities:
Connect to http server

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b443
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x581890]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x1c]
push eax
movzx ecx, word [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004bed20
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx], vtable.CHttpConnection.0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0044e4a0
mov byte [ebp - 4], 1
cmp dword [ebp + 8], 0
jne 0x4bf07a
push 0x7a3
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.004b8810
test eax, eax
je 0x4bf07a
int3
push 0x54ee34
mov ecx, dword [ebp + 8]
call fcn.004bbf90
test eax, eax
jne 0x4bf09f
push 0x7a4
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.004b8810
test eax, eax
je 0x4bf09f
int3
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004c2810
test eax, eax
jne 0x4bf0c2
push 0x7a5
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.004b8810
test eax, eax
je 0x4bf0c2
int3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
push 0
push 3
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
movzx ecx, word [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.004c0120
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 4], 0
jne 0x4bf10c
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
call fcn.004bfd30
jmp 0x4bf124
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
mov ecx, 0x585688
call fcn.004bd040
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4e11a0
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x4e11c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x4e11ca
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x4e11e1
mov edx, dword [ebp - 4]
push edx
call fcn.004eddc0
add esp, 4
or eax, 0xffffffff
jmp 0x4e11e3
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4e3f50
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4e3f6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x4e3f76
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x4e3f8d
mov ecx, dword [ebp - 4]
push ecx
call fcn.004eddc0
add esp, 4
or eax, 0xffffffff
jmp 0x4e3f8f
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4eddb0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x581890]
jne 0x4eddba
repz ret
jmp fcn.0050ed10
Function at 0x50c560
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
xor eax, eax
cmp dword [ebp + 8], 0
setne al
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x50c598
push str._path___NULL_
push 0
push 0x50
push str.f:dd_vctoolscrt_bld_self_x86crt_src_access.c
push 2
call fcn.004ddbd0
add esp, 0x14
cmp eax, 1
jne 0x50c598
int3
cmp dword [ebp - 8], 0
jne 0x50c5d9
call fcn.004edea0
mov dword [eax], 0
call fcn.004ede70
mov dword [eax], 0x16
push 0
push 0x50
push str.f:dd_vctoolscrt_bld_self_x86crt_src_access.c
push str._access_s
push str._path___NULL_
call fcn.004de490
add esp, 0x14
mov eax, 0x16
jmp 0x50c6b1
mov edx, dword [ebp + 0xc]
and edx, 0xfffffff9
neg edx
sbb edx, edx
add edx, 1
mov dword [ebp - 0xc], edx
jne 0x50c609
push str.__amode___6____0_
push 0
push 0x51
push str.f:dd_vctoolscrt_bld_self_x86crt_src_access.c
push 2
call fcn.004ddbd0
add esp, 0x14
cmp eax, 1
jne 0x50c609
int3
cmp dword [ebp - 0xc], 0
jne 0x50c647
call fcn.004edea0
mov dword [eax], 0
call fcn.004ede70
mov dword [eax], 0x16
push 0
push 0x51
push str.f:dd_vctoolscrt_bld_self_x86crt_src_access.c
push str._access_s
push str.__amode___6____0_
call fcn.004de490
add esp, 0x14
mov eax, 0x16
jmp 0x50c6b1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x50c672
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004eddc0
add esp, 4
call fcn.004ede70
mov eax, dword [eax]
jmp 0x50c6b1
mov edx, dword [ebp - 4]
and edx, 0x10
je 0x50c67e
xor eax, eax
jmp 0x50c6b1
mov eax, dword [ebp - 4]
and eax, 1
je 0x50c6af
mov ecx, dword [ebp + 0xc]
and ecx, 2
je 0x50c6af
call fcn.004edea0
mov dword [eax], 5
call fcn.004ede70
mov dword [eax], 0xd
call fcn.004ede70
mov eax, dword [eax]
jmp 0x50c6b1
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x6ca45bc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea esi, [ebp + 0xc]
sub esp, 0x10
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], 0x6ca49444
call sym._fwrite
mov eax, dword [ebp + 8]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll_vfprintf]
call sym._abort
lea esi, [esi]
Function at 0x1000c1d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ecx + 4]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0xc]
cmp edi, 6
jae 0x1000c237
mov edx, ecx
mov ebx, ecx
mov ecx, 6
sub edx, esi
sub ecx, edi
cmp edx, ecx
jbe 0x1000c1fe
lea ebx, [esi + 6]
mov ecx, ebx
xor edx, edx
sub ecx, esi
cmp ebx, esi
sbb ebx, ebx
not ebx
and ebx, ecx
je 0x1000c234
mov edi, edi
mov ecx, eax
inc edx
shl ecx, 6
inc edi
xor eax, ecx
lea ecx, [eax*8]
not ecx
xor eax, ecx
mov dword [ebp + 8], eax
mov al, byte [esi]
inc esi
xor byte [ebp + 8], al
mov eax, dword [ebp + 8]
cmp edx, ebx
jne 0x1000c210
mov ecx, dword [ebp + 0xc]
cmp edi, 9
jae 0x1000c28a
mov edx, ecx
mov ebx, ecx
mov ecx, 9
sub edx, esi
sub ecx, edi
cmp edx, ecx
jbe 0x1000c254
mov ebx, esi
sub ebx, edi
add ebx, 9
mov ecx, ebx
xor edx, edx
sub ecx, esi
cmp ebx, esi
sbb ebx, ebx
not ebx
and ebx, ecx
je 0x1000c28a
lea ecx, [eax*4]
inc edx
xor eax, ecx
inc edi
lea ecx, [eax*8]
not ecx
xor eax, ecx
mov dword [ebp + 8], eax
mov al, byte [esi]
inc esi
xor byte [ebp + 8], al
mov eax, dword [ebp + 8]
cmp edx, ebx
jne 0x1000c264
mov ecx, dword [ebp + 0xc]
xor edx, edx
sub ecx, esi
cmp dword [ebp + 0xc], esi
sbb ebx, ebx
not ebx
and ebx, ecx
je 0x1000c2bf
lea esp, [esp]
lea ecx, [eax*8]
inc edx
not ecx
lea esi, [esi + 1]
xor eax, ecx
mov dword [ebp + 8], eax
mov al, byte [esi - 1]
xor byte [ebp + 8], al
mov eax, dword [ebp + 8]
cmp edx, ebx
jne 0x1000c2a0
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], edi
pop edi
pop esi
mov dword [ecx], eax
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1002e010
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov ebx, ecx
mov edi, dword [edx + 0x10]
jb 0x1002e026
mov edx, dword [edx]
mov esi, 0x811c9dc5
inc edi
je 0x1002e04e
mov edi, edi
mov cl, byte [edx]
lea eax, [ecx - 0x61]
cmp al, 0x19
movsx eax, cl
ja 0x1002e03f
sub eax, 0x20
movsx eax, al
inc edx
xor eax, esi
imul esi, eax, 0x1000193
dec edi
jne 0x1002e030
pop edi
mov dword [ebx], esi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret 8
Function at 0x414220
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x41423a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414241
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414230
mov eax, 1
add ebx, ebx
jne 0x414253
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414248
jne 0x414264
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414248
xor ecx, ecx
sub eax, 3
jb 0x414278
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4142ea
mov ebp, eax
add ebx, ebx
jne 0x414283
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414290
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4142b4
inc ecx
add ebx, ebx
jne 0x4142a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414295
jne 0x4142b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414295
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4142d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4142c5
jmp 0x414236
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4142d4
add edi, ecx
jmp 0x414236
pop esi
mov edi, esi
mov ecx, 0x28
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4142f2
cmp byte [edi], 0
jne 0x4142f2
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 0x4142f7
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x414366
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14060]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x140ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414324
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x140f0]
or eax, eax
je 0x414360
mov dword [ebx], eax
add ebx, 4
jmp 0x414341
call dword [esi + 0x14100]
mov ebp, dword [esi + 0x140f4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x41439a
sub esp, 0xffffff80
jmp 0x401b60
Function at 0x2fd3700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.02fd378f
jae 0x2fd370e
xor ecx, ecx
call fcn.02fd378f
jae 0x2fd373d
xor eax, eax
call fcn.02fd378f
jae 0x2fd374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.02fd378f
adc al, al
jae 0x2fd372f
jne 0x2fd3779
stosb byte es:[edi], al
jmp 0x2fd3711
call fcn.02fd379b
sub ecx, ebx
jne 0x2fd3756
call fcn.02fd3799
jmp 0x2fd3775
lodsb al, byte [esi]
shr eax, 1
je 0x2fd3783
adc ecx, ecx
jmp 0x2fd3772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02fd3799
cmp eax, 0x7d00
jae 0x2fd3772
cmp ah, 5
jae 0x2fd3773
cmp eax, 0x7f
ja 0x2fd3774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2fd3711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x1f93700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.01f9378f
jae 0x1f9370e
xor ecx, ecx
call fcn.01f9378f
jae 0x1f9373d
xor eax, eax
call fcn.01f9378f
jae 0x1f9374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.01f9378f
adc al, al
jae 0x1f9372f
jne 0x1f93779
stosb byte es:[edi], al
jmp 0x1f93711
call fcn.01f9379b
sub ecx, ebx
jne 0x1f93756
call fcn.01f93799
jmp 0x1f93775
lodsb al, byte [esi]
shr eax, 1
je 0x1f93783
adc ecx, ecx
jmp 0x1f93772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.01f93799
cmp eax, 0x7d00
jae 0x1f93772
cmp ah, 5
jae 0x1f93773
cmp eax, 0x7f
ja 0x1f93774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1f93711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

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 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x403e59
pop dword [ebp - 0x28]
mov eax, 0x403e59
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x4fe9b2a5
add dword [ebp - 0x38], 0xfe6892a6
mov dword [ebp - 0x34], 0x9dbe4a7b
add dword [ebp - 0x34], 0x947501ca
mov dword [ebp - 0x30], 0x5e1ab584
sub dword [ebp - 0x30], 0x11ce7156
mov dword [ebp - 0x2c], 0x1b01372c
add dword [ebp - 0x2c], 0xe4fec8d4
lea eax, [ebp - 0x38]
push eax
mov eax, 0xae8e639
sub eax, 0xaa865ad
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x1f214bf0
add dword [ebp - 0x38], 0x55511d66
mov dword [ebp - 0x34], 0x194d7e14
sub dword [ebp - 0x34], 0xd7e11c9f
mov dword [ebp - 0x30], 0x19a09244
sub dword [ebp - 0x30], 0xb63125d8
mov dword [ebp - 0x2c], 0xba2ee50b
sub dword [ebp - 0x2c], 0xba2ee50b
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3969d
push 0
call eax
mov ecx, 0xfe79884f
sub ecx, 0xfe7935a5
xor edx, edx
add edx, eax
mov ebx, 0x411000
add ebx, dword [ebp - 0x28]
mov esi, 0xb9515ef3
sub esi, 0xe42dbfac
xor dword [ebp - 0xc], edx
mov edi, dword [ebx]
xor edi, esi
sub dword [ebp - 0x20], 0x9533359
mov dword [edx], edi
sub dword [ebp - 0x14], 0x74c6ece
add edx, 4
add ebx, 4
loop 0x403f6d
add eax, 0x13d7b
xor ebx, ebx
add ebx, eax
add eax, 0x8263cf9b
add eax, 0x7d9c306a
mov ecx, 0x7c5e75f5
add ecx, 0x83e18a0b
add ecx, dword [ebp - 0x28]
call ebx
leave
ret