joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10050e64
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1006b5e4
push 0x1006b5dc
push str.FlsAlloc
push 0x1e
call fcn.10050c91
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10050e98
push dword [ebp + 8]
mov ecx, esi
call dword [0x100671c4]
call esi
jmp 0x10050e9e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10050ee2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1006b5f4
push 0x1006b5ec
push str.FlsGetValue
push 0x20
call fcn.10050c91
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10050f19
push dword [ebp + 8]
mov ecx, esi
call dword [0x100671c4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1005286d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100526de

Function at 0x10052d12
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.1003c750
mov eax, dword [0x10081080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.1004d19a
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10052d54
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10052eb0
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.1005ec40
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x10089068]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.10053af3
mov ecx, dword [esi*4 + 0x10089068]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x10052ea9
cmp eax, dword [edi + ecx + 0x24]
jne 0x10052ea9
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10052ea9
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10053af3
add esp, 0x14
test edx, edx
jl 0x10052ea9
jg 0x10052e1f
test eax, eax
jb 0x10052ea9
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x10052ea9
jl 0x10052e39
cmp dword [ebp - 0x1008], eax
ja 0x10052ea9
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x10052e57
test ebx, ebx
je 0x10052e90
cmp ecx, edi
jae 0x10052e90
mov al, byte [ecx]
cmp al, 0xd
jne 0x10052e71
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10052e7d
cmp byte [ecx + 1], 0xa
jne 0x10052e7d
inc ecx
jmp 0x10052e7d
movzx eax, al
movsx eax, byte [eax + 0x100814d8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x10052e57
cmp edx, ebx
jne 0x10052e57
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10052eae
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1003b65e
leave
ret
Function at 0x10052fab
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x10089068]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10052feb
cmp byte [ebx], 0xa
jne 0x10052feb
or byte [eax + edi + 0x28], 4
jmp 0x10052ff0
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x100530ee
mov al, byte [edx]
cmp al, 0x1a
je 0x100530d0
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x1005301f
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x10053044
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x1005304e
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x10053001
jmp 0x100530ee
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100530cb
cmp dword [ebp - 0xc], 0
je 0x100530cb
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x10089068]
test byte [eax + edi + 0x28], 0x48
je 0x100530a5
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x10053090
mov byte [esi], dl
jmp 0x100530a1
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10089068]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100530ee
cmp byte [ebp - 1], 0xa
jne 0x100530b4
cmp esi, ebx
jne 0x100530b4
mov byte [esi], 0xa
jmp 0x100530ed
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10053b11
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100530ee
mov byte [esi], 0xd
jmp 0x100530ed
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x10089068]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100530ea
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100530ee
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100530f7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x10089068]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1005313a
cmp word [esi], dx
jne 0x1005313a
or byte [edi + eax + 0x28], 4
jmp 0x1005313f
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x10053278
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x10053258
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x10053181
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100531b7
cmp eax, edx
jae 0x100531c3
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
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 - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x10053159
jmp 0x10053278
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10053254
cmp dword [ebp - 0x14], 0
je 0x10053254
mov eax, dword [ebx*4 + 0x10089068]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x1005322c
mov cx, word [ebp - 4]
pop eax
cmp cx, ax
je 0x10053272
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x10089068]
push 0xa
mov byte [edi + eax + 0x2a], cl
mov eax, dword [ebx*4 + 0x10089068]
shr cx, 8
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x10089068]
pop ecx
mov byte [edi + eax + 0x2c], cl
jmp 0x10053275
pop ebx
cmp word [ebp - 4], bx
jne 0x1005323d
cmp esi, dword [ebp + 0xc]
jne 0x1005323d
mov word [esi], bx
jmp 0x10053275
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10053b11
add esp, 0x10
cmp word [ebp - 4], bx
je 0x10053278
push 0xd
jmp 0x10053271
mov ecx, dword [ebx*4 + 0x10089068]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1005326f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10053278
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1005628e
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 0x1005632b
push ebx
push esi
call fcn.10056257
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.100513b0
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100562d8
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1005632a
push edi
push eax
call fcn.1004c2a9
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100562f8
call fcn.1004c26f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10056329
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100513b0
add esp, 0x20
test eax, eax
jne 0x10056317
push edi
call fcn.1004c26f
jmp 0x1005631f
push ebx
call fcn.1004c26f
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 0x1005632e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1005633f
pop esi
ret
push ebx
push edi
push esi
call fcn.10056257
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1004c2a9
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10056367
push ebx
push esi
push edi
call fcn.1003ce10
add esp, 0xc
push 0
call fcn.1004c26f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1005672b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1005637c
Function at 0x1005d371
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]
push dword [ebp + 0xc]
push ebx
call fcn.1005d2ed
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1005d4e9
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1005d4e9
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1005d498
jg 0x1005d3ca
test eax, eax
je 0x1005d48e
push 1
push 0x1000
call fcn.1004c212
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1005d3f0
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x1005d485
push 0x8000
push ebx
call fcn.1005d21e
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1005d41c
jg 0x1005d417
cmp ecx, 0x1000
jb 0x1005d41c
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10052134
add esp, 0x10
cmp eax, 0xffffffff
je 0x1005d461
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 0x1005d417
jl 0x1005d448
test ecx, ecx
jne 0x1005d409
push dword [ebp - 0xc]
push ebx
call fcn.1005d21e
push esi
call fcn.1004c26f
add esp, 0xc
xor edi, edi
jmp 0x1005d4fa
cmp byte [edi + 0x24], 0
je 0x1005d478
cmp dword [edi + 0x20], 5
jne 0x1005d478
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1005d483
mov edi, dword [edi + 0x18]
jmp 0x1005d485
xor edi, edi
push esi
call fcn.1004c26f
pop ecx
jmp 0x1005d4fa
test ecx, ecx
jg 0x1005d45a
jl 0x1005d498
test eax, eax
jae 0x1005d45a
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10053b11
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1005d4bb
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x1005d45a
jmp 0x1005d4f2
push ebx
call fcn.1005a9c7
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1005d45a
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x1005d4fa
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x1005d4f7
mov edi, dword [edi + 0x18]
jmp 0x1005d4fa
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10053b11
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1005eb20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1005eb4d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1005eb4d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x412e60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
jmp 0x412e7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x412e81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x412e70
mov eax, 1
add ebx, ebx
jne 0x412e93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x412e88
jne 0x412ea4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412e88
xor ecx, ecx
sub eax, 3
jb 0x412eb8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x412f2a
mov ebp, eax
add ebx, ebx
jne 0x412ec3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412ed0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x412ef4
inc ecx
add ebx, ebx
jne 0x412ee0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x412ed5
jne 0x412ef1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412ed5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x412f14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x412f05
jmp 0x412e76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x412f14
add edi, ecx
jmp 0x412e76
pop esi
mov edi, esi
mov ecx, 0x2ff
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x412f32
cmp byte [edi], 0
jne 0x412f32
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 0x412f37
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x412fa6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16ca0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x16d2c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x412f64
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x16d30]
or eax, eax
je 0x412fa0
mov dword [ebx], eax
add ebx, 4
jmp 0x412f81
call dword [esi + 0x16d40]
mov ebp, dword [esi + 0x16d34]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x412fda
sub esp, 0xffffff80
jmp 0x406eb0
Function at 0xb0e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00b0e1a8
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 0xb0e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb0e06a
add dl, dl
jne 0xb0e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb0e0dc
xor eax, eax
add dl, dl
jne 0xb0e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb0e17d
add dl, dl
jne 0xb0e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb0e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb0e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb0e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb0e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb0e075
mov eax, 1
add dl, dl
jne 0xb0e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb0e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb0e0e1
sub eax, ebx
mov ebx, 1
jne 0xb0e128
mov ecx, 1
add dl, dl
jne 0xb0e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb0e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb0e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb0e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb0e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb0e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb0e136
cmp eax, 0x7d00
jae 0xb0e16d
cmp eax, 0x500
jb 0xb0e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb0e075
cmp eax, 0x7f
ja 0xb0e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb0e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb0e19e
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 0xb0e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x57fa70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x102000]
push edi
or ebp, 0xffffffff
jmp 0x57fa92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x57fa99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57fa88
mov eax, 1
add ebx, ebx
jne 0x57faab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x57fabc
jne 0x57fadb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57fadb
dec eax
add ebx, ebx
jne 0x57fac8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x57faa0
add ebx, ebx
jne 0x57fad7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x57fb2d
xor ecx, ecx
sub eax, 3
jb 0x57faf3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x57fb62
sar eax, 1
mov ebp, eax
jmp 0x57fafe
add ebx, ebx
jne 0x57fafe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57facc
inc ecx
add ebx, ebx
jne 0x57fb0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57facc
add ebx, ebx
jne 0x57fb19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x57fb0e
jne 0x57fb2a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x57fb0e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x57fb4c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x57fb3e
jmp 0x57fa8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x57fb4c
add edi, ecx
jmp 0x57fa8e
pop esi
mov edi, esi
mov ecx, 0x437c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x57fb6a
cmp byte [edi], 0xd
jne 0x57fb6a
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 0x57fb6f
lea edi, [esi + 0x17c000]
mov eax, dword [edi]
or eax, eax
je 0x57fbe7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1808e0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1809dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x57fb9c
mov ecx, edi
jns 0x57fbcb
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 + 0x1809e4]
or eax, eax
je 0x57fbe1
mov dword [ebx], eax
add ebx, 4
jmp 0x57fbb9
call dword [esi + 0x1809e0]
mov ebp, dword [esi + 0x1809e8]
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 0x57fc1b
sub esp, 0xffffff80
jmp 0x401380
Function at 0x40102b
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
push esp
pop ebp
and esp, 0xfffffff8
sub esp, 0x1c
mov al, byte [ecx]
and dword [esp + 0x18], 0
push ebx
push esi
mov byte [edx], al
lea eax, [edx + 1]
push edi
sub edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x14]
xor ebx, ebx
lea eax, [ecx + 1]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
jmp loc.0047c4dc

Function at 0x401271
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x1c
push esi
push ecx
pop esi
sub ecx, ecx
mov edx, dword [esi + 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
add edx, esi
mov dword [eax], ecx
mov eax, 0x14c
push edi
push ecx
pop edi
cmp word [edx + 4], ax
jne 0x4013b8
push ebx
mov ebx, dword [edx + 0x88]
mov dword [ebp - 0x14], ebx
or ebx, ebx
je 0x4013b7
cmp dword [edx + 0x8c], ecx
je 0x4013b7
movzx eax, word [edx + 0x14]
add eax, 0x18
add eax, edx
movzx edx, word [edx + 6]
or edx, edx
je 0x4013b7
cmp dword [eax + 0xc], ebx
je 0x4012e2
inc ecx
add eax, 0x28
cmp ecx, edx
jb 0x4012d0
jmp 0x4013b7
mov edx, dword [eax + 0x14]
add edx, esi
push 0
movzx ecx, word [edx + 0xe]
movzx eax, word [edx + 0xc]
add ecx, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1c], ecx
pop ebx
je 0x4013b7
xor eax, eax
mov esi, dword [edx + eax*8 + 0x14]
and esi, 0x7fffffff
add esi, edx
push 0
movzx ecx, word [esi + 0xe]
movzx eax, word [esi + 0xc]
add ecx, eax
mov dword [ebp - 0x18], ecx
pop ecx
mov dword [ebp - 0xc], ecx
je 0x4013aa
xor eax, eax
cmp word [esi + eax*8 + 0x10], 0x65
jne 0x40139a
mov ecx, dword [esi + eax*8 + 0x14]
and ecx, 0x7fffffff
add ecx, edx
mov dword [ebp - 8], 0
movzx eax, word [ecx + 0xe]
mov dword [ebp - 4], eax
movzx eax, word [ecx + 0xc]
add dword [ebp - 4], eax
je 0x401393
sub eax, eax
mov edx, 0x409
cmp word [ecx + eax*8 + 0x10], dx
mov edx, dword [ebp - 0x10]
je 0x401376
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
movzx eax, ax
cmp eax, dword [ebp - 4]
jb 0x401356
jmp 0x401393
mov ecx, dword [ecx + eax*8 + 0x14]
mov edi, dword [ebp + 0xc]
mov eax, dword [ecx + edx]
sub eax, dword [ebp - 0x14]
add eax, edx
mov dword [edi], eax
mov eax, dword [ecx + edx + 4]
mov ecx, dword [ebp + 0x10]
sub edi, edi
mov dword [ecx], eax
inc edi
or edi, edi
jne 0x4013b7
mov ecx, dword [ebp - 0xc]
inc ecx
movzx eax, cx
mov dword [ebp - 0xc], ecx
cmp eax, dword [ebp - 0x18]
jb 0x401329
or edi, edi
jne 0x4013b7
inc ebx
movzx eax, bx
cmp eax, dword [ebp - 0x1c]
jb 0x401302
pop ebx
mov eax, edi
pop edi
pop esi
leave
ret 0xc

Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esp
pop ebp
push ebx
push esi
push edi
mov edi, edx
mov ebx, edi
shr ebx, 2
and edi, 3
mov esi, ecx
test ebx, ebx
je 0x4013f3
mov al, byte [ebp + 0xc]
mov edx, dword [esi]
add al, bl
movzx ecx, al
mov eax, dword [ebp + 8]
ror edx, cl
xor edx, eax
sub edx, ebx
mov dword [esi], edx
add esi, 4
dec ebx
jne 0x4013d6
jmp 0x4013f6
mov eax, dword [ebp + 8]
test edi, edi
je 0x401400
xor byte [esi], al
inc esi
dec edi
jne 0x4013fa
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x401407
Capabilities:
Terminate process

Disassembly:
push ebx
mov eax, 0x1f2e6
mov ebx, 0x12345678
mov ecx, 0x12345678
mov edx, 0x12345678
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [section..data], eax
jmp loc.0047b432