joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101a1e00
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x101a1fed
pushal
mov esi, section.UPX1
lea edi, [esi - 0x116000]
push edi
jmp 0x101a1e2a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x101a1e31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101a1e20
mov eax, 1
add ebx, ebx
jne 0x101a1e43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x101a1e54
jne 0x101a1e73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101a1e73
dec eax
add ebx, ebx
jne 0x101a1e60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x101a1e38
add ebx, ebx
jne 0x101a1e6f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x101a1ec5
xor ecx, ecx
sub eax, 3
jb 0x101a1e8b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x101a1efa
sar eax, 1
mov ebp, eax
jmp 0x101a1e96
add ebx, ebx
jne 0x101a1e96
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101a1e64
inc ecx
add ebx, ebx
jne 0x101a1ea4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101a1e64
add ebx, ebx
jne 0x101a1eb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x101a1ea6
jne 0x101a1ec2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x101a1ea6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x101a1ee4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x101a1ed6
jmp 0x101a1e26
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x101a1ee4
add edi, ecx
jmp 0x101a1e26
pop esi
mov edi, esi
mov ecx, 0x90ba
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x101a1f02
cmp byte [edi], 0x17
jne 0x101a1f02
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 0x101a1f07
lea edi, [esi + 0x197000]
mov eax, dword [edi]
or eax, eax
je 0x101a1f7f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a277c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a284c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x101a1f34
mov ecx, edi
jns 0x101a1f63
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 + 0x1a2850]
or eax, eax
je 0x101a1f79
mov dword [ebx], eax
add ebx, 4
jmp 0x101a1f51
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x101a1fb0
cmp al, 0xef
ja 0x101a1fa3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x101a1f85
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x101a1f92
mov ebp, dword [esi + 0x1a2854]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x25f]
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 0x101a1fe4
sub esp, 0xffffff80
jmp 0x100ec7b2
Function at 0x402fa0
Capabilities:
Encode data using xor
Hash data using murmur2
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x3c
mov eax, dword [0x42b014]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
xor ecx, ecx
push edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x18], ecx
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov dword [esp + 0x2c], eax
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add edx, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], eax
test eax, eax
je 0x40318a
nop dword [eax]
mov edx, dword [edx]
xorps xmm0, xmm0
add edx, esi
mov dword [esp + 0x40], 0
mov eax, edx
mov dword [esp + 0x44], 0
movups xmmword [esp + 0x30], xmm0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403011
sub eax, esi
lea ecx, [esp + 0x30]
push eax
push edx
call fcn.00401430
mov edi, dword [esp + 0x40]
lea eax, [esp + 0x30]
mov ebx, dword [esp + 0x30]
mov esi, edi
xor esi, 0x235
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x44], 0x10
mov ebp, edi
cmovae eax, ebx
shr ebp, 2
xor edx, edx
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x403089
mov ebx, eax
nop word [eax + eax]
imul ecx, dword [ebx + edx*4], 0x5bd1e995
inc edx
imul esi, esi, 0x5bd1e995
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e995
xor esi, ecx
cmp edx, ebp
jl 0x403060
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
and edi, 3
xor ecx, ecx
sub edi, 1
je 0x4030af
sub edi, 1
je 0x4030a5
sub edi, 1
jne 0x4030c1
movsx ecx, byte [eax + ebp*4 + 2]
shl ecx, 0x10
movsx eax, byte [eax + ebp*4 + 1]
shl eax, 8
xor ecx, eax
mov eax, dword [esp + 0x10]
movsx eax, byte [eax + ebp*4]
xor eax, ecx
imul eax, eax, 0x5bd1e995
xor esi, eax
mov eax, esi
shr eax, 0xd
xor eax, esi
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
cmp eax, dword [esp + 0x54]
je 0x403137
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
add edx, 4
mov dword [esp + 0x14], edx
cmp eax, 0x10
jb 0x40311e
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x403110
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4031a3
push ecx
push ebx
call fcn.00406091
mov edx, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [esp + 0x28]
jb 0x402ff0
jmp 0x40318a
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + esi]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x40318a
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x403180
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4031a3
push ecx
push ebx
call fcn.00406091
add esp, 8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
add eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040609f
add esp, 0x3c
ret
call fcn.0040a89f
int3
Function at 0x40681d
Capabilities:
Parse pe header

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

Function at 0x410e19
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x421478
push 0x421470
push str.FlsAlloc
push 0x1e
call fcn.00410c86
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410e4d
push dword [ebp + 8]
mov ecx, esi
call dword [0x41e130]
call esi
jmp 0x410e53
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x410e97
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x421488
push 0x421480
push str.FlsGetValue
push 0x20
call fcn.00410c86
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410ece
push dword [ebp + 8]
mov ecx, esi
call dword [0x41e130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41278a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041242c

Function at 0x412795
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004125bb
Function at 0x413fd1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00406bc0
mov eax, dword [0x42b014]
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.00412405
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x414013
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41416f
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0041d960
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 + 0x42c928]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004143f7
mov ecx, dword [esi*4 + 0x42c928]
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 0x414168
cmp eax, dword [edi + ecx + 0x24]
jne 0x414168
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 0x414168
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004143f7
add esp, 0x14
test edx, edx
jl 0x414168
jg 0x4140de
test eax, eax
jb 0x414168
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x414168
jl 0x4140f8
cmp dword [ebp - 0x1008], eax
ja 0x414168
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x414116
test ebx, ebx
je 0x41414f
cmp ecx, edi
jae 0x41414f
mov al, byte [ecx]
cmp al, 0xd
jne 0x414130
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41413c
cmp byte [ecx + 1], 0xa
jne 0x41413c
inc ecx
jmp 0x41413c
movzx eax, al
movsx eax, byte [eax + 0x42b970]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x414116
cmp edx, ebx
jne 0x414116
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41416d
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040609f
leave
ret
Function at 0x417bd4
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 0x417c71
push ebx
push esi
call fcn.00417b9d
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.004167a1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x417c1e
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x417c70
push edi
push eax
call fcn.0041116f
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x417c3e
call fcn.004109ab
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x417c6f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004167a1
add esp, 0x20
test eax, eax
jne 0x417c5d
push edi
call fcn.004109ab
jmp 0x417c65
push ebx
call fcn.004109ab
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 0x41af59
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 + 0x42c928]
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 0x41af99
cmp byte [ebx], 0xa
jne 0x41af99
or byte [eax + edi + 0x28], 4
jmp 0x41af9e
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41b09c
mov al, byte [edx]
cmp al, 0x1a
je 0x41b07e
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41afcd
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41aff2
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41affc
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 0x41afaf
jmp 0x41b09c
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 0x41b079
cmp dword [ebp - 0xc], 0
je 0x41b079
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x42c928]
test byte [eax + edi + 0x28], 0x48
je 0x41b053
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41b03e
mov byte [esi], dl
jmp 0x41b04f
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x42c928]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41b09c
cmp byte [ebp - 1], 0xa
jne 0x41b062
cmp esi, ebx
jne 0x41b062
mov byte [esi], 0xa
jmp 0x41b09b
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00414415
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41b09c
mov byte [esi], 0xd
jmp 0x41b09b
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x42c928]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41b098
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41b09c
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41b0a5
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 + 0x42c928]
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 0x41b0e8
cmp word [esi], dx
jne 0x41b0e8
or byte [edi + eax + 0x28], 4
jmp 0x41b0ed
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 0x41b240
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 0x41b220
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41b12f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41b165
cmp eax, edx
jae 0x41b171
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 0x41b107
jmp 0x41b240
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 0x41b21c
cmp dword [ebp - 0x14], 0
je 0x41b21c
mov eax, dword [ebx*4 + 0x42c928]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41b1f4
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41b1bd
mov word [esi], cx
jmp 0x41b1f0
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x42c928]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x42c928]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x42c928]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41b240
pop ebx
cmp word [ebp - 4], bx
jne 0x41b205
cmp esi, dword [ebp + 0xc]
jne 0x41b205
mov word [esi], bx
jmp 0x41b23d
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00414415
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41b240
push 0xd
jmp 0x41b239
mov ecx, dword [ebx*4 + 0x42c928]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41b237
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41b240
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 0x41d920
Capabilities:
Parse pe header

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

Disassembly:
cmp byte [esp + 8], 1
jne 0x1004d17d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x33000]
push edi
jmp 0x1004cfba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1004cfc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1004cfb0
mov eax, 1
add ebx, ebx
jne 0x1004cfd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1004cfe4
jne 0x1004d003
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1004d003
dec eax
add ebx, ebx
jne 0x1004cff0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1004cfc8
add ebx, ebx
jne 0x1004cfff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1004d055
xor ecx, ecx
sub eax, 3
jb 0x1004d01b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1004d08a
sar eax, 1
mov ebp, eax
jmp 0x1004d026
add ebx, ebx
jne 0x1004d026
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1004cff4
inc ecx
add ebx, ebx
jne 0x1004d034
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1004cff4
add ebx, ebx
jne 0x1004d041
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1004d036
jne 0x1004d052
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1004d036
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1004d074
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1004d066
jmp 0x1004cfb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1004d074
add edi, ecx
jmp 0x1004cfb6
pop esi
mov edi, esi
mov ecx, 0x1601
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1004d092
cmp byte [edi], 6
jne 0x1004d092
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 0x1004d097
lea edi, [esi + 0x45000]
mov eax, dword [edi]
or eax, eax
je 0x1004d10f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4d000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4d0a0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1004d0c4
mov ecx, edi
jns 0x1004d0f3
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 + 0x4d0a4]
or eax, eax
je 0x1004d109
mov dword [ebx], eax
add ebx, 4
jmp 0x1004d0e1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1004d140
cmp al, 0xef
ja 0x1004d133
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1004d115
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1004d122
mov ebp, dword [esi + 0x4d0a8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x1004d174
sub esp, 0xffffff80
jmp 0x100315bf
Function at 0x40d9cc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x40da49
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x40da2d
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x40da23
push 0x178d
push 0
push 0x11d0
push 0
push 0x23c3
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringW]
jmp 0x40da2b
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x40da47
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 1
push 0
push 0x4958
call fcn.0040ce09
add esp, 0x10
jmp 0x40da57
push 0x5d68
push 0
call fcn.0040e07c
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41c620
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x41c6f8
lea eax, [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x41c6d1
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x41c6a6
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x41c6a4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jmp 0x41c6cf
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ecx], eax
jmp 0x41c6f6
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
push 1
push dword [ebp - 0x48]
push 0x20a4
push dword [ebp - 0x4c]
push 0
push 1
call fcn.00415f2f
add esp, 0x18
jmp 0x41c736
lea eax, [ebp + 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x41c71e
push 1
push 0x5210
call fcn.0040e0a4
pop ecx
pop ecx
jmp 0x41c736
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
push 0x628e
push dword [ebp - 0x58]
push 0
call fcn.0041638d
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x41d25b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 8]
test eax, eax
je 0x41d33d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x41d30a
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x41d2eb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x41d2e9
push 1
push 1
push 0x10bb
push 1
push 0x5f15
push 0x188c
push 1
push 0x5776
push 1
push 1
call fcn.0041a496
add esp, 0x28
jmp 0x41d308
push 0
push 0
push 0
push 0
push 0x2146
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x41d33b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
push 1
push 0x32e9
push 0x80b
push 1
push dword [ebp - 0x28]
push 0x76b3
push 1
push 1
push dword [ebp - 0x2c]
call fcn.00410034
add esp, 0x24
jmp 0x41d35f
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
push 0x7002
push 0x5230
push dword [ebp - 0x30]
push 0x2d25
push 1
call fcn.00412f8c
add esp, 0x14
mov esp, ebp
pop ebp
ret