joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10176379
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x101f0248]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x101763bf
cmp word [ebx], dx
jne 0x101763bf
or byte [eax + edi + 0x28], 4
jmp 0x101763c4
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x10176527
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x10176507
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x10176405
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1017643b
cmp eax, edx
jae 0x10176449
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x101763e0
jmp 0x10176527
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10176502
cmp dword [ebp - 0x18], 0
je 0x10176502
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x101f0248]
test byte [eax + edi + 0x28], 0x48
je 0x101764d8
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x1017649c
mov word [esi], cx
jmp 0x101764d3
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x101f0248]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x101f0248]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x101f0248]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10176527
pop eax
cmp word [ebp - 4], ax
jne 0x101764e8
cmp esi, ebx
jne 0x101764e8
mov word [esi], ax
jmp 0x10176524
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10176db2
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10176527
push 0xd
pop eax
jmp 0x101764e3
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x101f0248]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x10176521
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10176527
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1017abe8
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 0x1017ac85
push ebx
push esi
call fcn.1017abb1
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.10179494
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1017ac32
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1017ac84
push edi
push eax
call fcn.10173d32
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1017ac52
call fcn.101738e5
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1017ac83
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10179494
add esp, 0x20
test eax, eax
jne 0x1017ac71
push edi
call fcn.101738e5
jmp 0x1017ac79
push ebx
call fcn.101738e5
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 0x1017ac88
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1017ac99
pop esi
ret
push ebx
push edi
push esi
call fcn.1017abb1
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.10173d32
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1017acc1
push ebx
push esi
push edi
call fcn.1015b040
add esp, 0xc
push 0
call fcn.101738e5
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1017b091
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1017acd6

Function at 0x1017dc8b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10170ec4
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1017dcfa
cmp esi, dword [ebp - 4]
je 0x1017dcf5
cmp dword [ebp + 0xc], 0
je 0x1017dcf5
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1017dcd2
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.1017d7dd
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1017dcfc
xor eax, eax
inc eax
jmp 0x1017dcfc
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1017dd61
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x101e6e80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.10170ec4
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10170ec4
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1017ddd8
cmp word [ecx], dx
je 0x1017ddd8
mov eax, dword [0x101c30d4]
push edi
dec eax
push eax
push 0x101c2fc0
call fcn.1017dd00
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1017de4b
cmp word [eax], dx
je 0x1017de4b
mov eax, dword [edi]
test eax, eax
je 0x1017ddfc
cmp word [eax], dx
je 0x1017ddfc
lea eax, [ebp - 0x10]
push eax
call fcn.1017d6e3
jmp 0x1017de05
lea eax, [ebp - 0x10]
push eax
call fcn.1017d77e
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1017de75
mov eax, dword [0x101c2fbc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x101c2cb0
call fcn.1017dd00
add esp, 0xc
test al, al
je 0x1017de75
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1017de40
cmp word [eax], di
je 0x1017de40
lea eax, [ebp - 0x10]
push eax
call fcn.1017d6e3
pop ecx
jmp 0x1017de77
lea eax, [ebp - 0x10]
push eax
call fcn.1017d77e
jmp 0x1017de3d
mov eax, dword [edi]
test eax, eax
je 0x1017de62
cmp word [eax], dx
je 0x1017de62
lea eax, [ebp - 0x10]
push eax
call fcn.1017d698
pop ecx
jmp 0x1017de75
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1017df40
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1017db85
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1017df40
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1017df40
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1017df40
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1017decd
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.101754fb
test ebx, ebx
je 0x1017df3b
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.101754fb
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1017df40
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1017df40
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1016a9f7
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1017df42
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10158534
leave
ret
Function at 0x1018219c
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.10182118
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1018230b
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1018230b
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x101822c0
jg 0x101821f8
test eax, eax
je 0x101822b6
push 1
push 0x1000
call fcn.10172a66
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1018221b
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x101822ad
push 0x8000
push ebx
call fcn.10182049
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10182244
jg 0x1018223f
cmp ecx, 0x1000
jb 0x10182244
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.101736c9
add esp, 0x10
cmp eax, 0xffffffff
je 0x10182289
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1018223f
jl 0x10182270
test ecx, ecx
jne 0x10182231
push dword [ebp - 0xc]
push ebx
call fcn.10182049
push esi
call fcn.101738e5
add esp, 0xc
xor ebx, ebx
jmp 0x10182319
cmp byte [edi + 0x24], 0
je 0x101822a0
cmp dword [edi + 0x20], 5
jne 0x101822a0
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x101822ab
mov ebx, dword [edi + 0x18]
jmp 0x101822ad
xor ebx, ebx
push esi
call fcn.101738e5
pop ecx
jmp 0x10182319
test ecx, ecx
jg 0x10182282
jl 0x101822c0
test eax, eax
jae 0x10182282
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10176db2
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x101822e0
cmp byte [edi + 0x1c], 0
je 0x10182282
jmp 0x10182311
push ebx
call fcn.1016e883
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10182282
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10182319
cmp byte [edi + 0x1c], 0
je 0x10182316
mov ebx, dword [edi + 0x18]
jmp 0x10182319
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10176db2
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10182d30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10182d5d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10182d5d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x417bd7
Capabilities:
Get common file path

Disassembly:
add byte [eax + 0x5f90], dl
add byte [eax - 0x6f6f6f70], dl
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push esi
xor bl, bl
call 0x36d6c6
mov ecx, eax
test eax, eax
jbe 0x417c29
dec ecx
mov dl, byte [ecx + esi]
cmp dl, 0x2e
je 0x417c0a
cmp dl, 0x5c
je 0x417c08
cmp dl, 0x3a
int3
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x417c10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x58
mov eax, dword [0x630038]
mov dword [esp + 4], 0
push esi
lea ecx, [eax + eax]
mov eax, dword [0x63003c]
or ecx, eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
fild qword [esp + 4]
test ecx, ecx
fadd qword [0x630050]
fstp qword [0x630050]
je 0x417c63
mov eax, dword [0x6337f0]
test eax, eax
je 0x417c57
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
pop esi
add esp, 0x58
ret 4
mov dl, byte [0x630042]
mov cl, byte [0x630049]
xor cl, dl
mov edx, dword [0x630030]
mov byte [0x630049], cl
mov ecx, dword [0x630034]
and ecx, 4
and eax, 0xc
add edx, ecx
mov esi, dword [0x630038]
mov dword [0x630030], edx
mov edx, dword [0x630048]
and edx, 0xff
push ebp
imul eax, edx
xor esi, eax
push edi
lea eax, [esp + 0x14]
push 0x50
push eax
mov dword [0x630038], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x630090
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x15]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov al, byte [0x63004e]
mov ecx, ebp
and ecx, 3
lea edx, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
mov cl, byte [0x630040]
push edx
and cl, al
mov byte [0x630040], cl
mov cl, byte [0x630047]
or cl, 2
shr cl, 1
and ecx, 0xff
mov dword [esp + 0x6c], ecx
fild dword [esp + 0x6c]
fdivr qword [0x630050]
fadd qword [0x62d560]
fstp qword [0x6339c0]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
mov dword [0x6337f0], eax
test eax, eax
pop ebp
je 0x417d88
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x63007c
push eax
call esi
mov dword [0x6337ec], eax
mov eax, dword [0x6337f0]
push 0x630064
push eax
call esi
mov ecx, dword [0x6337ec]
mov dword [0x6337f4], eax
test ecx, ecx
je 0x417d7e
test eax, eax
je 0x417d7e
mov eax, 1
pop esi
add esp, 0x58
ret 4
mov dword [0x6337f0], 0
xor eax, eax
pop esi
add esp, 0x58
ret 4
Function at 0x43c7ba
Capabilities:
Encode data using xor

Disassembly:
jp 0x43c817
or byte [edx + 0x25], bh
jp 0x43c7e4
inc ecx
xor dword [eax - 0x5b3d054b], eax
fldcw word [eax + 0x5659cf3e]
push eax
inc ebx
add al, 0x56
dec ebx
bound eax, qword [esi]
fld dword [ecx + 0x4f3a69dd]
mov ecx, 0xc781121a
jge 0x43c7bd
or dword [edx], 0x29cf95bf
mov cl, 0x21
int1
rol byte [ebx], 0x6b
sub eax, 0x70d49603
sbb dword [ebp + 0x2f], ebx
dec eax
and byte [ebx + 0x26], ah
add byte [ebp - 0x53], dh
xchg ebp, eax
iretd
add byte es:[ebp - 0x53], dh
or byte [esi + ecx*4 - 0x43], 0x61
push dword [edx - 0x50]
xor dword [edi + esi + 0xf6c2867], ebp
push edi
jb 0x43c7e1
rol ecx, cl
imul ecx, dword [edx - 0x53d95e1d], 0x5e
inc esi
cmp byte gs:[edi - 0x69], dh
ffreep st(1)
sbb dword [ebp + 0x6e], ecx
mov eax, dword [0xb5490ea7]
pushfd
dec ebp
push ecx
ja 0x43c880
and word [eax], si
jno 0x43c862
pop ebp
mov dh, 0x75
adc byte [0x5cf4456d], bh
inc ebp
hlt
pop esp
push es
dec ebx
push edi
adc eax, 0xe7bd40db
jge 0x43c7f8
cmpsd dword [esi], dword es:[edi]
xor byte [0x4939c842], bl
sbb byte [ecx], ah
sub dword [ecx + esi*2 + 4], edi
cmc
loope 0x43c831
arpl word [edi], bx
pop ds
invalid
lahf
mov ebp, 0x6ac345d1
push ss
xor dword [ecx - 0x19], esi
retf 0x300f
xor byte [esi + 0x545c4990], bh
invalid
push es
out 0xbe, al
pop edi
and ebx, dword [eax + 0x70]
jl 0x43c8aa
dec edi
scasd eax, dword es:[edi]
pushfd
add al, 0x95
sal byte [edi + 0x48], 1
push edx
mov eax, dword [0x31707889]
jmp dword [eax]
mov dword [eax + 0x70], edi
xor edi, edi
and byte [esi], ch
arpl word [ebx - 0x23e1ece4], si
nop
out dx, al
aas
dec eax
ja 0x43c87c
pushal
inc edi
in eax, dx
jle 0x43c8d8
mov cl, 0xf
in al, dx
jle 0x43c856
sub ecx, ecx
cmc
int1
xchg ecx, eax
xor al, 0xe
push eax
out dx, al
outsb dx, byte [esi]
in eax, 0xa1
add dword [eax - 2], esp
pop edx
loopne 0x43c856
xchg dword [edx], ecx
jae 0x43c88f
mov ecx, 0x74999037
ffreep st(0)
fcmovb st(0), st(2)
movsd dword es:[edi], dword [esi]
pop edi
jne 0x43c8ce
call dword [ebx]
pushal
jg 0x43c86e
adc esp, dword [eax + 0x7f]
wait
pop esp
and eax, dword [0x33ef835e]
rol byte [edx + esi - 0x76890f57], 0xfe
out dx, eax
xor eax, eax
test byte [edx], dh
test eax, 0xfe8976f0
mov cl, 0xff
adc ebx, dword [edi - 0x7ed9811a]
into
xor byte [ecx + 0x317de597], 0xd
mov eax, dword [0xa283257f]
outsd dx, dword [esi]
adc dh, dl
loop 0x43c91b
and dword [edx - 0x1d29ef91], 0x1d
rcl dword [ebp + 0x6f]
or eax, 0x296f9f24
push ds
ret 0x3f77
aas
or esi, edi
shr dword [esi - 0x68], cl
into
dec eax
jl 0x43c959
int3
cmp bh, 0x74
int3
pop ds
loopne 0x43c8f7
sal dword [edi - 0x5c], 1
inc eax
shl dword [edi + ebx - 0x21], 0x41
je 0x43c909
jne 0x43c914
dec edi
adc bh, al
cmp al, 0x56
out 0xcd, al
dec ebp
and edx, dword [eax + 0x75]
pop es
ret 0x9568
add eax, 0xcde5accf
cmpsd dword [esi], dword es:[edi]
imul ebp
sbb eax, 0x5c70aad6
bound ecx, qword [edi - 0x222109ab]
push ds
retf
Function at 0x45589b
Capabilities:
Encode data using xor

Disassembly:
xchg edi, eax
push ebx
test eax, 0xe5d55efb
mov edi, 0xf3ff6b93
in eax, 0xbf
xchg ebx, eax
imul edi, edi, 0xfffffff3
cdq
sub byte [edi + 0xa400150], ch
cmp byte [edi - 0x20a0178b], 5
les ebp, [edx + eax]
xor al, 0x15
mov cl, 0xed
dec esi
xor al, 0x3b
pushfd
fmul st(3)
dec ecx
scasd eax, dword es:[edi]
jbe 0x4558a1
out 0xc2, al
push ds
mov esp, 0xbf9337c9
invalid

Function at 0x46ae6a
Capabilities:
Encode data using xor

Disassembly:
add dl, byte [edi + 0x44]
fld xword [eax + 0x5e]
and dword [ecx - 0x70], ebp
je 0x46ae7f
mov gs, word [edx - 5]
mov esp, 0xf191f58e
dec edx
popal
test al, 0x52
push 0x11
fdivr dword [edx + 1]
invalid
insb byte es:[edi], dx
and ch, byte [ebp + 0x21]
inc edx
jne 0x46adfd
push esi
inc byte [edx + 0x6ae69f45]
outsb dx, byte [esi]
xor eax, 0x2ca4c15d
sub eax, 0xa4d53c76
jbe 0x46aebd
aad 0xa4
sbb al, al
xor byte [ecx - 0x51e5a69c], dl
xor bl, byte [edi]
scasd eax, dword es:[edi]
dec eax
test eax, 0xc5596681
test dword [edi], edx
in al, 0xf6
scasb al, byte es:[edi]
and ecx, dword [esi + 0x2f]
mov ah, byte [esi + 0x793ff5e1]
scasb al, byte es:[edi]
movsd dword es:[edi], dword [esi]
pop esi
bound eax, qword [edi]
mov edx, 0x357b5d8e
pop es
inc esp
outsd dx, dword [esi]
lodsd eax, dword [esi]
cmp al, 0x3a
lcall 0xa60b, 0xd1677b4b
sbb byte [edi + 0x3468552b], al
test al, 4
pop esi
push ebp
push 0x5e04a834
or bl, bl
xchg edi, eax
fidivr word [esi + 0x11]
mov byte [ecx - 0x39cb55b0], cl
test al, 0x5e
add ebx, dword [esi]
xor edi, dword [esi]
pushfd
shr byte [ebx + 0x28], 1
push ds
add edi, dword [edi + 0x3c]
cmc
out 0x68, eax
push ebx
add al, byte [ebx - 0x3909b724]
add cl, ch
in eax, dx
aad 0x3b
xor byte [ebx + eax*4 - 0x3f], ch
xchg ch, ah
jne 0x46aeb0
xor eax, 0x255b2aee
sub eax, 0x370bd2d5
push 0xfeac37f9
hlt

Function at 0x48a90f
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [0x14889189]
xchg ecx, eax
daa
pop esi
xor al, 0xa1
xor al, 0xa1
in al, dx
ja 0x48a8c4
cwde
movsd dword es:[edi], dword [esi]
and ecx, esp
jns 0x48a924
jl 0x48a916
adc eax, 0x74b28f09
push 0x4ba995bb
imul ebp, dword [edx], 0x9512c537
popal
jmp 0x48a8c8
push esp
mov eax, 0xc5ad402b
inc eax
add dword [edi + edi - 0x7b834a2e], 0x22b576bb
pop esp
jle 0x48a8bf
cli
mov eax, dword [0x6da5fce7]
imul edx, edi, 0x16e03b94
dec edi
aam 0xfb
std
mov cl, 0x28
aaa
dec edi
sahf
cmp esp, dword [ebx - 0x70]
pop ebx
neg bh
in eax, dx
in eax, 0x69
dec edx
inc ebx
fmul qword [ebx]
pushfd
sahf
push ss
arpl bx, di
js 0x48a94d
insd dword es:[edi], dx
xchg ecx, eax
out 0xa9, al
dec eax
jae 0x48a976
retf
and dh, 0xc2
sub byte [ebx + 0x5e0bb039], bh
jg 0x48a99a
invalid
xchg edx, eax
invalid
Function at 0x628ba1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6303c8
cmp edx, dword [eax]
je 0x628bc3
add eax, 8
inc ecx
cmp eax, 0x630458
jl 0x628bb4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6303c8]
jne 0x628cf1
mov eax, dword [0x637d60]
cmp eax, 1
je 0x628ccb
test eax, eax
jne 0x628bf4
cmp dword [0x6302f0], 1
je 0x628ccb
cmp edx, 0xfc
je 0x628cf1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x628c2b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00629580
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00629a10
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x628c6e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00629a10
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62d8e4
push edi
call fcn.0062b8e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00629580
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00629590
lea eax, [ebp - 0xa0]
push 0x62d8c4
push eax
call fcn.00629590
push dword [esi + 0x6303cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00629590
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062b854
add esp, 0x2c
pop edi
jmp 0x628cf1
lea eax, [ebp + 8]
lea esi, [esi + 0x6303cc]
push 0
push eax
push dword [esi]
call fcn.00629a10
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x511e012a
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x66de41fd
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219