joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100030e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013ce0b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 8
push esi
push edi
mov eax, dword [0x10165004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebx + 8]
mov dword [esi], 0x10156ab4
mov dword [esi + 4], 0
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [esi + 0x18], 0
movups xmmword [esi + 0x1c], xmm0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0xf
mov byte [esi + 0x1c], 0
lea ecx, [eax + 4]
mov byte [ebp - 4], 1
call fcn.10006810
lea ecx, [ebx + 0xc]
call fcn.10001420
test eax, eax
je 0x1000319e
lea ecx, [ebx + 0xc]
call fcn.10001420
cmp eax, 7
jne 0x1000319e
push ecx
lea eax, [ebx + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.100069d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
Function at 0x10055520
Capabilities:
Create thread

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov ebx, edx
push 0
push 0x14
mov dword [esp + 0x1c], ebx
mov dword [ebp], 0
call fcn.1001e1a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10055553
lea eax, [esi + 7]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp byte [0x10165afc], 0
je 0x1005559f
mov eax, dword [0x10165bf8]
test eax, eax
je 0x10055573
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x1005559f
mov eax, dword [esp + 0x1c]
lea edi, [esi + 8]
mov dword [edi], ebx
lea ebx, [esi + 4]
push ebx
push 0
push esi
push 0x100219e0
push 0
push 0
mov dword [esi + 0xc], eax
call fcn.1012cc6f
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x100555b2
jmp 0x100555a5
lea edi, [esi + 8]
lea ebx, [esi + 4]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [edi], 0
jne 0x100555cd
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push dword [esp + 0x1c]
mov dword [ebx], eax
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x10], eax
pop edi
mov dword [ebp], esi
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x100783f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov eax, edx
mov ebx, ecx
mov ecx, dword [esp + 0x18]
push ebp
push esi
cmp byte [eax + 0x2b], 1
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
je 0x10078515
mov ebp, dword [eax + 8]
test ebp, ebp
je 0x10078515
nop dword [eax]
test ecx, ecx
je 0x1007846b
movzx eax, word [ebp + 0x34]
xor edi, edi
test eax, eax
je 0x10078502
mov ebx, dword [ebp + 4]
cmp word [ebx], 0
jl 0x100784f2
mov eax, dword [ebp + 0x20]
mov esi, ecx
mov eax, dword [eax + edi*4]
sub esi, eax
nop dword [eax]
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x100784d2
test edx, edx
jne 0x100784e4
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
mov esi, 0xffff8000
test ecx, ecx
je 0x1007848d
mov eax, dword [ebx]
xor esi, esi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x1007848d
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x10078485
mov eax, dword [ebx + 0x78]
mov edi, ebx
test eax, eax
mov ecx, esi
cmovne edi, eax
mov eax, 1
shl eax, cl
mov edx, dword [edi + 0x58]
test edx, eax
jne 0x100784b9
bts edx, esi
mov dword [edi + 0x58], edx
cmp esi, 1
jne 0x100784b9
mov ecx, edi
call fcn.10077e60
mov eax, dword [edi + 0x54]
mov edx, ebp
bts eax, esi
mov ecx, ebx
push 0xffffffffffffffff
mov dword [edi + 0x54], eax
call fcn.10074ca0
add esp, 4
jmp 0x10078502
movzx ecx, byte [ecx + 0x101519c0]
movzx edx, byte [edx + 0x101519c0]
sub edx, ecx
jne 0x100784ea
inc eax
jmp 0x10078450
movzx eax, word [ebp + 0x34]
mov ecx, dword [esp + 0x24]
inc edi
add ebx, 2
cmp edi, eax
jl 0x10078435
mov ebx, dword [esp + 0x14]
mov ebp, dword [ebp + 0x14]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
test ebp, ebp
jne 0x10078420
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x10102f10
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov ebx, edx
mov dword [esp + 0x10], str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
mov esi, ecx
mov dword [esp + 0x14], str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
push edi
mov edi, dword [esi + ebx*4 + 0x18]
test edi, edi
jne 0x10102f4c
push dword [esi + 8]
push dword [esi + 4]
push dword [esp + ebx*4 + 0x1c]
push esi
call fcn.10102ba0
mov edi, eax
add esp, 0x10
mov dword [esi + ebx*4 + 0x18], edi
cmp dword [esi + 0x28], 0
jne 0x1010300c
mov ebp, dword [esp + 0x24]
push ebp
push dword [esp + 0x24]
push 1
push edi
call fcn.1004b1a0
push edi
call fcn.10049bf0
add esp, 0x14
cmp eax, 0x65
jne 0x10102fa3
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.10102c70
add esp, 0x1c
jmp 0x10102ffa
cmp eax, 0x64
jne 0x10102ffa
push 0
push edi
call fcn.1004a7b0
mov ecx, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jne 0x10102fc5
cmp edx, ecx
je 0x10102ffa
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.10102c70
add esp, 0x2c
push edi
call fcn.10048bc0
add esp, 4
cmp dword [esi + 0x28], 0
jne 0x1010300c
mov dword [esi + 0x28], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x101078f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edx
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [ecx], eax
test edi, edi
je 0x10107a53
mov ebx, dword [ebp + 0xc]
lea esi, [eax + 0xd]
lea edx, [ebx - 1]
test edx, edx
js 0x10107947
mov ebx, dword [ebp + 8]
nop word [eax + eax]
movsx ecx, byte [edx + ebx]
lea eax, [esi*8]
xor ecx, eax
xor esi, ecx
sub edx, 1
jns 0x10107930
mov ebx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
lea eax, [esi*8]
xor eax, esi
xor eax, ecx
and eax, 0x1ff
lea eax, [edi + eax*4]
mov edi, dword [eax]
mov dword [esp + 0x18], eax
test edi, edi
je 0x101079ce
cmp dword [edi + 8], ecx
jne 0x101079c7
cmp dword [edi + 4], ebx
jne 0x101079c7
mov edx, dword [edi]
mov ecx, ebx
mov esi, dword [ebp + 8]
sub ecx, 4
jb 0x10107991
nop
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x10107996
add edx, 4
add esi, 4
sub ecx, 4
jae 0x10107980
cmp ecx, 0xfffffffc
je 0x101079de
mov al, byte [edx]
cmp al, byte [esi]
jne 0x101079c3
cmp ecx, 0xfffffffd
je 0x101079de
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x101079c3
cmp ecx, 0xfffffffe
je 0x101079de
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x101079c3
cmp ecx, 0xffffffff
je 0x101079de
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x101079de
mov ecx, dword [esp + 0x10]
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x10107968
lea edi, [ebx + 0x10]
xor esi, esi
call fcn.100cad40
test eax, eax
je 0x101079f0
jmp 0x10107a00
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
call fcn.1001e1a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10107a1c
test edi, edi
je 0x10107a0b
mov eax, 7
jmp 0x10107a0d
xor eax, eax
mov dword [esp + 0x14], eax
test esi, esi
jne 0x10107a28
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push 0
push esi
call fcn.1012aa20
add esp, 0xc
mov edx, dword [esp + 0x10]
lea eax, [esi + 0x10]
push ebx
push dword [ebp + 8]
mov dword [esi], eax
push eax
mov dword [esi + 4], ebx
mov dword [esi + 8], edx
call fcn.1012bec0
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [ecx]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [ecx], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10126e00
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
mov dword [esp + 4], edx
cmp ecx, 0x80
jge 0x10126e1f
lea edx, [ecx - 0x41]
cmp edx, 0x19
lea eax, [ecx + 0x20]
cmova eax, ecx
add esp, 8
ret
cmp ecx, 0x10000
jge 0x10126eca
push ebx
push ebp
xor edx, edx
mov ebx, 0xa2
push esi
push edi
mov dword [esp + 0x10], edx
or ebp, 0xffffffff
nop dword [eax]
lea eax, [edx + ebx]
mov esi, ecx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
movzx edx, word [edi*4 + 0x1014f218]
lea eax, [edi - 1]
sub esi, edx
mov edx, edi
cmovs edx, ebp
test esi, esi
mov ebp, edx
lea edx, [edi + 1]
cmovs edx, dword [esp + 0x10]
cmovs ebx, eax
mov dword [esp + 0x10], edx
cmp ebx, edx
jge 0x10126e40
movzx edx, word [ebp*4 + 0x1014f218]
movzx eax, byte [ebp*4 + 0x1014f21b]
add eax, edx
cmp ecx, eax
jge 0x10126eae
movzx eax, byte [ebp*4 + 0x1014f21a]
xor edx, ecx
and edx, eax
test edx, 1
jne 0x10126eae
shr eax, 1
movzx eax, word [eax*2 + 0x10150680]
add eax, ecx
movzx ecx, ax
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
je 0x10126ed8
xor edx, edx
cmp eax, 2
sete dl
add esp, 8
jmp fcn.100f5910
lea eax, [ecx - 0x10400]
cmp eax, 0x27
lea eax, [ecx + 0x28]
jbe 0x10126eda
mov eax, ecx
add esp, 8
ret

Function at 0x1013075b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10140de4
push 0x10140ddc
push str.FlsAlloc
push 0x1e
call fcn.101305dc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1013078f
push dword [ebp + 8]
mov ecx, esi
call dword [0x1013f1e8]
call esi
jmp 0x10130795
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x101307d9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10140df4
push 0x10140dec
push str.FlsGetValue
push 0x20
call fcn.101305dc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10130810
push dword [ebp + 8]
mov ecx, esi
call dword [0x1013f1e8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x10135903
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 0x101359a0
push ebx
push esi
call fcn.101358cc
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.10135815
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1013594d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1013599f
push edi
push eax
call fcn.1012fad5
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1013596d
call fcn.1012fa9b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1013599e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10135815
add esp, 0x20
test eax, eax
jne 0x1013598c
push edi
call fcn.1012fa9b
jmp 0x10135994
push ebx
call fcn.1012fa9b
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 0x101359a3
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x101359b4
pop esi
ret
push ebx
push edi
push esi
call fcn.101358cc
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1012fad5
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x101359dc
push ebx
push esi
push edi
call fcn.1012bec0
add esp, 0xc
push 0
call fcn.1012fa9b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x10135da0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.101359f1
Function at 0x1013bd90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1013bdbd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1013bdbd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40c3b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [edi], 0
cmp dword [0x5119e0], 0
je 0x40c407
mov eax, dword [0x5152a8]
test eax, eax
je 0x40c3e0
push eax
call dword [0x511a38]
add esp, 4
lea edx, [ebp - 4]
mov ecx, 0x14
call fcn.00409a90
mov eax, dword [0x5152a8]
test eax, eax
je 0x40c402
push eax
call dword [0x511a40]
mov esi, dword [ebp - 4]
jmp 0x40c411
mov esi, dword [ebp - 4]
jmp 0x40c414
push 0x14
call dword [0x511a08]
mov esi, eax
add esp, 4
test esi, esi
jne 0x40c422
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x5119e4], 0
mov ebx, dword [ebp + 8]
je 0x40c46c
mov eax, dword [0x511ae8]
test eax, eax
je 0x40c445
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x40c46c
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x40c380
push 0
push 0
mov dword [esi + 0xc], ebx
call fcn.004a6ffb
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x40c479
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x40c492
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [esi + 4], eax
call dword [ebp - 8]
add esp, 4
mov dword [esi + 0x10], eax
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43bc50
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 8], esi
push edi
mov esi, dword [esi]
mov dword [ebp - 4], esi
test edx, edx
je 0x43bd8f
nop dword [eax]
mov ecx, dword [edx + 4]
movzx eax, byte [edx]
test ecx, 0x200
jne 0x43bd8d
cmp eax, 0x25
je 0x43bd82
cmp eax, 0x9c
je 0x43bd82
cmp eax, 0x5e
je 0x43bca8
cmp eax, 0x9d
jne 0x43bcff
cmp byte [edx + 0x26], 0x5e
jne 0x43bd19
mov eax, dword [ebp - 4]
push dword [edx + 8]
mov esi, dword [ebp - 8]
mov ecx, esi
push 0
mov dl, byte [eax + 0x42]
call fcn.0044d780
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43bd8f
cmp dword [ebx + 0xc], 0
jne 0x43bd8f
mov eax, dword [esi]
mov ecx, esi
push dword [ebx]
push ebx
mov dl, byte [eax + 0x42]
call fcn.0044d780
add esp, 8
test eax, eax
jne 0x43bd8f
mov ecx, 1
test ecx, ecx
cmove eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x9a
je 0x43bd19
cmp eax, 0x98
je 0x43bd19
cmp eax, 0x9d
je 0x43bd19
cmp eax, 0x3d
jne 0x43bd23
cmp dword [edx + 0x2c], 0
jne 0x43bd9f
test ecx, 0x100
je 0x43bd8d
mov eax, dword [edx + 0xc]
test eax, eax
je 0x43bd3f
test dword [eax + 4], 0x100
je 0x43bd3f
mov edx, eax
jmp 0x43bd85
mov edi, dword [edx + 0x14]
mov ebx, dword [edx + 0x10]
test edi, edi
je 0x43bd7e
test ecx, 0x800
jne 0x43bd7e
mov esi, dword [edi]
xor ecx, ecx
test esi, esi
jle 0x43bd7e
lea edx, [edi + 8]
nop dword [eax]
mov eax, dword [edx]
test dword [eax + 4], 0x100
jne 0x43bd77
inc ecx
add edx, 0x18
cmp ecx, esi
jl 0x43bd60
mov edx, ebx
jmp 0x43bd85
lea eax, [ecx + ecx*2]
mov ebx, dword [edi + eax*8 + 8]
mov edx, ebx
jmp 0x43bd85
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x43bc70
xor ebx, ebx
xor ecx, ecx
xor eax, eax
pop edi
test ecx, ecx
pop esi
cmove eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
movsx esi, word [edx + 0x20]
test esi, esi
js 0x43bd8d
mov eax, dword [edx + 0x2c]
add esi, esi
mov edi, dword [ebp - 4]
mov ecx, edi
push 0
mov eax, dword [eax + 4]
mov dl, byte [edi + 0x42]
push dword [eax + esi*8 + 8]
call fcn.0044d940
mov esi, dword [ebp - 8]
jmp 0x43bcbd
Function at 0x43d7b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edi
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 0
mov ebx, ecx
mov dword [esp + 0x18], eax
test edi, edi
je 0x43d91a
push 0
push 0x44
mov ecx, ebx
call fcn.0040a240
mov esi, eax
add esp, 8
test esi, esi
je 0x43d90f
push dword [ebp + 8]
mov edx, dword [edi]
mov ecx, ebx
call fcn.0043d290
add esp, 4
mov dword [esi], eax
mov edx, dword [edi + 0x1c]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0043d430
add esp, 4
mov dword [esi + 0x1c], eax
mov edx, dword [edi + 0x20]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0043d260
add esp, 4
mov dword [esi + 0x20], eax
mov edx, dword [edi + 0x24]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0043d290
add esp, 4
mov dword [esi + 0x24], eax
mov edx, dword [edi + 0x28]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0043d260
add esp, 4
mov dword [esi + 0x28], eax
mov edx, dword [edi + 0x2c]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0043d290
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [esi + 0x2c], eax
mov ecx, ebx
mov al, byte [edi + 4]
lea edi, [esi + 0x30]
mov byte [esi + 4], al
mov eax, dword [esp + 0x1c]
push dword [ebp + 8]
mov dword [esi + 0x34], eax
mov dword [edi], 0
mov edx, dword [edx + 0x38]
call fcn.0043d260
mov dword [esi + 0x38], eax
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, ebx
push dword [ebp + 8]
mov edx, dword [eax + 0x3c]
call fcn.0043d260
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov eax, dword [ecx + 8]
and eax, 0xffffffdf
mov dword [esi + 8], eax
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x18], 0xffffffff
mov ax, word [ecx + 6]
mov word [esi + 6], ax
mov edx, dword [ecx + 0x40]
mov ecx, ebx
call fcn.0043d120
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], esi
mov dword [eax], esi
mov edi, dword [edi + 0x30]
mov dword [esp + 0x10], edi
test edi, edi
jne 0x43d7e4
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447120
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, ecx
push edi
mov ebx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
nop word [eax + eax]
xor edi, edi
cmp dword [eax + 0x14], edi
jle 0x4471ce
nop dword [eax + eax]
mov eax, edi
mov ecx, edi
xor eax, 1
cmp edi, 2
cmovl ecx, eax
mov dword [ebp - 0x10], ecx
test esi, esi
je 0x447227
mov bl, byte [esi]
mov edx, ecx
mov ecx, dword [ebp - 8]
add edx, edx
mov eax, esi
mov ecx, dword [ecx + 0x10]
mov edx, dword [ecx + edx*8]
movzx ecx, bl
movzx esi, byte [ecx + 0x4ec1e0]
movzx ecx, byte [edx]
movzx ecx, byte [ecx + 0x4ec1e0]
sub esi, ecx
jne 0x4471bf
sub edx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
test bl, bl
je 0x44721d
movzx ecx, byte [edx + eax + 1]
inc eax
movzx edx, byte [ecx + 0x4ec1e0]
mov bl, byte [eax]
movzx ecx, bl
movzx esi, byte [ecx + 0x4ec1e0]
sub esi, edx
mov edx, dword [ebp - 0xc]
je 0x447197
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 8]
inc edi
mov esi, dword [ebp + 8]
cmp edi, dword [eax + 0x14]
jl 0x447150
mov dl, byte [ebx]
movzx eax, dl
movzx ecx, byte [eax + 0x4ec1e0]
movzx eax, byte [0x50e458]
movzx eax, byte [eax + 0x4ec1e0]
sub ecx, eax
jne 0x447214
mov esi, 0x50e458
sub esi, ebx
test dl, dl
je 0x44724e
movzx eax, byte [esi + ebx + 1]
inc ebx
movzx ecx, byte [eax + 0x4ec1e0]
mov dl, byte [ebx]
movzx eax, dl
movzx eax, byte [eax + 0x4ec1e0]
sub eax, ecx
je 0x4471f3
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x4471bf
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 8]
add ecx, ecx
push 0
mov edx, ebx
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + ecx*8 + 0xc]
add ecx, 8
call fcn.0040e600
add esp, 4
mov eax, dword [eax + 8]
test eax, eax
jne 0x447216
jmp 0x4471c2
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x10]
test esi, esi
jne 0x447264
neg eax
sbb eax, eax
jmp 0x447271
test eax, eax
je 0x447214
mov edx, eax
mov ecx, esi
call fcn.0040cf80
test eax, eax
jne 0x447214
mov eax, dword [ebp - 8]
mov ebx, 0x50e468
mov dword [ebp - 4], ebx
jmp 0x447140
Function at 0x447440
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], edx
xor edx, edx
mov dword [ebp - 8], ebx
push edi
xor edi, edi
mov dword [ebp - 4], edx
cmp dword [ebx + 0x14], edx
jle 0x4474fe
push esi
mov eax, edi
mov ecx, edi
xor eax, 1
cmp edi, 2
cmovl ecx, eax
mov eax, dword [ebx + 0x10]
add ecx, ecx
mov edx, dword [eax + ecx*8 + 0xc]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 8]
test edx, edx
je 0x4474df
mov ebx, dword [eax + ecx*8]
mov esi, edx
mov al, byte [edx]
movzx ecx, byte [ebx]
movzx edx, byte [ecx + 0x4ec1e0]
movzx ecx, al
movzx ecx, byte [ecx + 0x4ec1e0]
sub ecx, edx
jne 0x4474c3
sub ebx, esi
test al, al
je 0x4474d8
movzx ecx, byte [ebx + esi + 1]
inc esi
movzx edx, byte [ecx + 0x4ec1e0]
mov al, byte [esi]
movzx ecx, al
movzx ecx, byte [ecx + 0x4ec1e0]
sub ecx, edx
je 0x4474a2
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
inc edi
cmp edi, dword [ebx + 0x14]
jl 0x447461
pop esi
pop edi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
jne 0x4474c3
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
add ecx, 0x18
push 0
call fcn.0040e600
add esp, 4
mov edx, dword [eax + 8]
mov dword [ebp - 4], edx
test edx, edx
jne 0x4474cf
jmp 0x4474c9
pop edi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461370
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, edx
mov edx, dword [edi + 0x30]
test edx, edx
je 0x461396
push esi
call fcn.00461370
add esp, 4
test eax, eax
je 0x461398
pop edi
pop esi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [edi]
cmp esi, dword [ecx]
jge 0x461391
lea edx, [esi + esi*2]
mov edx, dword [ecx + edx*8 + 8]
mov ecx, ebx
pop edi
pop esi
pop ebx
pop ebp
jmp fcn.0043bc50
Function at 0x482930
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004a4720
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x48298c
xor ecx, ecx
jmp 0x4829a4
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x482995
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.0049f900
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x482a70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 4], 0
push 0
push eax
mov esi, ecx
call fcn.004a4720
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x208
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x482aca
push str..host.config
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004ad0aa
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [ebp + 8]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
test eax, eax
jne 0x482b05
push eax
push 0x500dc0
mov ecx, esi
mov word [esi], ax
call fcn.0049f900
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x482b17
xor ecx, ecx
jmp 0x482b2f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x482b20
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.0049f900
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4