joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006d860
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov ebx, ecx
mov dword [esp + 0x1c], edx
push edi
mov ecx, 0x10103106
call fcn.100d96c4
xor edi, edi
cmp byte [ebx + 0x50], 2
je 0x1006d88f
cmp dword [0x100ff04c], edi
je 0x1006d88f
mov ebp, dword [ebx + 0x98]
jmp 0x1006d891
xor ebp, ebp
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], ebp
mov eax, dword [eax + 0x2c]
movzx eax, word [eax + 6]
lea ecx, [eax*4 + 0x14]
lea eax, [ebp*8]
mov dword [esp + 0x18], ecx
add eax, ebp
lea eax, [eax*8 + 0x88]
mov dword [esp + 0x14], eax
add eax, ecx
cdq
mov ecx, ebx
push edx
push eax
call fcn.1003ee80
mov esi, eax
add esp, 8
test esi, esi
je 0x1006d8e8
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x18]
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x28], esi
test esi, esi
jne 0x1006d8fe
lea eax, [esi + 7]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x14]
push dword [esp + 0x18]
add eax, esi
mov dword [esi + 0x1c], eax
push dword [ecx + 0x2c]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esp + 0x20]
mov dword [esi + ecx + 0xc], edi
test eax, eax
je 0x1006d930
test ebp, ebp
jne 0x1006d930
mov word [esi + ecx + 6], ax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x2c], eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x18], ebx
lea ecx, [eax + 1]
dec al
cmp cl, 1
mov byte [esi + 0x3a], al
mov byte [esi + 0x3b], cl
seta al
xor edx, edx
mov byte [esi + 0x39], al
test cl, cl
je 0x1006d975
lea ecx, [esi + 0x48]
mov dword [ecx], esi
lea ecx, [ecx + 0x48]
movzx eax, byte [esi + 0x3b]
inc edx
cmp edx, eax
jl 0x1006d967
cmp byte [ebx + 0x50], 2
je 0x1006da07
mov ebp, dword [0x100ff124]
mov ecx, dword [esp + 0x2c]
imul ebp, ecx
mov dword [esi], ebp
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x50]
cdq
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
test edx, edx
jg 0x1006d9b4
jl 0x1006d9aa
test eax, eax
jae 0x1006d9b4
mov eax, 0xfffffc00
or edx, 0xffffffff
jmp 0x1006d9b7
mov eax, ecx
cdq
push edx
push eax
push dword [esp + 0x28]
push dword [esp + 0x28]
call fcn.100d9890
test edx, edx
jl 0x1006d9d8
jg 0x1006d9d3
cmp eax, 0x20000000
jb 0x1006d9d8
mov eax, 0x20000000
cmp ebp, eax
cmovle ebp, eax
mov dword [esi + 4], ebp
cmp dword [0x100ff05c], edi
jne 0x1006da07
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x34], eax
cdq
push edx
push eax
call fcn.1003e840
add esp, 8
mov dword [esi + 0x28], eax
test eax, eax
mov ecx, 7
cmove edi, ecx
mov eax, dword [esp + 0x14]
cmp word [esi + eax + 8], 0xd
jae 0x1006da24
mov eax, dword [esi + eax + 0x14]
test eax, eax
je 0x1006da20
cmp eax, dword [ebx + 8]
jne 0x1006da24
mov byte [esi + 0x3c], 3
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x1006dab0
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
mov ebx, ecx
mov ebp, edx
push edi
mov ecx, 0x10103106
call fcn.100d96c4
push 0
push 0x14
mov dword [ebx], 0
call fcn.1003e840
mov esi, eax
add esp, 8
test esi, esi
jne 0x1006dae2
lea eax, [esi + 7]
pop edi
pop esi
pop ebp
pop ebx
ret
cmp dword [0x100ff04c], 0
mov edi, dword [esp + 0x14]
je 0x1006db2b
mov eax, dword [0x100ff14c]
test eax, eax
je 0x1006db06
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x1006db2b
lea eax, [esi + 4]
mov dword [esi + 8], ebp
push eax
push 0
push esi
push 0x10041860
push 0
push 0
mov dword [esi + 0xc], edi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x1006db38
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x1006db50
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call ebp
add esp, 4
mov dword [esi + 0x10], eax
pop edi
mov dword [ebx], esi
xor eax, eax
pop esi
pop ebp
pop ebx
ret
Function at 0x10079b90
Capabilities:
Reference sql statements

Disassembly:
push ebx
mov ebx, ecx
mov ecx, 0x10103106
push edi
mov edi, edx
call fcn.100d96c4
push dword [esp + 0xc]
push edi
push str.sqlite_master
push edi
push str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
push ebx
call fcn.1007e510
add esp, 0x18
cmp dword [esp + 0xc], 0
jne 0x10079bd4
push edi
push str.sqlite_master
push str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
push ebx
call fcn.1007e510
add esp, 0x10
pop edi
pop ebx
ret

Function at 0x1007e630
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov ebx, ecx
mov ebp, edx
push edi
mov ecx, 0x10103106
mov dword [esp + 0x10], ebx
call fcn.100d96c4
mov ecx, dword [esp + 0x1c]
nop dword [eax]
xor esi, esi
cmp dword [ebx + 0x14], esi
jle 0x1007e6d1
mov edi, esi
xor edi, 1
cmp esi, 2
cmovge edi, esi
test ecx, ecx
je 0x1007e689
mov edx, edi
mov eax, ecx
mov ecx, dword [ebx + 0x10]
add edx, edx
mov ebx, dword [ecx + edx*8]
sub ebx, dword [esp + 0x1c]
movzx edx, byte [eax]
movzx ecx, byte [ebx + eax]
cmp edx, ecx
jne 0x1007e6ae
test edx, edx
jne 0x1007e6c0
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x10]
add edi, edi
push 0
mov edx, ebp
mov ecx, dword [eax + edi*8 + 0xc]
add ecx, 8
call fcn.10043840
add esp, 4
mov eax, dword [eax + 8]
test eax, eax
jne 0x1007e738
jmp 0x1007e6c7
movzx ecx, byte [ecx + 0x100e4a00]
movzx edx, byte [edx + 0x100e4a00]
sub edx, ecx
jne 0x1007e6c3
inc eax
jmp 0x1007e676
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc esi
cmp esi, dword [ebx + 0x14]
jl 0x1007e657
mov edx, str.sqlite_master
sub edx, ebp
nop dword [eax + eax]
movzx ecx, byte [ebp]
movzx eax, byte [edx + ebp]
cmp ecx, eax
jne 0x1007e704
test ecx, ecx
jne 0x1007e716
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
test ecx, ecx
jne 0x1007e719
neg eax
sbb eax, eax
jmp 0x1007e728
movzx eax, byte [eax + 0x100e4a00]
movzx ecx, byte [ecx + 0x100e4a00]
sub ecx, eax
jne 0x1007e736
inc ebp
jmp 0x1007e6e0
test eax, eax
je 0x1007e736
mov edx, eax
call fcn.10042210
mov ecx, dword [esp + 0x1c]
test eax, eax
jne 0x1007e736
mov ebp, str.sqlite_temp_master
jmp 0x1007e650
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x1007ea80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
push edi
mov ecx, 0x10103106
mov dword [esp + 0x14], esi
call fcn.100d96c4
xor ebx, ebx
xor edi, edi
cmp dword [esi + 0x14], ebx
jle 0x1007eb27
push ebp
mov ebp, dword [esp + 0x24]
nop dword [eax]
mov esi, dword [esi + 0x10]
mov ecx, edi
xor ecx, 1
cmp edi, 2
cmovge ecx, edi
add ecx, ecx
mov eax, dword [esi + ecx*8 + 0xc]
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x1007eae6
mov esi, dword [esi + ecx*8]
mov eax, ebp
sub esi, ebp
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x1007eb12
test edx, edx
jne 0x1007eb24
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea ecx, [eax + 0x18]
push 0
call fcn.10043840
add esp, 4
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x1007eb08
mov esi, dword [esp + 0x18]
inc edi
cmp edi, dword [esi + 0x14]
jl 0x1007eab0
pop ebp
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x10
ret
movzx ecx, byte [ecx + 0x100e4a00]
movzx edx, byte [edx + 0x100e4a00]
sub edx, ecx
jne 0x1007eafe
inc eax
jmp 0x1007ead3
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x10
ret
Function at 0x100cdc60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7c
push ebx
push ebp
push esi
mov ebx, ecx
mov ebp, edx
push edi
mov ecx, 0x10103106
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
call fcn.100d96c4
push 0x38
xorps xmm0, xmm0
lea eax, [esp + 0x54]
push 0
movups xmmword [esp + 0x48], xmm0
push eax
movlpd qword [esp + 0x3c], xmm0
mov dword [esp + 0x58], 0x13
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x50]
mov edx, ebp
mov ecx, ebx
push eax
push 1
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [esp + 0xa8]
call fcn.100bec20
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x100cde4b
push dword [esp + 0x44]
lea eax, [esp + 0x44]
mov ecx, ebx
push dword [esp + 0x44]
lea edx, [esp + 0x58]
mov dword [esp + 0x64], eax
call fcn.100c9ae0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100cde4b
lea edx, [esp + 0x50]
mov ecx, ebx
call fcn.100c9bb0
mov esi, eax
cmp esi, 0x64
jne 0x100cde4b
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
nop
mov edi, dword [esp + 0x80]
lea edx, [esp + 0x28]
mov ebx, dword [esp + 0x84]
xorps xmm0, xmm0
mov ecx, edi
movlpd qword [esp + 0x28], xmm0
add ebx, edi
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x30], xmm0
call fcn.100bb2b0
lea esi, [edi + eax]
cmp esi, ebx
jae 0x100cde29
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x14], eax
nop dword [eax + eax]
xorps xmm0, xmm0
lea edx, [esp + 0x28]
mov ecx, esi
movlpd qword [esp + 0x28], xmm0
call fcn.100bb2b0
add esi, eax
cmp esi, ebx
jae 0x100cde29
mov ecx, dword [esp + 0x28]
mov eax, ecx
mov edx, dword [esp + 0x2c]
or eax, edx
je 0x100cdde0
cmp ecx, 1
jne 0x100cdda5
test edx, edx
je 0x100cdde0
sub ecx, 2
sbb edx, 0
add edi, ecx
mov ecx, dword [esp + 0x78]
adc dword [esp + 0x34], edx
mov edx, dword [esp + 0x7c]
push edi
push dword [esp + 0x3c]
push ebp
push dword [esp + 0x20]
push dword [esp + 0xa0]
push dword [esp + 0x34]
call fcn.100cdba0
xor dword [esp + 0x34], eax
add esp, 0x18
xor dword [esp + 0x18], edx
jmp 0x100cde21
xorps xmm0, xmm0
or ecx, edx
movlpd qword [esp + 0x38], xmm0
mov ecx, esi
movlpd qword [esp + 0x30], xmm0
je 0x100cde02
lea edx, [esp + 0x38]
call fcn.100bb2b0
add esi, eax
jmp 0x100cde1d
lea edx, [esp + 0x28]
call fcn.100bb2b0
add esi, eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
adc ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
cmp esi, ebx
jb 0x100cdd70
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x50]
call fcn.100c9bb0
mov esi, eax
cmp esi, 0x64
je 0x100cdd20
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
jmp 0x100cde53
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x50]
call fcn.100ca210
mov ecx, dword [esp + 0x94]
mov edx, edi
pop edi
mov eax, ebx
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
Function at 0x100d79e0
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, edx
push edi
mov ecx, 0x10103106
call fcn.100d96c4
mov edi, dword [esi + ebx*4 + 0x18]
mov dword [esp + 0x14], str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
mov dword [esp + 0x18], str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
test edi, edi
jne 0x100d7a26
push dword [esi + 8]
push dword [esi + 4]
push dword [esp + ebx*4 + 0x1c]
push esi
call fcn.100d78e0
mov edi, eax
add esp, 0x10
mov dword [esi + ebx*4 + 0x18], edi
cmp dword [esi + 0x28], 0
jne 0x100d7ae6
mov ebp, dword [esp + 0x24]
push ebp
push dword [esp + 0x24]
push 1
push edi
call fcn.100651a0
push edi
call fcn.10064030
add esp, 0x14
cmp eax, 0x65
jne 0x100d7a7d
mov ecx, str.__parent
test ebx, ebx
mov eax, str.__rowid
cmove eax, ecx
mov ecx, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebp
push ecx
push str.Mapping___lld_____lld__missing_from__s_table
push esi
call fcn.100d7970
add esp, 0x1c
jmp 0x100d7ad4
cmp eax, 0x64
jne 0x100d7ad4
push 0
push edi
call fcn.100648f0
mov ecx, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jne 0x100d7a9f
cmp edx, ecx
je 0x100d7ad4
push ecx
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
test ebx, ebx
push ebp
push ecx
mov eax, str.__rowid
mov dword [esp + 0x20], str.__parent
cmove eax, dword [esp + 0x20]
push eax
push edx
push dword [esp + 0x2c]
push ebp
push ecx
push str.Found___lld_____lld__in__s_table__expected___lld_____lld_
push esi
call fcn.100d7970
add esp, 0x2c
push edi
call fcn.100631f0
add esp, 4
cmp dword [esi + 0x28], 0
jne 0x100d7ae6
mov dword [esi + 0x28], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0xcdab60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5aa000]
push edi
or ebp, 0xffffffff
jmp 0xcdab82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xcdab89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcdab78
mov eax, 1
add ebx, ebx
jne 0xcdab9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xcdabac
jne 0xcdabcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcdabcb
dec eax
add ebx, ebx
jne 0xcdabb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xcdab90
add ebx, ebx
jne 0xcdabc7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xcdac1d
xor ecx, ecx
sub eax, 3
jb 0xcdabe3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xcdac52
sar eax, 1
mov ebp, eax
jmp 0xcdabee
add ebx, ebx
jne 0xcdabee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcdabbc
inc ecx
add ebx, ebx
jne 0xcdabfc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcdabbc
add ebx, ebx
jne 0xcdac09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xcdabfe
jne 0xcdac1a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xcdabfe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xcdac3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xcdac2e
jmp 0xcdab7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xcdac3c
add edi, ecx
jmp 0xcdab7e
pop esi
mov edi, esi
mov ecx, 0x426e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xcdac5a
cmp byte [edi], 0x1e
jne 0xcdac5a
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 0xcdac5f
lea edi, [esi + 0x8d7000]
mov eax, dword [edi]
or eax, eax
je 0xcdacd7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8db880]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8db9a4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xcdac8c
mov ecx, edi
jns 0xcdacbb
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 + 0x8db9ac]
or eax, eax
je 0xcdacd1
mov dword [ebx], eax
add ebx, 4
jmp 0xcdaca9
call dword [esi + 0x8db9a8]
mov ebp, dword [esi + 0x8db9b0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0xcdad0b
sub esp, 0xffffff80
jmp 0x498e15
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x4148c6
Capabilities:
Read file on windows

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

Function at 0x418e62
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004189b5

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

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x7c2e447d
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..text_1
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x645028e5
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x402500
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov eax, 0x40
mov ebx, edx
mov esi, dword [edi]
and esi, 0x3f
mov byte [esi + edi + 0x18], 0x80
inc esi
sub eax, esi
cmp eax, 8
jae 0x402542
push eax
lea eax, [edi + 0x18]
add eax, esi
push 0
push eax
call fcn.0044c9f0
push 0x40
lea edx, [edi + 0x18]
mov ecx, edi
call fcn.00401b30
add esp, 0x10
mov eax, 0x40
xor esi, esi
add eax, 0xfffffff8
push eax
lea eax, [edi + 0x18]
add eax, esi
push 0
push eax
call fcn.0044c9f0
shl dword [edi], 3
lea edx, [edi + 0x18]
mov eax, dword [edi]
mov ecx, edi
mov byte [edi + 0x50], al
mov eax, dword [edi]
shr eax, 8
mov byte [edi + 0x51], al
movzx eax, byte [edi + 2]
mov byte [edi + 0x52], al
movzx eax, byte [edi + 3]
mov byte [edi + 0x53], al
movzx eax, byte [edi + 4]
mov byte [edi + 0x54], al
mov eax, dword [edi + 4]
shr eax, 8
mov byte [edi + 0x55], al
movzx eax, byte [edi + 6]
mov byte [edi + 0x56], al
movzx eax, byte [edi + 7]
push 0x40
mov byte [edi + 0x57], al
call fcn.00401b30
movzx eax, byte [edi + 8]
mov ecx, dword [edi + 8]
mov byte [ebx], al
mov eax, ecx
shr eax, 8
mov byte [ebx + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 2], al
movzx eax, byte [edi + 0xc]
mov byte [ebx + 4], al
shr ecx, 0x18
mov byte [ebx + 3], cl
mov ecx, dword [edi + 0xc]
mov eax, ecx
shr eax, 8
mov byte [ebx + 5], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 6], al
movzx eax, byte [edi + 0x10]
mov byte [ebx + 8], al
shr ecx, 0x18
mov byte [ebx + 7], cl
mov ecx, dword [edi + 0x10]
mov eax, ecx
shr eax, 8
mov byte [ebx + 9], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 0xa], al
movzx eax, byte [edi + 0x14]
shr ecx, 0x18
mov byte [ebx + 0xc], al
mov byte [ebx + 0xb], cl
mov ecx, dword [edi + 0x14]
mov eax, ecx
shr eax, 8
mov byte [ebx + 0xd], al
mov eax, ecx
push 0x98
shr eax, 0x10
shr ecx, 0x18
push 0
push edi
mov byte [ebx + 0xe], al
mov byte [ebx + 0xf], cl
call fcn.0044c9f0
add esp, 0x1c
pop edi
pop esi
pop ebx
ret
Function at 0x402630
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb0
mov eax, dword [0x47d00c]
xor eax, esp
mov dword [esp + 0xac], eax
push esi
mov esi, dword [ebp + 8]
mov eax, esi
and eax, 0x1fffffff
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 4], eax
mov eax, esi
shr eax, 0x1d
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
mov dword [esp + 8], eax
push edi
mov edi, ecx
cmp esi, 0x40
jb 0x4026a1
mov eax, esi
lea ecx, [esp + 8]
and eax, 0xffffffc0
push eax
call fcn.00401b30
add esp, 4
mov edx, eax
and esi, 0x3f
push esi
push edx
lea eax, [esp + 0x28]
push eax
call fcn.0044cb90
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x14]
call fcn.00402500
push 0x30
mov dword [edi], 0
call fcn.0044ecb6
mov dword [edi], eax
add esp, 0x10
xor esi, esi
mov dword [eax], 0x20
mov eax, dword [edi]
mov dword [eax + 4], 0
mov eax, dword [edi]
mov dword [eax + 8], 1
mov eax, dword [edi]
mov dword [eax + 4], 0x20
mov eax, dword [edi]
test eax, eax
lea ecx, [eax + 0x10]
cmove ecx, edi
nop dword [eax]
movzx edx, byte [esp + esi + 0xa4]
lea ecx, [ecx + 2]
mov eax, edx
inc esi
shr eax, 4
and edx, 0xf
mov al, byte [eax + str.0123456789abcdef]
mov byte [ecx - 2], al
mov dl, byte [edx + str.0123456789abcdef]
mov byte [ecx - 1], dl
cmp esi, 0x10
jl 0x402700
mov ecx, dword [esp + 0xb4]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.00414803
mov esp, ebp
pop ebp
ret
Function at 0x403470
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4677d8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x47d00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x2f
push edi
call fcn.0044c470
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4034d9
push 0x5c
push edi
call fcn.0044c470
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4034d9
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub ebx, edi
lea esi, [ebx + 1]
lea eax, [esi + 0x10]
push eax
call fcn.0044ecb6
mov dword [ebp - 0x10], eax
push ebx
push edi
mov dword [eax], esi
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 1
mov eax, dword [ebp - 0x10]
add eax, 0x10
push eax
call fcn.0044cb90
add esp, 0x10
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x403520
lea eax, [ebp - 0x10]
jmp 0x403545
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x10]
inc eax
push eax
call fcn.004019f0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + eax + 0x10], 0
je 0x403542
mov byte [ecx + eax + 0x10], 0
mov eax, dword [ebp - 0x10]
add eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x403561
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne bl
jmp 0x4035ab
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
test eax, eax
je 0x40358d
mov eax, dword [eax + 4]
inc eax
push eax
call fcn.004019f0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + eax + 0x10], 0
je 0x40358a
mov byte [ecx + eax + 0x10], 0
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x10]
mov dl, 1
call fcn.00403470
test al, al
je 0x4035a9
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x4035a9
mov bl, 1
jmp 0x4035ab
xor bl, bl
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4035c9
add eax, 8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4035c9
push dword [ebp - 0x10]
call fcn.0044ec66
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret