joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401230
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
bswap ebx
and eax, 0xb9
or ebx, 0xec
or eax, 0xf0
not esi
dec eax
rcr edx, 0x43
neg ebx
not edi
imul ebx
imul esi
bswap edi
or ebx, 0x28
sub esi, 0x61
add esi, 0x3a
neg ebx
or ebx, 0xdb
imul esi
sub edx, 0x77
rol ebx, 0xe
imul edi
bswap edx
neg esi
bswap edi
imul esi
and esi, 0xb9
inc eax
ror ebx, 0xc7
bswap esi
dec edx
add esi, 0xe0
rcr ebx, 0x6b
neg eax
rcr edx, 0xa1
neg esi
or esi, 0xba
neg eax
mov eax, 0x9e
and edx, 0x8e
ror ebx, 0x47
sbb edi, 0xe0
rcr ebx, 0x76
rcr eax, 0x52
rcl eax, 0x7f
ror eax, 6
add eax, 0x35
sbb ebx, 0x93
and ebx, 0x6b
dec ebx
not ebx
xor ecx, ecx
xor edi, edi
inc esi
sbb edi, 0x34
or ebx, 0x93
imul ebx
and edx, 0x41
bswap edx
neg eax
neg edx
and esi, 0x10
or eax, 0xbe
or edx, 0x1c
inc edx
sbb ebx, 0x5e
bswap edi
imul edx
sub eax, 0x1d
ror ebx, 0x9d
not ebx
inc edx
rol edi, 0x87
ror eax, 0xb9
dec edx
not edi
sbb edi, 0xa4
rcr ebx, 0x99
ror edx, 0x2a
imul ebx
rol esi, 0x71
and edx, 0x2c
or ebx, 0xdc
rol ebx, 0x6e
rcr edx, 0xf4
inc edi
dec edi
and esi, 0xb4
neg esi
dec esi
not edi
sbb esi, 0x96
dec edi
or eax, 0x6d
sub eax, 0xa5
imul edi
inc esi
sbb edi, 0xc
imul edi
mov eax, 0x78
and edx, 0x9d
neg ebx
rol edx, 0xd1
mov ecx, dword [ebp + 0xc]
rol esi, 0x98
sbb ebx, 0xf6
rcl ebx, 0x1d
neg ebx
or eax, 0xf5
neg edx
dec esi
rcl esi, 0xc
neg eax
rcl edx, 0x95
or esi, 0x88
neg esi
mov esi, 0xf8
neg esi
neg esi
bswap edx
rcl eax, 0xa7
sbb edx, 0x5c
ror esi, 0xe6
inc eax
mov eax, 0xe0
inc edx
sub edi, 0xb8
ror edi, 0x2d
sub ebx, 0xf
ror esi, 0xab
dec eax
bswap edi
imul ebx
add esi, 0xcb
rcr esi, 0x8a
mov edx, 0xbb
not edx
imul edi
not esi
sub edx, 8
imul edi
and edi, 0x35
or edx, 0xdc
inc eax
add eax, 0xc7
bswap ebx
or edx, 0xa1
inc edi
dec ebx
dec edi
dec ebx
bswap ebx
not edi
rcl edi, 0x82
mov edi, dword [ebp + 8]
mov ebx, esi
mov ebx, eax
xor esi, esi
not byte [edi]
xor eax, eax
mov eax, ebx
xor ebx, eax
mov ebx, ebx
mov eax, eax
xor esi, eax
mov esi, eax
xor ebx, eax
mov esi, ebx
add byte [edi], 0x79
xor ebx, esi
xor esi, eax
xor ebx, eax
xor ebx, ebx
mov esi, esi
mov ebx, eax
xor ebx, ebx
xor eax, ebx
xor ebx, ebx
sub byte [edi], 0x30
xor esi, ebx
xor eax, esi
xor ebx, esi
mov eax, eax
mov esi, esi
mov esi, ebx
mov ebx, esi
mov esi, eax
xor eax, esi
imul byte [edi]
inc edi
loop 0x4013fd
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x404fa5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x466000]
jne 0x404faf
repz ret
jmp fcn.00407340
Function at 0x405615
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.004043c5
and dword [ebp - 4], 0
cmp dword [0x467190], 0
mov ebx, eax
jne 0x4056c6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405777
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405777
push eax
call fcn.00404353
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x467190], eax
call esi
push eax
call fcn.00404353
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x467194], eax
call esi
push eax
call fcn.00404353
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x467198], eax
call esi
push eax
call fcn.00404353
pop ecx
mov dword [0x4671a0], eax
test eax, eax
je 0x4056c6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404353
pop ecx
mov dword [0x46719c], eax
mov eax, dword [0x46719c]
cmp eax, ebx
je 0x40571e
cmp dword [0x4671a0], ebx
je 0x40571e
push eax
call fcn.004043ce
push dword [0x4671a0]
mov esi, eax
call fcn.004043ce
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40571e
test edi, edi
je 0x40571e
call esi
test eax, eax
je 0x405715
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405715
test byte [ebp - 0xc], 1
jne 0x40571e
or dword [ebp + 0x10], 0x200000
jmp 0x405757
mov eax, dword [0x467194]
cmp eax, ebx
je 0x405757
push eax
call fcn.004043ce
pop ecx
test eax, eax
je 0x405757
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405757
mov eax, dword [0x467198]
cmp eax, ebx
je 0x405757
push eax
call fcn.004043ce
pop ecx
test eax, eax
je 0x405757
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x467190]
call fcn.004043ce
pop ecx
test eax, eax
je 0x405777
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405779
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1222993
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x124cc20]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
xor esi, esi
mov dword [ebp - 0x80], esi
cmp ebx, esi
je 0x1222a84
cmp edi, esi
je 0x1222a84
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x12229c9
sub eax, edx
sar eax, 1
je 0x1222a84
xor eax, eax
push 0x206
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push esi
push eax
call fcn.01231470
add esp, 0xc
cmp dword [ebp + 0x19c], esi
jne 0x1222a2a
cmp dword [0x124df90], 3
jne 0x1222a2a
mov esi, 0x104
push esi
lea eax, [ebp - 0x78]
push eax
call dword [0x124420c]
push 0x1247b40
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.0122f3f5
add esp, 0xc
jmp 0x1222a3a
lea eax, [ebp - 0x78]
push eax
mov esi, 0x104
push esi
call dword [fcn.01244228]
push edi
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.0122f3f5
and dword [ebp - 0x7c], 0
push 0x1247b44
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0122f747
add esp, 0x18
cmp dword [ebp - 0x7c], 0
je 0x1222a84
push dword [ebp - 0x7c]
xor esi, esi
inc esi
push esi
push 0x200
push ebx
call fcn.0122fa3a
push dword [ebp - 0x7c]
call fcn.0122face
add esp, 0x14
mov dword [ebp - 0x80], esi
mov ecx, dword [ebp + 0x190]
mov eax, dword [ebp - 0x80]
xor ecx, ebp
pop esi
call fcn.0122f3e6
add ebp, 0x194
leave
ret

Function at 0x1222b2f
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x124cc20]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
xor esi, esi
call fcn.01231470
and dword [ebp - 0x80], esi
add esp, 0xc
test edi, edi
je 0x1222bc3
lea eax, [ebp - 0x7c]
push eax
mov esi, 0x104
push esi
call dword [fcn.01244228]
push 0x1247b24
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.0122f3f5
push 0x1247b64
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0122f747
xor esi, esi
add esp, 0x18
inc esi
cmp dword [ebp - 0x80], 0
je 0x1222bc3
push dword [ebp - 0x80]
push esi
push 0x200
push edi
call fcn.0122fcac
push dword [ebp - 0x80]
call fcn.0122face
add esp, 0x14
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0122f3e6
add ebp, 0x190
leave
ret
Function at 0x1223a9b
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
push 0x1247b44
push dword [ebp + 8]
mov ebx, eax
lea eax, [ebp - 4]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.0122f747
add esp, 0xc
test eax, eax
je 0x1223ac8
xor eax, eax
jmp 0x1223b53
push esi
push 2
push edi
push dword [ebp - 4]
call fcn.012302ee
push dword [ebp - 4]
call fcn.01230510
push edi
push edi
push dword [ebp - 4]
mov esi, eax
call fcn.012302ee
lea eax, [esi + ebx]
push eax
mov dword [ebp - 8], eax
call fcn.0123010c
push dword [ebp - 4]
mov edi, eax
push 1
push esi
push edi
call fcn.0122fa3a
push dword [ebp - 4]
call fcn.0122face
push ebx
lea ebx, [edi + esi]
call fcn.01223b57
push 0x1247b64
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.0122f747
add esp, 0x44
pop esi
test eax, eax
jne 0x1223ac1
push dword [ebp - 4]
push 1
push dword [ebp - 8]
push edi
call fcn.0122fcac
push dword [ebp - 4]
call fcn.0122face
add esp, 0x14
test edi, edi
je 0x1223b50
push edi
call fcn.012301d6
pop ecx
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret
Function at 0x1224e7b
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xf90]
mov eax, 0x1010
call fcn.01233920
mov eax, dword [0x124cc20]
xor eax, ebp
mov dword [ebp + 0xf8c], eax
mov eax, dword [ebp + 0xf98]
push ebx
push esi
mov esi, dword [0x12443e0]
xor ebx, ebx
push ebx
mov dword [ebp - 0x7c], eax
push 4
lea eax, [ebp - 0x78]
push eax
push dword [edi]
call esi
cmp eax, 4
je 0x1224ec1
xor eax, eax
jmp 0x1224f09
cmp dword [ebp - 0x78], ebx
jbe 0x1224ef8
push 0
push 0x1000
lea eax, [ebp - 0x74]
push eax
push dword [edi]
call esi
mov dword [ebp - 0x80], eax
test eax, eax
je 0x1224ef8
mov ecx, dword [ebp - 0x7c]
push dword [ecx]
push eax
lea eax, [ebp - 0x74]
push 1
push eax
call fcn.0122fcac
add ebx, dword [ebp - 0x80]
add esp, 0x10
cmp ebx, dword [ebp - 0x78]
jb 0x1224ec6
mov eax, dword [ebp - 0x7c]
push dword [eax]
call fcn.0122face
cmp ebx, dword [ebp - 0x78]
pop ecx
sbb eax, eax
inc eax
mov ecx, dword [ebp + 0xf8c]
pop esi
xor ecx, ebp
pop ebx
call fcn.0122f3e6
add ebp, 0xf90
leave
ret
Function at 0x40f180
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40f1ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40f1ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
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 eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18
Function at 0x10a0ce08
Capabilities:
Encode data using xor

Disassembly:
jmp 0x10a0ce12
pushal
call 0x10a0ce18
pop ebp
sub ebp, 0x10
sub ebp, 0xa0ce08
mov al, byte [esp + 0x28]
cmp al, 1
je 0x10a0ce3c
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x10a0ce45
mov eax, 0xa0ce08
add eax, ebp
add eax, 0x63
mov ecx, 0x5c2
mov edx, 0x6535ffbe
xor byte [eax], dl
inc eax
dec ecx
jne 0x10a0ce5c
jmp 0x10a0ce6f
xor eax, 0x82373573
mov esi, 0x7f3fbebe
inc esi
mov esi, 0x73bdbebe
push es
mov ebx, 0x4bebebe
xchg esi, eax
mov esi, 0x5c49bebe
mov ebp, 0xb23f3576
mov esi, 0x7bbdbebe
out dx, al
xor ebx, edx
lcall 0xbed6, 0x9aba3742
fcomp qword [esi - 0x2d472942]
mov esi, 0xd69a92bf
push ebp
push ebp
xor al, byte [edi + 0x56]
mov ebx, 0x57bebebe
nop
mov esi, 0xda33bebe
lcall 0x5235, 0x9a923742
xor eax, 0xbebeb63b
mov esi, 0xbeb22b35
mov esi, 0xae3335be
mov esi, 0x577fbebe
mov esp, 0x7c3dbc8f
mov edx, 0x4a3bb1f7
inc ecx
inc ecx
inc ecx
jecxz 0x10a0cf61
mov dl, 0xbe
xor eax, 0xbeba9a32
mov esi, 0xdcbed6be
sahf
mov esi, 0x3ed2b8d6
mov esi, 0x339a92bf
ficomp dword [edx - 0x654dc8be]
push esi
mov ebx, 0x57bebebe
test dword [esi + edi*4 - 0x6525cc42], edi
inc edx
aaa
xchg edx, eax
lcall 0xcb41, 0xbe9ad233
mov dl, 0x41
retf
inc ecx
inc ecx
xchg edi, eax
xacquire xchg dword [edi + 0x3dbb7f3d], edi
push esi
mov edx, 0x41410357
inc ecx
xchg edi, eax
ljmp 0x3db8
Function at 0x10004347
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10004386
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10004386
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10004386
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10004386
cmp dword [ecx + 0x74], 0xe
jbe 0x10004386
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000700f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100070ac
push ebx
push esi
call fcn.10006fd8
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10006f6c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10007059
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100070ab
push edi
push eax
call fcn.10007fcc
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10007079
call fcn.10005ab4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100070aa
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10006f6c
add esp, 0x20
test eax, eax
jne 0x10007098
push edi
call fcn.10005ab4
jmp 0x100070a0
push ebx
call fcn.10005ab4
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10007319
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000e4e8
push 0x1000e4e0
push str.FlsAlloc
push 0x1f
call fcn.10007235
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000734d
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000d108]
call esi
jmp 0x10007353
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10007397
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000e4f8
push 0x1000e4f0
push str.FlsGetValue
push 0x21
call fcn.10007235
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100073ce
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000d108]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100073d6
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000e500
push 0x1000e4f8
push str.FlsSetValue
push 0x22
call fcn.10007235
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10007410
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000d108]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000caa0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000cacd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000cacd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x438ca0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x438a14
sub esp, 4
mov dword [esp], 0xd2f46669
pop esi
or edx, edx
call fcn.00438ce9
mov edx, edx
sub esi, edx
push 0xaf79e3a4
mov edx, dword [esp]
add esp, 4
xor dword [eax], ecx
mov edx, 0xdc2ebb3f
add edx, 0x841512a8
inc eax
or edx, esi
cmp eax, edi
jne fcn.00438ca0
add edx, 1
ret
Function at 0xd2ecf0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6e3000]
push edi
jmp 0xd2ed0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xd2ed11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd2ed00
mov eax, 1
add ebx, ebx
jne 0xd2ed23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xd2ed34
jne 0xd2ed53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd2ed53
dec eax
add ebx, ebx
jne 0xd2ed40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xd2ed18
add ebx, ebx
jne 0xd2ed4f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xd2eda5
xor ecx, ecx
sub eax, 3
jb 0xd2ed6b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xd2edda
sar eax, 1
mov ebp, eax
jmp 0xd2ed76
add ebx, ebx
jne 0xd2ed76
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd2ed44
inc ecx
add ebx, ebx
jne 0xd2ed84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd2ed44
add ebx, ebx
jne 0xd2ed91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xd2ed86
jne 0xd2eda2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xd2ed86
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xd2edc4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xd2edb6
jmp 0xd2ed06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xd2edc4
add edi, ecx
jmp 0xd2ed06
pop esi
mov edi, esi
mov ecx, 0xb090
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xd2ede2
cmp byte [edi], 0x34
jne 0xd2ede2
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 0xd2ede7
lea edi, [esi + 0x92a000]
mov eax, dword [edi]
or eax, eax
je 0xd2ee5f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9390c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x939218]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xd2ee14
mov ecx, edi
jns 0xd2ee43
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 + 0x93921c]
or eax, eax
je 0xd2ee59
mov dword [ebx], eax
add ebx, 4
jmp 0xd2ee31
call dword [esi + 0x93922c]
mov ebp, dword [esi + 0x939220]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
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 0xd2ee93
sub esp, 0xffffff80
jmp 0x420758
Function at 0x417f30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x417f52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x417f59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417f48
mov eax, 1
add ebx, ebx
jne 0x417f6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x417f60
jne 0x417f7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417f60
xor ecx, ecx
sub eax, 3
jb 0x417f90
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x418002
mov ebp, eax
add ebx, ebx
jne 0x417f9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x417fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x417fcc
inc ecx
add ebx, ebx
jne 0x417fb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x417fad
jne 0x417fc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417fad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x417fec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x417fdd
jmp 0x417f4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x417fec
add edi, ecx
jmp 0x417f4e
pop esi
mov edi, esi
mov ecx, 0xef
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41800a
cmp byte [edi], 1
jne 0x41800a
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 0x41800f
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x418087
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x187c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18844]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41803c
mov ecx, edi
jns 0x41806b
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 + 0x1884c]
or eax, eax
je 0x418081
mov dword [ebx], eax
add ebx, 4
jmp 0x418059
call dword [esi + 0x18848]
mov ebp, dword [esi + 0x18850]
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 0x4180bb
sub esp, 0xffffff80
jmp 0x409d35