joyce8/EMBER2024-capa huggingface dataset:
Function at 0x60a6f8
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x65bdd8
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
lea ecx, [esp + 0x14]
push edi
mov eax, dword [esi + 0x14]
push ecx
mov edx, dword [eax + 0x20]
push edx
call dword [fcn.0065f4c8]
lea eax, [esp + 0x10]
push eax
call dword [fcn.0065f4b4]
mov ecx, dword [esi + 0xfe]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
mov ecx, dword [esp + 0x1c]
jne 0x60a8c6
mov edi, dword [esp + 0x14]
lea edx, [ecx + 0x14]
cmp edx, edi
jne 0x60a8c6
mov eax, dword [esi + 0x4b78c]
test eax, eax
jl 0x60a8fb
cmp eax, dword [esi + 0x4b788]
jge 0x60a8fb
mov eax, dword [esi + 0x47cac]
mov edi, 1
test eax, eax
jne 0x60a787
mov eax, dword [esi]
push 0
push 0
push 0xf
mov ecx, esi
mov dword [esi + 0x47cac], edi
mov dword [esi + 0x47cb0], edi
call dword [eax + 4]
mov eax, dword [esi + 0x4b78c]
lea ecx, [eax + eax*4]
movsx eax, word [esi + ecx*2 + 0x47cf0]
cmp eax, dword [esi + 0x47b58]
jl 0x60a8fb
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.0061e2e0
mov ecx, dword [esi + 0x102]
add eax, 3
cmp eax, ecx
jl 0x60a7be
lea eax, [ecx - 5]
mov ecx, dword [esi + 0xe6]
push edi
push ecx
push eax
push 0
mov ecx, esi
call fcn.00619b90
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0xfe]
mov ecx, dword [esp + 0x18]
add edx, 0x14
add eax, ecx
push edx
push eax
call dword [0x65f3e0]
push 0x6c7010
lea ecx, [esp + 0xc]
call fcn.00643d2c
mov eax, dword [esi + 0x4b78c]
xor edi, edi
add eax, 0x72e5
mov dword [esp + 0x30], 0
lea ecx, [eax + eax*4]
cmp word [esi + ecx*2], di
jle 0x60a884
test edi, edi
jle 0x60a829
push 0x69b108
lea ecx, [esp + 0xc]
call fcn.00643efa
cmp edi, 7
jg 0x60a876
mov eax, dword [esi + 0x4b78c]
lea edx, [eax + eax*4]
movsx eax, word [esi + edx*2 + 0x47cf4]
mov edx, dword [esi + 0x47ce0]
add eax, edi
lea ecx, [eax + eax*4]
shl ecx, 3
sub ecx, eax
lea eax, [edx + ecx*4 + 0x12]
lea ecx, [esp + 8]
push eax
call fcn.00643efa
mov eax, dword [esi + 0x4b78c]
inc edi
add eax, 0x72e5
lea ecx, [eax + eax*4]
movsx edx, word [esi + ecx*2]
cmp edi, edx
jl 0x60a817
jmp 0x60a884
push 0x6c17d0
lea ecx, [esp + 0xc]
call fcn.00643efa
push ecx
lea eax, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call fcn.00643edc
mov ecx, dword [esi + 0x14]
push ecx
lea ecx, [esi + 0x161076]
call fcn.004c92c0
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.00643d26
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x2c
ret
add ecx, 0x14
push ecx
push eax
call dword [0x65f3e0]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x6c7010
call fcn.00643d2c
mov edx, dword [esi + 0x14]
lea ecx, [esi + 0x161076]
push edx
call fcn.004c92c0
mov dword [esi + 0x4b78c], 0xffffffff
mov ecx, dword [esp + 0x28]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x2c
ret
Function at 0x61e9d0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push esi
push 0x69cf74
push 0x73a890
push eax
call fcn.00643ea6
mov ecx, dword [eax]
lea edx, [esp + 0x10c]
push ecx
push 0x103
push edx
push 0x6c7010
push 0x6a0cd8
push 0x6a0cec
call dword [fcn.0065e164]
lea ecx, [esp + 4]
call fcn.00643d26
mov eax, dword [0x826c70]
test eax, eax
jne 0x61ea3c
mov eax, dword [0x73a890]
mov esi, dword [esp + 0x214]
push eax
push esi
lea ecx, [esp + 0x10]
push 0x6c2288
push ecx
jmp 0x61ea55
mov edx, dword [0x73a890]
mov esi, dword [esp + 0x214]
push edx
push esi
lea eax, [esp + 0x10]
push 0x6c2278
push eax
call dword [fcn.0065f1cc]
add esp, 0x10
lea ecx, [esp + 8]
lea edx, [esp + 0x10c]
push 0
push ecx
push esi
push edx
call fcn.00477fa0
add esp, 0x10
pop esi
add esp, 0x20c
ret

Function at 0x61eae0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65c280
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push esi
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esp
call fcn.00643d62
lea eax, [ebp - 0x118]
push 0xff
push eax
mov dword [ebp - 4], 0
call dword [0x65e248]
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x14]
call fcn.006440b6
lea edx, [ebp - 0x18]
push 1
push edx
lea ecx, [ebp - 0x14]
call fcn.00644698
mov eax, dword [eax]
push 0x6a0c4c
push eax
call dword [fcn.0065f1ec]
add esp, 8
lea ecx, [ebp - 0x18]
test eax, eax
setne bl
call fcn.00643d26
test bl, bl
je 0x61eb71
push 0x6a0c4c
lea ecx, [ebp - 0x14]
call fcn.00643efa
lea eax, [ebp - 0x14]
push 0x6c22a8
lea ecx, [ebp - 0x18]
push eax
push ecx
mov byte [ebp - 4], 1
call fcn.00643ea6
mov eax, dword [eax]
lea edx, [ebp - 0x230]
push edx
push eax
mov byte [ebp - 4], 2
call fcn.0064457e
lea ecx, [ebp - 0x18]
mov esi, eax
mov byte [ebp - 4], 1
call fcn.00643d26
test esi, esi
je 0x61ec0d
mov eax, dword [ebp - 0x22c]
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x18], eax
call dword [fcn.0065f26c]
add esp, 4
test eax, eax
je 0x61ec0d
mov ecx, dword [eax + 0x14]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ecx + ecx*4]
lea edx, [ecx + ecx*4]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
lea ecx, [ecx + edx*4 + 0x2e631]
lea ecx, [ecx + ecx*4]
lea edx, [ecx + ecx*4]
lea ecx, [ebp - 0x14]
lea esi, [eax + edx*4]
call fcn.00643d26
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.00643d26
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x61f280
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x65c350
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, 0x6c22bc
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x10], ebp
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [0x826c40], 0xf
jne 0x61f2f2
mov ecx, dword [esp + 0x44]
push ebx
push ecx
call fcn.0061ef60
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push ebp
push ebp
push ebp
push ebp
push 1
push ebp
lea ecx, [esp + 0x38]
call fcn.0064463e
mov edx, dword [esp + 0x44]
push ebp
push ebp
push 1
push 1
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], ebp
call fcn.00644638
mov ebp, eax
test ebp, ebp
je 0x61f41f
lea ecx, [esp + 0x44]
call fcn.00643d62
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 1
call fcn.00643d62
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 2
call fcn.00643d62
lea eax, [esp + 0x48]
push 0
lea ecx, [esp + 0x18]
push eax
push ecx
push 0x20000013
mov ecx, ebp
mov byte [esp + 0x4c], 3
mov dword [esp + 0x58], 4
call fcn.00644632
test eax, eax
mov eax, dword [esp + 0x14]
je 0x61f3ad
cmp eax, 0xc8
jb 0x61f3ad
cmp eax, 0x12c
jae 0x61f3ad
mov edx, dword [ebp]
lea eax, [esp + 0x44]
push eax
mov ecx, ebp
call dword [edx + 0x60]
push 0x6c2330
lea ecx, [esp + 0x48]
call fcn.006445e4
test eax, eax
jl 0x61f3e1
mov dword [esp + 0x10], 1
jmp 0x61f3e1
push eax
lea ecx, [esp + 0x48]
push 0x6c230c
push ecx
call fcn.00643d50
mov edi, dword [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x54]
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx + 4]
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 2
call fcn.00643d26
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 1
call fcn.00643d26
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 0
call fcn.00643d26
jmp 0x61f441
mov edi, 0x6c22f4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.00644efc
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00644ef6
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x61f5f6
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov ecx, 0x73a9d8
jmp 0x61f5e0
push 0xffffffffffffffff
push 0x65c36b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 4]
call fcn.00644ba2
xor edi, edi
lea ecx, [esi + 0x18]
mov dword [esp + 0x14], edi
call fcn.00644f02
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x6c], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], edi
mov dword [esi], 0x677d98
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x627720
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
push 0x69b0e0
lea eax, [esp + 0x14]
push 0x73aaac
push eax
call fcn.00643ea6
mov ecx, dword [esp + 0x10]
mov ebp, dword [fcn.0065e168]
push ecx
push 0
push 0x6c327c
push 0x6c3270
call ebp
mov esi, dword [esp + 0x120]
mov ebx, dword [fcn.0065f1cc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
mov edi, 1
mov ecx, dword [esp + 0x124]
cmp ecx, eax
jge 0x627782
mov eax, ecx
lea edx, [edi - 1]
cmp edx, eax
jge 0x627835
push edi
lea eax, [esp + 0x20]
push 0x6c3264
push eax
call ebx
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
push edx
push 0x6c3270
call ebp
mov word [esi], ax
push edi
lea eax, [esp + 0x20]
push 0x6c3258
push eax
call ebx
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
push edx
push 0x6c3270
call ebp
mov word [esi + 2], ax
push edi
lea eax, [esp + 0x20]
push 0x6a2a7c
push eax
call ebx
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esi + 4]
lea eax, [esp + 0x1c]
push ecx
push 9
push edx
push 0x6c7010
push eax
push 0x6c3270
call dword [fcn.0065e164]
mov ax, word [esi]
test ax, ax
jl 0x62782b
cmp ax, 5
jg 0x62782b
cmp word [esi + 2], 0
jl 0x62782b
mov ecx, dword [esp + 0x14]
inc ecx
add esi, 0xe
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x18]
inc edi
jmp 0x627775
lea ecx, [esp + 0x10]
call fcn.00643d26
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
Function at 0x6331de
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x108
push ebp
mov ebp, dword [esp + 0x110]
push esi
mov esi, ecx
and ebp, 0xff
cmp dword [esi + ebp*4 + 0x248], 1
jl 0x633333
mov eax, dword [esi + ebp*4 + 0x21c]
test eax, eax
je 0x633333
mov ax, word [esi + 0x210]
mov ecx, dword [0x826818]
push eax
call fcn.004466b0
test eax, eax
je 0x633333
movsx cx, byte [eax + 0xec]
push ecx
mov ecx, dword [0x826818]
push eax
call fcn.00446d60
movsx eax, ax
test eax, eax
mov dword [esp + 8], eax
jl 0x633333
mov eax, dword [esi + ebp*4 + 0x2a2]
test eax, eax
jl 0x633333
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
mov edx, dword [0x73aaac]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push edx
lea eax, [esp + 0x14]
push 0x6a155c
push eax
call dword [fcn.0065f1cc]
push 0x40
lea ecx, [esp + 0x20]
push 0x6a1558
push ecx
call dword [fcn.0065f1e8]
mov edi, eax
add esp, 0x18
test edi, edi
je 0x633325
push ebx
push 2
push 0
push edi
call dword [fcn.0065f1d4]
push edi
call dword [fcn.0065f22c]
mov edx, dword [esi + ebp*4 + 0x248]
mov ebx, eax
mov eax, dword [esi + ebp*4 + 0x21c]
push edi
push edx
push 0x10
push eax
call dword [fcn.0065f1b4]
mov eax, dword [0x828a98]
mov ecx, dword [esp + 0x30]
shl eax, 4
push edi
mov dword [eax + 0x6cf8f8], ecx
mov edx, dword [esi + ebp*4 + 0x2a2]
mov dword [eax + 0x6cf8fc], edx
mov dword [eax + 0x6cf904], ebx
mov ecx, dword [esi + ebp*4 + 0x248]
mov dword [eax + 0x6cf900], ecx
call dword [fcn.0065f1c0]
mov eax, dword [0x828a98]
add esp, 0x24
inc eax
cmp eax, 0x3e8
mov dword [0x828a98], eax
pop ebx
jl 0x633325
mov dword [0x828a98], 0
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x108
ret 4
pop esi
xor eax, eax
pop ebp
add esp, 0x108
ret 4
Function at 0x638480
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x65d4c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x6e6908]
push ebx
push ebp
push esi
test eax, eax
push edi
je 0x638505
mov ebp, dword [fcn.0089759c]
test ebp, ebp
je 0x638505
mov edi, dword [esp + 0x24]
mov esi, 0x6c5734
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x6384e0
test cl, cl
je 0x6384dc
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x6384e0
add eax, 2
add esi, 2
test cl, cl
jne 0x6384b8
xor eax, eax
jmp 0x6384e5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x638509
push eax
push eax
push eax
call ebp
add esp, 0xc
test al, 1
jne 0x6384fe
call fcn.0061ec30
test eax, eax
je 0x638509
mov edi, 0x6c5724
jmp 0x638509
mov edi, dword [esp + 0x24]
push edi
lea eax, [esp + 0x14]
push 0x73aaac
push eax
call fcn.00643ea6
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0
call fcn.00643d62
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x28]
push ecx
push 0x12a
push ebp
push 0x6c7010
push 0x6c571c
push 0x6c5710
mov byte [esp + 0x34], 1
call dword [fcn.0065e164]
mov edx, dword [esp + 0x10]
mov esi, dword [fcn.0065e168]
push edx
push 0
push 0x6c5708
push 0x6c5710
call esi
test ax, ax
mov word [ebp + 0x12c], ax
jne 0x638592
mov eax, dword [esp + 0x10]
push eax
push 0
push 0x6a2a90
push 0x6c5710
call esi
mov word [ebp + 0x12c], ax
mov ax, word [ebp + 0x12c]
cmp ax, 0x64
movsx eax, ax
jl 0x6385a7
mov eax, 0x64
test ax, ax
mov word [ebp + 0x12c], ax
jle 0x6386be
lea ecx, [ebp + 0x14b6]
mov esi, 1
lea edi, [ebp + 0x8aae]
mov dword [esp + 0x28], ecx
lea ebx, [ebp + 0x12e]
push esi
lea edx, [esp + 0x28]
push 0x6a2a38
push edx
call fcn.00643d50
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
add esp, 0xc
push eax
push 0x30
push ebx
push 0x6c7010
push ecx
push 0x6c5710
call dword [fcn.0065e164]
push esi
lea edx, [esp + 0x28]
push 0x6c5700
push edx
call fcn.00643d50
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
add esp, 0xc
push eax
push 0x12a
push ecx
push 0x6c7010
push edx
push 0x6c5710
call dword [fcn.0065e164]
push esi
lea eax, [esp + 0x28]
push 0x6c56f4
push eax
call fcn.00643d50
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
add esp, 0xc
push ecx
push 0
push edx
push 0x6c5710
call dword [fcn.0065e168]
mov word [edi - 0xc8], ax
push esi
lea eax, [esp + 0x28]
push 0x6c56e8
push eax
call fcn.00643d50
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
add esp, 0xc
push ecx
push 0
push edx
push 0x6c5710
call dword [fcn.0065e168]
mov ecx, dword [esp + 0x28]
mov word [edi], ax
add ecx, 0x12c
add edi, 2
add ebx, 0x32
mov dword [esp + 0x28], ecx
movsx ecx, word [ebp + 0x12c]
inc esi
lea eax, [esi - 1]
cmp eax, ecx
jl 0x6385d2
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 0
call fcn.00643d26
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00643d26
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x6415d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x6415db
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x6416de
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x6796dc]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x6796dc]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x6796dc]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x6796dc]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x6796dc]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x6796dc]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x6796dc]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x6796dc]
xor eax, edx
inc ecx
dec edi
jne 0x6415f6
pop edi
test esi, esi
je 0x641700
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x6796dc]
xor eax, edx
inc ecx
dec esi
jne 0x6416e2
pop esi
pop ebx
not eax
ret
Function at 0x4f22b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9d000]
push edi
or ebp, 0xffffffff
jmp 0x4f22d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4f22d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f22c8
mov eax, 1
add ebx, ebx
jne 0x4f22eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4f22fc
jne 0x4f231b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f231b
dec eax
add ebx, ebx
jne 0x4f2308
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4f22e0
add ebx, ebx
jne 0x4f2317
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4f236d
xor ecx, ecx
sub eax, 3
jb 0x4f2333
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4f23a2
sar eax, 1
mov ebp, eax
jmp 0x4f233e
add ebx, ebx
jne 0x4f233e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f230c
inc ecx
add ebx, ebx
jne 0x4f234c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f230c
add ebx, ebx
jne 0x4f2359
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4f234e
jne 0x4f236a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4f234e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4f238c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4f237e
jmp 0x4f22ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4f238c
add edi, ecx
jmp 0x4f22ce
pop esi
mov edi, esi
mov ecx, 0x46fb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4f23aa
cmp byte [edi], 0x1a
jne 0x4f23aa
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 0x4f23af
lea edi, [esi + 0xef000]
mov eax, dword [edi]
or eax, eax
je 0x4f2427
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf3038]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf3128]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4f23dc
mov ecx, edi
jns 0x4f240b
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 + 0xf312c]
or eax, eax
je 0x4f2421
mov dword [ebx], eax
add ebx, 4
jmp 0x4f23f9
call dword [esi + 0xf313c]
mov ebp, dword [esi + 0xf3130]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x4f245b
sub esp, 0xffffff80
jmp 0x46f1e5
Function at 0x40adc0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4719bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00466356
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ae42
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00464217
mov eax, dword [eax]
push 0x5a8200
push eax
call fcn.00456ec4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004665e1
test bl, bl
je 0x40ae42
push 0x5a8200
lea ecx, [esp + 0xc]
call fcn.00466971
push 0x5abd68
lea ecx, [esp + 0xc]
call fcn.00466971
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40ae7e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004665e1
jmp 0x40af49
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40af02
lea edx, [esp + 0x7c]
push 0x5abd64
push edx
call fcn.00456ec4
add esp, 8
test eax, eax
je 0x40af02
lea eax, [esp + 0x7c]
push 0x5abd60
push eax
call fcn.00456ec4
add esp, 8
test eax, eax
je 0x40af02
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40ae92
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004665e1
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40b740
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40b7a2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc