joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418480
Capabilities:
Accept command line arguments

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
xor ebp, ebp
push edi
test ebx, ebx
je 0x4183c6
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x4183f4
push str.CommandLineToArgvW
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x418451
mov ebx, 0x47509c
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call esi
mov edi, eax
xor esi, esi
cmp dword [ebx], ebp
jle 0x418451
xor ebp, ebp
lea esp, [esp]
mov eax, dword [edi + esi*4]
push 0x4657c0
push eax
call fcn.00433238
add esp, 8
test eax, eax
je 0x418431
mov ecx, dword [edi + esi*4]
push 0x4657a8
push ecx
call fcn.00433238
add esp, 8
test eax, eax
je 0x418431
inc esi
cmp esi, dword [ebx]
jl 0x418400
jmp 0x418451
mov edx, dword [ebx]
dec edx
cmp esi, edx
mov ebp, 1
jge 0x41844f
lea ecx, [ecx]
mov eax, dword [edi + esi*4 + 4]
mov dword [edi + esi*4], eax
mov ecx, dword [ebx]
inc esi
dec ecx
cmp esi, ecx
jl 0x418440
dec dword [ebx]
mov edx, dword [esp + 0x14]
push ebp
push edx
call fcn.00418020
add esp, 8
test eax, eax
je 0x418468
mov ebp, 1
pop edi
xor eax, eax
pop esi
test ebp, ebp
pop ebp
setne al
pop ebx
ret
push ebx
mov ebx, dword [esp + 0xc]
push ebp
xor ebp, ebp
push edi
test ebx, ebx
je 0x418514
mov edi, dword [esp + 0x18]
test edi, edi
je 0x418514
push esi
xor esi, esi
cmp dword [ebx], esi
jle 0x4184f1
mov eax, dword [edi + esi*4]
push str._accepteula
push eax
call fcn.00430d4d
add esp, 8
test eax, eax
je 0x4184d1
mov eax, dword [edi + esi*4]
push 0x4657f8
push eax
call fcn.00430d4d
add esp, 8
test eax, eax
je 0x4184d1
inc esi
cmp esi, dword [ebx]
jl 0x4184a0
jmp 0x4184f1
mov eax, dword [ebx]
dec eax
cmp esi, eax
mov ebp, 1
jge 0x4184ef
lea ecx, [ecx]
mov ecx, dword [edi + esi*4 + 4]
mov dword [edi + esi*4], ecx
mov edx, dword [ebx]
inc esi
dec edx
cmp esi, edx
jl 0x4184e0
dec dword [ebx]
mov eax, dword [esp + 0x14]
push ebp
push eax
call fcn.00418020
add esp, 8
pop esi
test eax, eax
je 0x418509
mov ebp, 1
xor eax, eax
pop edi
test ebp, ebp
pop ebp
setne al
pop ebx
ret
pop edi
pop ebp
pop ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
jmp 0x4183b0
Function at 0x4197b0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0x30
mov eax, dword [0x473354]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push esi
push edi
mov edi, dword [esp + 0x50]
push 0xf0000000
xor eax, eax
push 0x18
push eax
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
call ebp
mov esi, eax
test esi, esi
jne 0x41980a
push 0xf0000000
push 1
push eax
push eax
lea ecx, [esp + 0x24]
push ecx
call ebp
mov esi, eax
test esi, esi
je 0x4198fd
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4198f0
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
push 0
push edx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x4198e5
xor eax, eax
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x29], eax
mov dword [esp + 0x2d], eax
mov dword [esp + 0x31], eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov word [esp + 0x45], ax
mov byte [esp + 0x47], al
mov eax, dword [esp + 0x1c]
push 2
push eax
mov byte [esp + 0x30], 0
mov dword [esp + 0x2c], 0x20
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x4198e5
mov esi, dword [esp + 0x18]
mov ecx, dword [edi]
lea esi, [esi + esi + 2]
push esi
push ecx
call fcn.0042f567
push esi
push 0
push eax
mov dword [edi], eax
call fcn.0042f790
xor esi, esi
add esp, 0x14
cmp dword [esp + 0x18], esi
jbe 0x4198e0
lea ecx, [ecx]
movzx edx, byte [esp + esi + 0x1c]
mov eax, dword [edi]
push edx
lea ecx, [eax + esi*2]
push str._02x
push ecx
call fcn.00432395
inc esi
add esp, 0xc
cmp esi, dword [esp + 0x18]
jb 0x4198c0
mov esi, 1
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0x14]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [esp + 0x3c]
xor eax, eax
pop edi
test esi, esi
pop esi
pop ebp
setne al
pop ebx
xor ecx, esp
call fcn.00430430
add esp, 0x30
ret
Function at 0x421f10
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x8004
call fcn.00431fe0
mov eax, dword [0x473354]
xor eax, esp
mov dword [esp + 0x8000], eax
mov eax, dword [esp + 0x800c]
push ebx
mov ebx, dword [esp + 0x8018]
push ebp
mov ebp, dword [esp + 0x8018]
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x8018]
test esi, esi
je 0x421f64
cmp dword [esi + 4], 0
jne 0x421f5f
mov eax, dword [esi]
push eax
call fcn.0042e110
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x421f66
xor esi, esi
push esi
push 0x7fff
lea ecx, [esp + 0x18]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
test eax, eax
jne 0x421f80
xor al, al
jmp 0x421fad
mov esi, dword [ebx]
test esi, esi
je 0x421f9c
cmp dword [esi + 4], 0
jne 0x421f97
mov edx, dword [esi]
push edx
call fcn.0042e110
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x421f9e
xor esi, esi
push esi
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
mov al, 1
mov ecx, dword [esp + 0x8010]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00430430
add esp, 0x8004
ret
Function at 0x428290
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x45ef28
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x473354]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
push 1
call fcn.0042f396
mov dword [esp + 0x10], eax
add esp, 4
mov byte [eax], 0
mov ecx, dword [0x4746a8]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [esp + 0x30]
or eax, 0x20019
push eax
mov eax, dword [esp + 0x30]
push 0
push edx
push eax
call fcn.00409f10
add esp, 0x14
test eax, eax
je 0x428321
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0042f4d9
mov eax, dword [esp + 0x38]
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push 0
push 0
push eax
push ecx
call fcn.00416ab0
add esp, 0x14
test eax, eax
jne 0x42838f
mov ebx, dword [esp + 0x38]
test bl, bl
jne 0x428372
push 0
push SysReAllocString
push 0x460cb4
lea ecx, [esp + 0x18]
call fcn.00401250
push 0
push SysReAllocString
push str.AutorunsDisabled
lea ecx, [esp + 0x18]
call fcn.00401250
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0xc]
push ebx
push edx
push eax
push eax
mov eax, dword [esp + 0x34]
push eax
call fcn.00428140
add esp, 0x14
mov esi, eax
jmp 0x428393
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
push edx
call fcn.0042f4d9
mov eax, esi
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x430430
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x473354]
jne 0x43043a
repz ret
jmp fcn.00437afc

Function at 0x44799a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00437436
and dword [ebp - 4], 0
cmp dword [0x475b04], 0
mov ebx, eax
jne 0x447a4b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x447afc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x447afc
push eax
call fcn.004373c4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x475b04], eax
call esi
push eax
call fcn.004373c4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x475b08], eax
call esi
push eax
call fcn.004373c4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x475b0c], eax
call esi
push eax
call fcn.004373c4
pop ecx
mov dword [0x475b14], eax
test eax, eax
je 0x447a4b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004373c4
pop ecx
mov dword [0x475b10], eax
mov eax, dword [0x475b10]
cmp eax, ebx
je 0x447aa3
cmp dword [0x475b14], ebx
je 0x447aa3
push eax
call fcn.0043743f
push dword [0x475b14]
mov esi, eax
call fcn.0043743f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x447aa3
test edi, edi
je 0x447aa3
call esi
test eax, eax
je 0x447a9a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x447a9a
test byte [ebp - 0xc], 1
jne 0x447aa3
or dword [ebp + 0x10], 0x200000
jmp 0x447adc
mov eax, dword [0x475b08]
cmp eax, ebx
je 0x447adc
push eax
call fcn.0043743f
pop ecx
test eax, eax
je 0x447adc
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x447adc
mov eax, dword [0x475b0c]
cmp eax, ebx
je 0x447adc
push eax
call fcn.0043743f
pop ecx
test eax, eax
je 0x447adc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x475b04]
call fcn.0043743f
pop ecx
test eax, eax
je 0x447afc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x447afe
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6d501fda
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x6d501fe9
pop dword [ebp - 0x44]
mov eax, 0x7fec9741
sub eax, 0x129c7758
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x94d7e539
add dword [ebp - 0x54], 0xb97a6012
mov dword [ebp - 0x50], 0xaf95101d
sub dword [ebp - 0x50], 0x7d61c3d8
mov dword [ebp - 0x4c], 0xd00eb7d1
add dword [ebp - 0x4c], 0x7c3d8c5d
mov dword [ebp - 0x48], 0xf0a22d34
sub dword [ebp - 0x48], 0xf0a22d34
lea eax, [ebp - 0x54]
push eax
mov eax, 0x5cff334a
sub eax, 0xefadb2fa
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x5d5bc935
sub dword [ebp - 0x54], 0xe8e95fdf
mov dword [ebp - 0x50], 0x3804dedb
add dword [ebp - 0x50], 0x967829a
mov dword [ebp - 0x4c], 0x83a8a2b2
sub dword [ebp - 0x4c], 0x20393646
mov dword [ebp - 0x48], 0xc6b3a62c
sub dword [ebp - 0x48], 0xc6b3a62c
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x463dfa94
sub eax, 0xd8ec7a48
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3ad74
push 0
call eax
mov ecx, 0x464c
mov esi, eax
mov edi, 0xceb75c26
sub edi, 0x6164f426
add edi, dword [ebp - 0x44]
mov edx, 0xd316da6b
add edx, 0xd187c313
xor dword [ebp - 0x14], 0xef83c387
mov ebx, dword [edi]
xor dword [ebp - 8], 0x4bbbd308
sub ebx, edx
xor dword [ebp - 0x2c], 0xfaa94368
mov dword [esi], ebx
add esi, 4
add edi, 0x74d02a3b
add edi, 0x8b2fd5c9
loop 0x6d502105
add eax, 0x10c03
xor ebx, ebx
add ebx, eax
add eax, 0x4918084d
add eax, 0xb6e7f7b8
mov ecx, 0xb5458c43
add ecx, 0xb80a73bd
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x6d50378d
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x6d520030]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x6c]
push ecx
xor ebx, ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xa8]
push ebx
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
call edi
test eax, eax
jne 0x6d503830
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.6d501fda
pop ecx
pop ecx
test eax, eax
je 0x6d503819
test ebx, ebx
je 0x6d50380d
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.6d501fda
pop ecx
pop ecx
test eax, eax
jle 0x6d503819
push ebx
call fcn.6d505895
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.6d505874
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x6d5037da
xor edi, edi
cmp ebx, edi
jne 0x6d503834
xor eax, eax
jmp 0x6d5038a0
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push ebx
test eax, eax
je 0x6d503863
call fcn.6d505895
pop ecx
cmp dword [ebp - 0x70], edi
je 0x6d503830
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x6d503830
call fcn.6d505895
pop ecx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push str.JavaHome
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x6d503853
cmp dword [ebp - 0x70], edi
je 0x6d503896
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.6d505874
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d508259
add ebp, 0x9c
leave
ret
Function at 0x6d50555d
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x294
mov eax, dword [0x6d520030]
xor eax, ebp
mov dword [ebp + 0x210], eax
mov eax, dword [ebp + 0x21c]
push ebx
push esi
push edi
push 0x10
pop edi
mov dword [ebp - 0x78], eax
call fcn.6d5053ca
push 8
mov esi, eax
call fcn.6d50582d
mov ebx, eax
pop ecx
lea eax, [ebp + 0xd0]
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x80], ebx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x6d5055c8
mov dword [ebx], eax
lea eax, [ebp + 0xfc]
mov dword [ebx + 4], eax
mov edi, dword [ebx + 4]
test edi, edi
je 0x6d5055cf
and dword [ebx + 4], 0
jmp 0x6d5055e4
xor eax, eax
jmp 0x6d5056af
lea eax, [ebp - 0x70]
push eax
push dword [ebx]
call dword [sym.imp.kernel32.dll_FindNextFileA]
neg eax
sbb edi, edi
lea eax, [ebp - 0x44]
and edi, eax
test edi, edi
je 0x6d505695
push edi
call fcn.6d507a10
pop ecx
cmp eax, 4
jl 0x6d5055bb
add eax, edi
cmp byte [eax - 4], 0x2e
jne 0x6d5055bb
add eax, 0xfffffffd
push 0x6d51982c
push eax
mov dword [ebp - 0x74], eax
call fcn.6d508270
pop ecx
pop ecx
test eax, eax
je 0x6d50562a
push 0x6d519828
push dword [ebp - 0x74]
call fcn.6d508270
pop ecx
pop ecx
test eax, eax
jne 0x6d5055bb
push 0x3b
push edi
call fcn.6d5093f0
pop ecx
pop ecx
test eax, eax
jne 0x6d5055bb
push dword [ebp - 0x78]
call fcn.6d507a10
push edi
mov ebx, eax
call fcn.6d507a10
mov dword [ebp - 0x74], eax
add eax, ebx
push eax
call fcn.6d50582d
lea ecx, [ebx - 1]
push ecx
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
push eax
call fcn.6d501fda
mov eax, dword [ebp - 0x74]
inc eax
push eax
push edi
mov edi, dword [ebp - 0x7c]
lea eax, [edi + ebx - 1]
push eax
call fcn.6d501fda
mov ecx, dword [esi + 4]
add esp, 0x24
inc ecx
call fcn.6d505420
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0x80]
mov dword [ecx + eax*4], edi
inc dword [esi + 4]
jmp 0x6d5055bb
push dword [ebx]
call dword [sym.imp.kernel32.dll_FindClose]
push dword [ebx + 4]
call fcn.6d505895
push ebx
call fcn.6d505895
pop ecx
pop ecx
mov eax, esi
mov ecx, dword [ebp + 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d508259
add ebp, 0x214
leave
ret

Function at 0x6d508259
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d520030]
jne 0x6d508263
repz ret
jmp fcn.6d50e721
Function at 0x45ece0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4e000]
push edi
or ebp, 0xffffffff
jmp 0x45ed02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45ed09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45ecf8
mov eax, 1
add ebx, ebx
jne 0x45ed1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45ed2c
jne 0x45ed4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45ed4b
dec eax
add ebx, ebx
jne 0x45ed38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x45ed10
add ebx, ebx
jne 0x45ed47
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x45ed9d
xor ecx, ecx
sub eax, 3
jb 0x45ed63
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45edd2
sar eax, 1
mov ebp, eax
jmp 0x45ed6e
add ebx, ebx
jne 0x45ed6e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45ed3c
inc ecx
add ebx, ebx
jne 0x45ed7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45ed3c
add ebx, ebx
jne 0x45ed89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45ed7e
jne 0x45ed9a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45ed7e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45edbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45edae
jmp 0x45ecfe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45edbc
add edi, ecx
jmp 0x45ecfe
pop esi
mov edi, esi
mov ecx, 0x1e8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45edda
cmp byte [edi], 4
jne 0x45edda
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 0x45eddf
lea edi, [esi + 0x5c000]
mov eax, dword [edi]
or eax, eax
je 0x45ee57
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5e8e0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5e91c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45ee0c
mov ecx, edi
jns 0x45ee3b
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 + 0x5e920]
or eax, eax
je 0x45ee51
mov dword [ebx], eax
add ebx, 4
jmp 0x45ee29
call dword [esi + 0x5e928]
mov ebp, dword [esi + 0x5e924]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
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 0x45ee8b
sub esp, 0xffffff80
jmp 0x4022f0
Function at 0x40a3b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8000]
push edi
or ebp, 0xffffffff
jmp 0x40a3d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40a3d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40a3c8
mov eax, 1
add ebx, ebx
jne 0x40a3eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40a3e0
jne 0x40a3fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a3e0
xor ecx, ecx
sub eax, 3
jb 0x40a410
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40a482
mov ebp, eax
add ebx, ebx
jne 0x40a41b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40a428
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40a44c
inc ecx
add ebx, ebx
jne 0x40a438
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40a42d
jne 0x40a449
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a42d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40a46c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40a45d
jmp 0x40a3ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40a46c
add edi, ecx
jmp 0x40a3ce
pop esi
mov edi, esi
mov ecx, 0x9a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40a48a
cmp byte [edi], 1
jne 0x40a48a
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 0x40a48f
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x40a507
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb5bc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb65c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40a4bc
mov ecx, edi
jns 0x40a4eb
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 + 0xb660]
or eax, eax
je 0x40a501
mov dword [ebx], eax
add ebx, 4
jmp 0x40a4d9
call dword [esi + 0xb664]
popal
jmp 0x4021fe
Function at 0x44021b
Capabilities:
Encode data using xor

Disassembly:
push 0x7c4b4ae0
adc edi, 0x56
xchg esi, eax
adc ch, al
call fcn.00440061
mov dword [ebp + 0x69e7], esi
push 0xe1c36524
call fcn.00440061
lea eax, [esp + 0x28]
sbb edx, 0x89060458
inc edi
mov dword [esp + 0x4c], esi
xchg esi, eax
adc dl, 0xe6
push 0x20
mov edi, dword [esp + 0x4c]
push 8
test edx, 0x93591b21
xor edx, 0x59
and ah, dh
push esp
sbb eax, 0xffffffc0
lea edx, [ebx + 0x7d]
dec eax
call edi
call dword [esp + 0x50]
dec byte [esp]
jne 0x440254
xor dh, ah
mov dh, 8
mov dl, dh
sbb ecx, 0x3e
pop eax
push 1
call fcn.00446a35
xor cl, ah
adc ch, al
mov dword [esi + 0x14], 0xc
pop dword [esi + 0x1c]
lea eax, [ebp + 0x176]
push eax
mov dword [esi + 0x18], esi
sub byte [esi + 2], 0xfc
push 4
push 3
xchg ch, dl
nop
lea esi, [esi + 0x14]
inc edx
push esi
dec edi
add dword [ebp + 0x2a0], ebp
call dword [0x69e7]
sub dword [ebp + 0x2a0], ebp
ret