joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f620
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], esi
mov esi, 1
mov dword [ebp - 0x10], 0
push 1
push 0x5077b0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x42f6ac
mov eax, 0x51eb851f
mov ecx, esi
imul esi
sar edx, 5
mov eax, esi
sar ecx, 0x1f
sub edx, ecx
imul edi, edx, 0x64
sub eax, edi
jne 0x42f6ac
cmp esi, 0x15f90
jl 0x42f6a3
cmp esi, 0x1d4c0
jge 0x42f680
mov eax, 0x32
jmp 0x42f6a5
cmp esi, 0x2bf20
jge 0x42f68f
mov eax, 0x64
jmp 0x42f6a5
mov eax, 0x1482
cmp esi, 0x57d78
jl 0x42f6a5
mov eax, 0xfa
jmp 0x42f6a5
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
test eax, eax
je 0x42f6c0
inc esi
cmp esi, 0x57e40
jl 0x42f638
mov eax, dword [ebp - 4]
test eax, eax
je 0x42f6da
mov dword [ebp - 0x14], 0x98
lea eax, [ebp - 0x14]
push eax
call fcn.004480b0
add esp, 4
mov eax, dword [0x5077b4]
test eax, eax
jne 0x42f708
cmp dword [0x504b00], 1
je 0x42f756
xor edi, edi
xor esi, esi
call fcn.0042f5d0
mov dword [0x5077b4], 1
cmp dword [0x504b00], 1
je 0x42f741
mov dword [0x5077b0], 0
push dword [0x5077ac]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x42f791
mov eax, dword [ebp + 8]
mov dword [eax], esi
cmp dword [0x504b00], 1
je 0x42f774
xor eax, eax
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push esi
push 2
call fcn.00478620
push edi
push 0x16
call fcn.00478620
add esp, 0x10
jmp 0x42f708
push 1
push 2
call fcn.00478620
mov esi, eax
push 1
push 0x16
call fcn.00478620
add esp, 0x10
mov edi, eax
jmp 0x42f6f0
push 1
push 2
call fcn.00478620
push 1
push 0x16
mov dword [esi + 0x64], eax
call fcn.00478620
add esp, 0x10
mov dword [esi + 0x68], eax
jmp 0x42f735
lea eax, [ebp - 0x10]
push eax
push 0
push 0x70
call fcn.00438ab0
add esp, 0xc
test eax, eax
je 0x42f7b8
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov edx, 0x70
mov ecx, dword [edx + 0x504a5c]
mov dword [eax + edx - 4], ecx
mov esi, dword [edx + 0x504a58]
mov dword [eax + edx - 8], esi
mov edi, dword [edx + 0x504a54]
mov dword [eax + edx - 0xc], edi
mov ecx, dword [edx + 0x504a50]
mov dword [eax + edx - 0x10], ecx
sub edx, 0x10
jne 0x42f7c0
push dword [ebp - 0x10]
push dword [0x5077ac]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esi, dword [ebp - 0x10]
jmp 0x42f727

Function at 0x4302e0
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
Function at 0x431110
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp eax, 0xfffffffa
mov dword [ebp - 0x10], ebx
mov ebx, ecx
lea ecx, [eax + 5]
jg 0x431125
mov ecx, eax
mov dword [ebp - 4], eax
mov eax, 0xfb93e673
mov dword [ebp - 8], esi
mov esi, edx
mul ecx
shr edx, 9
mov dword [ebp - 0xc], edi
imul edi, edx, 0x209
sub ecx, edi
mov edi, dword [0x504b00]
cmp edi, 2
lea eax, [ecx + 0x69]
mov dword [esi], eax
jge 0x431181
lea ecx, [ecx*4 + 0x1a4]
lea edx, [ecx*8]
sub edx, ecx
mov ecx, dword [edx + 0x5077e4]
test ecx, ecx
jne 0x43120a
mov dword [edx + 0x5077e4], 1
mov eax, dword [esi]
jmp 0x43120a
lea eax, [ecx*4 + 0x1a4]
lea edx, [eax*8]
sub edx, eax
lea ecx, [edx + 0x5077e4]
push ecx
call fcn.0042f860
add esp, 4
test eax, eax
jne 0x431202
mov edx, dword [esi]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
cmp dword [edx + 0x5077e0], 0
je 0x43127a
mov dword [edx + 0x5077e4], 0
mov edx, dword [esi]
push 0xffffffffffffffff
lea eax, [edx*4]
shl edx, 5
sub edx, eax
push dword [edx + 0x5077e0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
lea ecx, [edx + 0x5077e4]
push ecx
call fcn.0042f860
add esp, 4
mov edi, dword [0x504b00]
mov eax, dword [esi]
cmp edi, 1
je 0x43125b
mov edx, dword [ebp + 0x14]
lea ecx, [eax*4]
shl eax, 5
sub eax, ecx
mov ecx, dword [eax + 0x5077f8]
xor eax, eax
mov dword [ebx], ecx
test ecx, ecx
je 0x431253
mov esi, dword [ebp - 4]
cmp esi, dword [ecx + 0x100]
jbe 0x431242
mov eax, ecx
mov ecx, dword [ecx + 0x28]
test ecx, ecx
mov dword [ebx], ecx
jne 0x43122f
mov dword [edx], eax
xor eax, eax
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov dword [edx], 0
jmp 0x431244
lea edx, [eax*4]
shl eax, 5
sub eax, edx
lea eax, [eax + 0x5077f0]
push eax
call fcn.0042f810
add esp, 4
mov eax, dword [esi]
jmp 0x43120f
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [esi]
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
mov dword [ecx + 0x5077e0], eax
mov dword [ecx + 0x5077e4], 0
jmp 0x4311c9
Function at 0x432cb0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
Function at 0x440c00
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]

Function at 0x440c0c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], esi
mov esi, ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ebx
mov ebx, edx
mov dword [ebp - 4], edi
mov edx, eax
mov dword [ecx], 0
cmp dword [0x511ba0], 0
je 0x440ce1
cmp dword [ebp + 0x20], 2
je 0x440c43
cmp dword [ebp + 0x20], 1
jne 0x440c52
mov eax, 0xffffffff
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x18], 0
je 0x440c62
cmp dword [ebp + 0x20], 0xfffffffa
je 0x440da6
cmp dword [ebp + 0x20], 0
je 0x440db2
xor ecx, ecx
cmp dword [ebp + 0x18], 0
je 0x440c95
cmp dword [ebp + 0x1c], 0
je 0x440c95
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], edx
call fcn.004cdba0
push edi
call fcn.004cdd10
mov edx, dword [ebp - 0x10]
add esp, 8
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x440ce1
push edi
push esi
push ebx
call fcn.004cdc40
add esp, 0xc
mov esi, eax
mov eax, dword [ebp + 0x14]
cmp esi, 0xffffffff
mov dword [eax], esi
je 0x440dd6
push 0
push edi
push 2
push 0x4ea0b0
call fcn.004cdc00
add esp, 0x10
mov edx, dword [ebp + 0x14]
mov eax, 1
mov byte [esi + ebx], 0xa
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
inc dword [edx]
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x10], edx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x24]
test ecx, ecx
mov edx, dword [ebp - 0x10]
mov dword [edi], 0
je 0x440d09
mov edi, dword [ecx + 0x140]
test edi, edi
jne 0x440d0e
mov edi, 0x20000
cmp esi, edi
jbe 0x440d82
cmp dword [ebp + 0x20], 0
je 0x440d82
test ecx, ecx
je 0x440d26
mov edi, dword [ecx + 0x140]
test edi, edi
jne 0x440d2b
mov edi, 0x20000
mov dword [ebp - 0x10], edx
push 0
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x18]
push eax
push edi
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x440d70
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
add ebx, edx
sub esi, edx
add dword [ecx], edx
cmp dword [ebp + 0x24], 0
je 0x440d65
mov edx, dword [ebp + 0x24]
mov edx, dword [edx + 0x140]
test edx, edx
jne 0x440d6a
mov edx, 0x20000
cmp esi, edx
ja 0x440d70
mov edi, esi
test esi, esi
je 0x440d99
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x18]
jne 0x440d99
test eax, eax
jne 0x440d2e
jmp 0x440d99
push 0
lea ecx, [ebp - 0x18]
push ecx
push esi
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov edi, edx
mov ecx, 1
jmp 0x440c74
mov dword [ebp - 0x10], edx
call fcn.004cde30
mov edx, dword [ebp - 0x10]
mov edi, eax
cmp dword [0x511ba0], 0
je 0x440c99
mov ecx, 1
jmp 0x440c6e
xor eax, eax
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4480b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
call fcn.004476e0
mov ebx, dword [ebp + 8]
cmp dword [0x511ba0], 0
jne 0x4480d7
test ebx, ebx
je 0x4480cc
mov eax, dword [ebx]
jmp 0x4480ce
xor eax, eax
push eax
call fcn.004776b0
add esp, 4
test ebx, ebx
je 0x4480df
mov eax, dword [ebx]
jmp 0x4480e1
xor eax, eax
push eax
call fcn.004cddf0
add esp, 4
jmp 0x4480c4
Function at 0x448670
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
mov esi, dword [eax + 0x7c]
test esi, esi
mov dword [ebp - 0xc], edi
je 0x44882c
mov edx, dword [0x504b00]
mov edi, dword [esi + 0x14]
lea eax, [edi*4]
shl edi, 5
sub edi, eax
cmp edx, 2
lea ebx, [edi + 0x50c148]
jge 0x4486bf
mov eax, dword [ebx]
test eax, eax
jne 0x448700
mov dword [edi + 0x50c148], 1
jmp 0x448700
push ebx
call fcn.0042f860
add esp, 4
test eax, eax
jne 0x4486fa
cmp dword [edi + 0x50c144], 0
je 0x44880c
mov dword [edi + 0x50c148], 0
push 0xffffffffffffffff
push dword [edi + 0x50c144]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call fcn.0042f860
add esp, 4
mov edx, dword [0x504b00]
cmp edx, 1
je 0x4487f8
mov eax, dword [esi + 0x18]
dec eax
mov dword [esi + 0x18], eax
test eax, eax
jle 0x44876f
mov eax, dword [0x504b00]
cmp eax, 1
je 0x448754
cmp eax, 2
jge 0x44872f
mov dword [edi + 0x50c148], 0
jmp 0x448745
mov dword [edi + 0x50c148], 0
push dword [edi + 0x50c144]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push dword [edi + 0x50c158]
push dword [edi + 0x50c154]
call fcn.0042f840
add esp, 8
mov eax, dword [0x504b00]
jmp 0x44871e
mov edx, dword [esi]
test edx, edx
je 0x44877b
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x448786
mov dword [eax], edx
jmp 0x44878c
mov dword [edi + 0x50c140], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x7c], 0
mov eax, dword [0x504b00]
cmp eax, 1
je 0x4487dd
cmp eax, 2
jge 0x4487b1
mov dword [edi + 0x50c148], 0
jmp 0x4487c7
mov dword [edi + 0x50c148], 0
push dword [edi + 0x50c144]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [esi + 8]
call fcn.00438b70
push esi
call fcn.00438b70
add esp, 8
jmp 0x448745
push dword [edi + 0x50c158]
push dword [edi + 0x50c154]
call fcn.0042f840
add esp, 8
mov eax, dword [0x504b00]
jmp 0x4487a0
lea eax, [edi + 0x50c154]
push eax
call fcn.0042f810
add esp, 4
jmp 0x448709
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi + 0x50c144], eax
mov dword [edi + 0x50c148], 0
jmp 0x4486e3
xor eax, eax
mov esi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4a2080
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 4
imul eax, eax, 0x17
mov ecx, dword [eax + 0x5c4900]
xor ecx, dword [0x504ff8]
mov dword [ebp - 4], ecx
je 0x4a20b2
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 4]
jmp 0x4a20d1
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004a1f40
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esp, ebp
pop ebp
ret
Function at 0x4cddb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 0xc], 0
mov dword [ebp + 8], 0x28f
mov esp, ebp
pop ebp
jmp fcn.004274c0
Function at 0x9fe058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x9fe1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9fe07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9fe06a
add dl, dl
jne 0x9fe089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9fe0dc
xor eax, eax
add dl, dl
jne 0x9fe096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9fe17d
add dl, dl
jne 0x9fe0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9fe0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9fe0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9fe0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9fe0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9fe075
mov eax, 1
add dl, dl
jne 0x9fe0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9fe0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9fe0e1
sub eax, ebx
mov ebx, 1
jne 0x9fe128
mov ecx, 1
add dl, dl
jne 0x9fe10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9fe119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9fe105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9fe075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9fe13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9fe14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9fe136
cmp eax, 0x7d00
jae 0x9fe16d
cmp eax, 0x500
jb 0x9fe168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9fe075
cmp eax, 0x7f
ja 0x9fe170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9fe075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9fe19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x9fe075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x402c00
pop dword [ebp - 0x48]
mov eax, 0x402c00
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x782b41cb
sub dword [ebp - 0x58], 0x29d8fc80
mov dword [ebp - 0x54], 0x8e608405
sub dword [ebp - 0x54], 0x5c2d37c0
mov dword [ebp - 0x50], 0xf315cd4b
add dword [ebp - 0x50], 0x593676e3
mov dword [ebp - 0x4c], 0xa82dc909
sub dword [ebp - 0x4c], 0xa82dc909
lea eax, [ebp - 0x58]
push eax
mov eax, 0x92db6780
add eax, 0x6d65190c
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xc443afcf
add dword [ebp - 0x58], 0xb02eb987
mov dword [ebp - 0x54], 0x6115435e
add dword [ebp - 0x54], 0xe0571e17
mov dword [ebp - 0x50], 0x1807cb42
sub dword [ebp - 0x50], 0xb4985ed6
mov dword [ebp - 0x4c], 0xf54b758
sub dword [ebp - 0x4c], 0xf54b758
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3b84e
push 0
call eax
mov ecx, 0x5b52
xor ebx, ebx
add ebx, eax
mov edi, 0x411000
add edi, dword [ebp - 0x48]
mov edx, 0x4fe44f9a
xor dword [ebp - 0x18], ebx
mov esi, dword [edi]
sub dword [ebp - 0x40], edi
sub esi, edx
sub dword [ebp - 0x2c], esi
mov dword [ebx], esi
sub dword [ebp - 0x3c], 0x52206c58
add ebx, 0x41b8b746
add ebx, 0xbe4748be
add edi, 4
loop 0x402d08
add eax, 0x18871ea3
sub eax, 0x1885be88
xor ebx, ebx
add ebx, eax
add eax, 0xa66e43a
add eax, 0xf5991bcb
mov ecx, 0xf060f540
add ecx, 0xfdf0ac0
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3b4c423b
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x3aa07e0c
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x107a0058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.107a01a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x107a007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x107a006a
add dl, dl
jne 0x107a0089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x107a00dc
xor eax, eax
add dl, dl
jne 0x107a0096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x107a017d
add dl, dl
jne 0x107a00a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107a00b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107a00bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107a00c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x107a00d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x107a0075
mov eax, 1
add dl, dl
jne 0x107a00ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107a00f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x107a00e1
sub eax, ebx
mov ebx, 1
jne 0x107a0128
mov ecx, 1
add dl, dl
jne 0x107a010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x107a0119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x107a0105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x107a0075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x107a013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x107a014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x107a0136
cmp eax, 0x7d00
jae 0x107a016d
cmp eax, 0x500
jb 0x107a0168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x107a0075
cmp eax, 0x7f
ja 0x107a0170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x107a0075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x107a019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x107a0075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4a5270
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.Fox_
lea edi, [esi - 0xa0000]
push edi
jmp 0x4a528a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a5291
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a5280
mov eax, 1
add ebx, ebx
jne 0x4a52a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a52b4
jne 0x4a52d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a52d3
dec eax
add ebx, ebx
jne 0x4a52c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a5298
add ebx, ebx
jne 0x4a52cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4a5325
xor ecx, ecx
sub eax, 3
jb 0x4a52eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a535a
sar eax, 1
mov ebp, eax
jmp 0x4a52f6
add ebx, ebx
jne 0x4a52f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a52c4
inc ecx
add ebx, ebx
jne 0x4a5304
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a52c4
add ebx, ebx
jne 0x4a5311
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a5306
jne 0x4a5322
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a5306
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a5344
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a5336
jmp 0x4a5286
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a5344
add edi, ecx
jmp 0x4a5286
pop esi
mov edi, esi
mov ecx, 0x234
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a5362
cmp byte [edi], 1
jne 0x4a5362
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 0x4a5367
lea edi, [esi + 0xa3000]
mov eax, dword [edi]
or eax, eax
je 0x4a53df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa9b24]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa9bd8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a5394
mov ecx, edi
jns 0x4a53c3
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 + 0xa9bdc]
or eax, eax
je 0x4a53d9
mov dword [ebx], eax
add ebx, 4
jmp 0x4a53b1
call dword [esi + 0xa9bec]
mov ebp, dword [esi + 0xa9be0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x4a5413
sub esp, 0xffffff80
jmp 0x403325
Function at 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219