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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
mov ebp, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebp
call fcn.0040f664
test al, al
je 0x40f88f
mov eax, ebp
call fcn.0040f6a8
mov ebx, eax
test ebx, ebx
je 0x40f88f
mov eax, dword [ebp + 0x3c]
add eax, ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x18
mov edx, dword [esp + 4]
movzx edx, word [edx + 0x14]
add eax, edx
mov dword [esp + 8], eax
push 0x40
push 0x3000
push ebx
push 0
call fcn.00405780
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x40f88f
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0x14]
mov edx, ebp
mov eax, dword [esp + 0xc]
call fcn.004090e0
mov eax, dword [esp + 4]
movzx edi, word [eax + 6]
dec edi
test edi, edi
jb 0x40f888
inc edi
xor ebx, ebx
lea esi, [ebx + ebx*4]
mov eax, dword [esp + 8]
mov edx, dword [eax + esi*8 + 0xc]
mov eax, dword [esp + 0xc]
call fcn.0040f570
mov dword [esp + 0x10], eax
mov eax, dword [esp + 8]
mov edx, dword [eax + esi*8 + 0x14]
mov eax, ebp
call fcn.0040f570
mov dword [esp + 0x14], eax
mov eax, dword [esp + 8]
mov ecx, dword [eax + esi*8 + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
call fcn.004090e0
inc ebx
dec edi
jne 0x40f844
mov eax, dword [esp + 0xc]
mov dword [esp], eax
mov eax, dword [esp]
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4107a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, esi
mov edx, ebx
call fcn.00404434
mov eax, ebx
call fcn.00404664
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41088e
mov eax, edi
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, edi
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, edi
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, edi
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
dec eax
cmp eax, 0
jl 0x41088e
mov dword [ebp - 8], eax
mov edi, dword [ebp - 0xc]
dec edi
test edi, edi
jle 0x410829
mov ebx, 1
mov eax, esi
call fcn.004048b4
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 0xe]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx]
sub dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0x41080a
mov eax, esi
call fcn.004048b4
mov edx, dword [ebp - 0xc]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0xc]
mov cl, byte [ecx + ebx - 1]
mov bl, byte [ebp - 0x10]
sub cl, bl
mov byte [eax + edx - 1], cl
mov ebx, dword [ebp - 0xc]
cmp ebx, 2
jl 0x41086f
mov eax, esi
call fcn.004048b4
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 0xd]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 2]
sub dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
cmp ebx, 1
jne 0x41084d
mov eax, esi
call fcn.004048b4
mov edx, dword [esi]
mov dl, byte [edx]
mov cl, byte [ebp - 0xf]
sub dl, cl
mov byte [eax], dl
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x4107fd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x408945
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
sub ecx, 0x6a251ce6
call fcn.0040896e
sub ecx, ecx
inc ecx
xor dword [esi], edx
and ecx, edi
inc esi
inc ecx
cmp esi, ebx
jne fcn.00408945
or edi, edi
inc edi
ret
Function at 0x4cc400
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.DATA
lea edi, [esi - 0x98000]
push edi
or ebp, 0xffffffff
jmp 0x4cc422
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4cc429
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cc418
mov eax, 1
add ebx, ebx
jne 0x4cc43b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4cc44c
jne 0x4cc46b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cc46b
dec eax
add ebx, ebx
jne 0x4cc458
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4cc430
add ebx, ebx
jne 0x4cc467
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4cc4bd
xor ecx, ecx
sub eax, 3
jb 0x4cc483
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4cc4f2
sar eax, 1
mov ebp, eax
jmp 0x4cc48e
add ebx, ebx
jne 0x4cc48e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cc45c
inc ecx
add ebx, ebx
jne 0x4cc49c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cc45c
add ebx, ebx
jne 0x4cc4a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4cc49e
jne 0x4cc4ba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4cc49e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4cc4dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4cc4ce
jmp 0x4cc41e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4cc4dc
add edi, ecx
jmp 0x4cc41e
pop esi
mov edi, esi
mov ecx, 0x1def
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4cc4fa
cmp byte [edi], 0x12
jne 0x4cc4fa
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 0x4cc4ff
lea edi, [esi + 0xc9000]
mov eax, dword [edi]
or eax, eax
je 0x4cc577
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xcc000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xcc168]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4cc52c
mov ecx, edi
jns 0x4cc55b
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 + 0xcc16c]
or eax, eax
je 0x4cc571
mov dword [ebx], eax
add ebx, 4
jmp 0x4cc549
call dword [esi + 0xcc17c]
mov ebp, dword [esi + 0xcc170]
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 0x4cc5ab
sub esp, 0xffffff80
jmp 0x4369dc
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x28a78d62
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x28b3ffac
call fcn.28b3e6b8
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 1
mov dword [ebp - 4], edi
mov dword [esi], 0x28b5a050
mov dword [esi + 4], 0x28b5ba68
mov dword [esi + 8], 0x28b59fe0
mov dword [esi + 0x14], 0x28b59fc0
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
lea eax, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.28a7ce0d
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 4
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebx + 8]
mov dword [esi + 0x48], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x18], eax
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x4c], 2
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x28a97085
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 8]
xor eax, eax
push esi
inc eax
call fcn.28a9e123
xor esi, esi
cmp dword [ebp + 0xc], esi
jne 0x28a970b0
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x28a970a8
mov dword [eax], esi
xor eax, eax
inc eax
jmp 0x28a97161
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebx + 0x218]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
mov dword [ebp + 0xc], eax
lea eax, [ebx + 0x220]
add dword [eax], ecx
adc dword [eax + 4], esi
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x28a970e1
mov dword [eax], ecx
cmp dword [ebp + 0xc], esi
jne 0x28a9715e
mov ecx, dword [ebx + 8]
push edi
push 3
pop eax
call fcn.28a9e123
mov esi, dword [ebx + 8]
push 1
mov edi, 0x28b42a88
call fcn.28a9e003
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebx + 8]
push 0
call fcn.28a9e7de
push dword [ebx + 0x218]
mov esi, dword [ebx + 8]
push str._IXStream__Handle__p_
call fcn.28a9e426
push dword [ebx + 0x230]
mov esi, dword [ebx + 8]
push str._IXStream__Access__x_
call fcn.28a9e426
mov edx, dword [ebx + 8]
lea esi, [ebx + 0x234]
push dword [esi]
mov ecx, edi
push 0x6d68
call fcn.28a9e24e
mov eax, dword [ebx + 8]
add esp, 0x18
push dword [esi]
push 1
call fcn.28a9e53e
pop edi
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
leave
ret 0xc
Function at 0x28a97167
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
mov ecx, dword [ebx + 8]
inc edi
mov eax, edi
call fcn.28a9e123
mov esi, dword [ebp + 0x10]
xor ecx, ecx
cmp esi, ecx
jne 0x28a97190
mov dword [ebp - 8], edi
lea esi, [ebp - 0x10]
jmp 0x28a97193
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [esi], ecx
push dword [ebx + 0x218]
mov dword [ebp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [esi]
cmp dword [ebp + 0xc], 0
jmp 0x28a971f8
cmp dword [ebp - 4], 0
jne 0x28a97200
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x28a971d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xa2
jne 0x28a97200
mov eax, dword [esi]
sub dword [ebp + 0x10], eax
add dword [ebp + 8], eax
push 0
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebx + 0x218]
call dword [sym.imp.KERNEL32.dll_ReadFile]
add edi, dword [esi]
cmp dword [ebp + 0x10], 0
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], edi
ja 0x28a971b5
lea eax, [ebx + 0x220]
mov dword [esi], edi
add dword [eax], edi
adc dword [eax + 4], 0
mov eax, dword [ebp - 4]
test eax, eax
je 0x28a97228
cmp dword [ebp - 8], 0
je 0x28a972ba
cmp edi, dword [ebp + 0xc]
je 0x28a972ba
mov ecx, dword [ebx + 8]
push 3
pop eax
call fcn.28a9e123
mov esi, dword [ebx + 8]
push 1
mov edi, 0x28b42a88
call fcn.28a9e003
xor esi, esi
cmp dword [ebp - 4], esi
je 0x28a9724d
xor eax, eax
jmp 0x28a97253
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov esi, dword [ebx + 8]
call fcn.28a9e7de
push dword [ebx + 0x218]
mov esi, dword [ebx + 8]
push str._IXStream__Handle__p_
call fcn.28a9e426
push dword [ebp - 8]
mov esi, dword [ebx + 8]
push str._IXStream__bExact__d_
call fcn.28a9e426
push dword [ebp - 0xc]
mov esi, dword [ebx + 8]
push dword [ebp + 0xc]
push str._IXStream__A_lire__u___lu__u_
call fcn.28a9e426
mov edx, dword [ebx + 8]
lea esi, [ebx + 0x234]
push dword [esi]
mov ecx, edi
push 0x6d63
call fcn.28a9e24e
mov eax, dword [ebx + 8]
add esp, 0x24
push dword [esi]
push 1
call fcn.28a9e53e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x28a97e13
Capabilities:
Delete file

Disassembly:
push ecx
push ecx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
mov esi, eax
call edi
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
mov dword [esp + 0x14], eax
call edi
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [esp + 0xc]
mov eax, esi
call fcn.28a97c02
test eax, eax
pop ecx
je 0x28a97e7f
push 1
mov edi, 0x28b42a88
call fcn.28a9e003
push ebx
push 0x6ddb
mov ecx, edi
mov edx, esi
call fcn.28a9e236
pop ecx
pop ecx
push ebx
push 1
mov eax, esi
call fcn.28a9e53e
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
pop ecx
pop ecx
ret
Function at 0x28a97ea9
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push esi
mov esi, dword [ebp + 8]
xor eax, eax
cmp word [esi], ax
je 0x28a98034
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call edi
mov dword [ebp - 8], eax
push 0xffffffffffffffff
push 0x105
mov eax, esi
lea ebx, [ebp - 0x220]
call fcn.28a9a9ca
mov esi, ebx
call fcn.28a98065
mov esi, dword [sym.imp.MSVCRT.dll_wcschr]
lea eax, [ebp - 0x21e]
push 0x5c
push eax
call esi
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x28a97faa
lea eax, [ebp - 0x220]
cmp ebx, eax
jbe 0x28a97f2a
cmp word [ebx - 2], 0x3a
je 0x28a97f9a
lea eax, [ebp - 0x21e]
cmp ebx, eax
jne 0x28a97fa6
cmp word [ebp - 0x220], 0x5c
jne 0x28a97fa6
push 0x5c
add ebx, 2
push ebx
call esi
test eax, eax
pop ecx
pop ecx
je 0x28a97fde
push 0x5c
add eax, 2
push eax
jmp 0x28a97fa0
and word [ebx], 0
lea eax, [ebp - 0x220]
push eax
xor eax, eax
call fcn.28a97e89
test eax, eax
pop ecx
jne 0x28a97f95
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x28a97f95
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x28a98037
mov word [ebx], 0x5c
add ebx, 2
push 0x5c
push ebx
call esi
pop ecx
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x28a97f58
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x28a97fd7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x28a97fde
push dword [ebp + 8]
xor eax, eax
call fcn.28a980be
test eax, eax
pop ecx
je 0x28a97fde
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 8]
mov esi, eax
call edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [ebp + 0xc]
push dword [ebp - 4]
mov eax, esi
call fcn.28a97c02
test eax, eax
pop ecx
je 0x28a9802f
push 1
mov edi, 0x28b42a88
call fcn.28a9e003
push dword [ebp + 8]
mov ecx, edi
push 0x6dde
mov edx, esi
call fcn.28a9e236
pop ecx
pop ecx
push dword [ebp + 8]
mov eax, esi
push 1
call fcn.28a9e53e
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
leave
ret
lea eax, [ebp - 0x220]
mov dword [ebp + 8], eax
jmp 0x28a97fde
Function at 0x28a980e9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
mov esi, eax
call edi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 4]
mov dword [ebp - 8], eax
call edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp dword [ebx], 0xffffffff
setne al
push eax
mov eax, esi
call fcn.28a97c02
test eax, eax
pop ecx
je 0x28a98164
push 1
mov edi, 0x28b42a88
call fcn.28a9e003
push dword [ebp + 8]
mov ecx, edi
push dword [ebx]
mov edx, esi
push 0x6de2
call fcn.28a9e236
add esp, 0xc
push dword [ebp + 8]
mov eax, esi
push 1
call fcn.28a9e53e
xor eax, eax
cmp dword [ebx], 0xffffffff
pop edi
setne al
pop esi
leave
ret

Function at 0x28a981e9
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
call edi
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push dword [ebp + 0x10]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
call esi
mov ebx, eax
test ebx, ebx
jne 0x28a9827a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x28a9827a
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 0x11c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x118], 4
jne 0x28a9827a
cmp dword [ebp - 0x114], ebx
jne 0x28a9827a
cmp dword [ebp - 0x10c], 2
jne 0x28a9827a
mov dword [ebp - 4], 0x64
push dword [ebp + 8]
dec dword [ebp - 4]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
mov ebx, eax
test ebx, ebx
je 0x28a9827a
cmp dword [ebp - 4], 0
jne 0x28a9825e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 8]
mov esi, eax
call edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [ebp + 0x14]
xor eax, eax
test ebx, ebx
setne al
mov ebx, eax
push ebx
mov eax, esi
call fcn.28a97c02
test eax, eax
pop ecx
je 0x28a982ca
push 1
mov edi, 0x28b42a88
call fcn.28a9e003
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
mov edx, esi
push 0x6de6
call fcn.28a9e236
add esp, 0xc
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x28aad62e
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 4], ecx
jle 0x28aad66d
cmp edx, ecx
je 0x28aad66d
cmp dword [esp + 4], ecx
jle 0x28aad65c
push esi
movzx esi, byte [ecx + edx]
add esi, eax
imul esi, esi, 0x401
mov eax, esi
shr esi, 6
xor eax, esi
inc ecx
cmp ecx, dword [esp + 8]
jl 0x28aad641
pop esi
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
ret
xor eax, eax
ret

Function at 0x28aad670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
jle 0x28aad696
mov edx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
add edx, eax
imul edx, edx, 0x401
mov eax, edx
shr edx, 6
xor eax, edx
inc ecx
cmp ecx, dword [ebp + 0xc]
jl 0x28aad67a
add eax, 0x3a
imul eax, eax, 0x401
mov ecx, eax
shr ecx, 6
xor eax, ecx
xor ecx, ecx
cmp dword [ebp + 0x14], ecx
jle 0x28aad6c9
mov edx, dword [ebp + 0x10]
movzx edx, byte [ecx + edx]
add edx, eax
imul edx, edx, 0x401
mov eax, edx
shr edx, 6
xor eax, edx
inc ecx
cmp ecx, dword [ebp + 0x14]
jl 0x28aad6ad
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
pop ebp
ret

Function at 0x28ab2290
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, eax
xor eax, eax
test ecx, ecx
push edi
mov edi, dword [esp + 0x14]
je 0x28ab22c9
mov dl, byte [ecx]
movzx eax, dl
imul eax, eax, 0x1e
test dl, dl
je 0x28ab22c9
mov edi, eax
mov ebx, eax
shl edi, 5
shr ebx, 3
movsx edx, dl
add edi, ebx
inc ecx
add edi, edx
mov dl, byte [ecx]
xor eax, edi
test dl, dl
jne 0x28ab22ab
mov edi, dword [esp + 0x14]
test esi, esi
je 0x28ab22e9
jmp 0x28ab22e3
mov edx, eax
mov ebx, eax
shl edx, 5
shr ebx, 3
movsx ecx, cl
add edx, ebx
add edx, ecx
inc esi
xor eax, edx
mov cl, byte [esi]
test cl, cl
jne 0x28ab22cf
test edi, edi
je 0x28ab2309
jmp 0x28ab2303
mov edx, eax
mov esi, eax
shl edx, 5
shr esi, 3
movsx ecx, cl
add edx, esi
add edx, ecx
inc edi
xor eax, edx
mov cl, byte [edi]
test cl, cl
jne 0x28ab22ef
mov ecx, dword [esp + 0x10]
xor edx, edx
div dword [ecx + 4]
pop edi
pop esi
pop ebx
mov eax, edx
ret
Function at 0x28ab2318
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
test ecx, ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, eax
je 0x28ab232b
movzx eax, byte [ecx]
jmp 0x28ab232e
movzx eax, byte [esi]
imul eax, eax, 0x1e
test ecx, ecx
push ebx
je 0x28ab2369
mov dl, byte [ecx]
test dl, dl
je 0x28ab2359
mov edi, eax
mov ebx, eax
shl edi, 5
shr ebx, 3
movsx edx, dl
add edi, ebx
inc ecx
add edi, edx
mov dl, byte [ecx]
xor eax, edi
test dl, dl
jne 0x28ab233c
mov edi, dword [ebp + 0xc]
mov ecx, eax
mov edx, eax
shl ecx, 5
shr edx, 3
lea ecx, [ecx + edx + 0x3a]
xor eax, ecx
test esi, esi
je 0x28ab2389
jmp 0x28ab2383
mov edx, eax
mov ebx, eax
shl edx, 5
shr ebx, 3
movsx ecx, cl
add edx, ebx
add edx, ecx
inc esi
xor eax, edx
mov cl, byte [esi]
test cl, cl
jne 0x28ab236f
test edi, edi
pop ebx
je 0x28ab23b8
jmp 0x28ab23a2
mov esi, eax
shl edx, 5
shr esi, 3
movsx ecx, cl
add edx, esi
add edx, ecx
inc edi
xor eax, edx
mov cl, byte [edi]
test cl, cl
mov edx, eax
jne 0x28ab2390
mov ecx, eax
shl ecx, 5
shr edx, 3
lea ecx, [ecx + edx + 0x3a]
xor eax, ecx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x28ab23db
jmp 0x28ab23d5
mov esi, eax
mov edi, eax
shl esi, 5
shr edi, 3
movsx ecx, cl
add esi, edi
add esi, ecx
inc edx
xor eax, esi
mov cl, byte [edx]
test cl, cl
jne 0x28ab23c1
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x28ab240e
jmp 0x28ab23f8
mov esi, eax
mov edi, eax
shl esi, 5
shr edi, 3
movsx ecx, cl
add esi, edi
add esi, ecx
inc edx
xor eax, esi
mov cl, byte [edx]
test cl, cl
jne 0x28ab23e4
mov ecx, eax
mov edx, eax
shl ecx, 5
shr edx, 3
lea ecx, [ecx + edx + 0x3a]
xor eax, ecx
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x28ab2431
jmp 0x28ab242b
mov esi, eax
mov edi, eax
shl esi, 5
shr edi, 3
movsx ecx, cl
add esi, edi
add esi, ecx
inc edx
xor eax, esi
mov cl, byte [edx]
test cl, cl
jne 0x28ab2417
mov ecx, dword [ebp + 8]
xor edx, edx
div dword [ecx + 4]
pop edi
pop esi
mov eax, edx
pop ebp
ret

Function at 0x28ab83a6
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x190
cmp dword [0x28b84ea0], 0
jne 0x28ab8422
lea eax, [esp]
push eax
push 0x101
call dword [0x28b82514]
test eax, eax
jne 0x28ab8422
cmp dword [0x28b84ea4], eax
jne 0x28ab8418
push esi
mov esi, dword [sym.imp.MSVCRT.dll_getenv]
push str.no_proxy
mov dword [0x28b841c0], 0x50
call esi
test eax, eax
pop ecx
je 0x28ab83f8
cmp byte [eax], 0x2a
jne 0x28ab83f8
cmp byte [eax + 1], 0
je 0x28ab8417
push str.http_proxy
call esi
test eax, eax
pop ecx
jne 0x28ab8410
push str.HTTP_PROXY
call esi
test eax, eax
pop ecx
je 0x28ab8417
push eax
call fcn.28ab851a
pop ecx
pop esi
mov dword [0x28b84ea0], 1
add esp, 0x190
ret
Function at 0x28ad44b4
Capabilities:
Parse credit card information

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, ebx
jne 0x28ad44c2
or eax, 0xffffffff
pop ebx
ret
push esi
mov esi, dword [ebx]
mov cl, byte [esi]
cmp cl, 0x61
jl 0x28ad44d5
cmp cl, 0x7a
jle 0x28ad45d5
cmp cl, 0x41
jl 0x28ad44e3
cmp cl, 0x5a
jle 0x28ad45d5
cmp cl, 0x30
jl 0x28ad44f1
cmp cl, 0x39
jle 0x28ad45d5
cmp cl, 0x2d
je 0x28ad45d5
cmp cl, 0x2e
je 0x28ad45d5
cmp cl, 0x5f
je 0x28ad45d5
cmp cl, 0x7e
je 0x28ad45d5
cmp cl, 0x25
jne 0x28ad4558
mov al, byte [esi + 1]
cmp al, 0x30
jl 0x28ad4525
cmp al, 0x39
jle 0x28ad4535
cmp al, 0x61
jl 0x28ad452d
cmp al, 0x66
jle 0x28ad4535
cmp al, 0x41
jl 0x28ad4558
cmp al, 0x46
jg 0x28ad4558
mov al, byte [esi + 2]
cmp al, 0x30
jl 0x28ad4544
cmp al, 0x39
jle 0x28ad45d5
cmp al, 0x61
jl 0x28ad4550
cmp al, 0x66
jle 0x28ad45d5
cmp al, 0x41
jl 0x28ad4558
cmp al, 0x46
jle 0x28ad45d5
cmp cl, 0x21
je 0x28ad45d5
cmp cl, 0x24
je 0x28ad45d5
cmp cl, 0x26
je 0x28ad45d5
cmp cl, 0x28
je 0x28ad45d5
cmp cl, 0x29
je 0x28ad45d5
cmp cl, 0x2a
je 0x28ad45d5
cmp cl, 0x2b
je 0x28ad45d5
cmp cl, 0x2c
je 0x28ad45d5
cmp cl, 0x3b
je 0x28ad45d5
cmp cl, 0x3d
je 0x28ad45d5
cmp cl, 0x27
je 0x28ad45d5
cmp cl, 0x3a
je 0x28ad45d5
cmp cl, 0x40
je 0x28ad45d5
cmp cl, 0x2f
je 0x28ad45d5
cmp cl, 0x3f
je 0x28ad45d5
cmp cl, 0x5b
je 0x28ad45d5
cmp cl, 0x5d
je 0x28ad45d5
test edi, edi
je 0x28ad461e
test byte [edi + 0x24], 1
je 0x28ad45e8
cmp cl, 0x7b
je 0x28ad45d5
cmp cl, 0x7d
je 0x28ad45d5
cmp cl, 0x7c
je 0x28ad45d5
cmp cl, 0x5c
je 0x28ad45d5
cmp cl, 0x5e
je 0x28ad45d5
cmp cl, 0x60
jne 0x28ad45e8
cmp cl, 0x25
jne 0x28ad45e2
add esi, 3
jmp 0x28ad44c5
inc esi
jmp 0x28ad44c5
mov eax, dword [edi + 0x20]
test eax, eax
je 0x28ad45f7
push eax
call dword [0x28b8283c]
pop ecx
test byte [edi + 0x24], 2
je 0x28ad460e
mov eax, dword [ebx]
mov ebx, esi
sub ebx, eax
call fcn.28afeed5
mov ebx, dword [esp + 0xc]
jmp 0x28ad461b
mov edx, dword [ebx]
mov ecx, esi
sub ecx, edx
xor eax, eax
call fcn.28ad607e
mov dword [edi + 0x20], eax
mov dword [ebx], esi
pop esi
xor eax, eax
pop ebx
ret