joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001a90a
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1009f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.10010858
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10010858
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1001a981
cmp word [ecx], dx
je 0x1001a981
mov eax, dword [0x10021b94]
push edi
dec eax
push eax
push 0x10021a80
call fcn.1001a8a9
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1001a9f4
cmp word [eax], dx
je 0x1001a9f4
mov eax, dword [edi]
test eax, eax
je 0x1001a9a5
cmp word [eax], dx
je 0x1001a9a5
lea eax, [ebp - 0x10]
push eax
call fcn.1001a28c
jmp 0x1001a9ae
lea eax, [ebp - 0x10]
push eax
call fcn.1001a327
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1001aa1e
mov eax, dword [0x10021a7c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10021770
call fcn.1001a8a9
add esp, 0xc
test al, al
je 0x1001aa1e
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1001a9e9
cmp word [eax], di
je 0x1001a9e9
lea eax, [ebp - 0x10]
push eax
call fcn.1001a28c
pop ecx
jmp 0x1001aa20
lea eax, [ebp - 0x10]
push eax
call fcn.1001a327
jmp 0x1001a9e6
mov eax, dword [edi]
test eax, eax
je 0x1001aa0b
cmp word [eax], dx
je 0x1001aa0b
lea eax, [ebp - 0x10]
push eax
call fcn.1001a241
pop ecx
jmp 0x1001aa1e
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1001aae9
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1001a72e
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1001aae9
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1001aae9
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1001aae9
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1001aa76
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10013c13
test ebx, ebx
je 0x1001aae4
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10013c13
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1001aae9
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1001aae9
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1001bcd2
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1001aaeb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10006f7f
leave
ret
Function at 0x1001d0b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001d0dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001d0dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1001c020
Capabilities:
Encode data using xor

Disassembly:
pop ebx
push 0x48
xchg esp, eax
invalid
push eax
jno 0x1001bf31
invalid
xor eax, dword [eax - 0x3ee7f653]
xchg dword [esi - 0xc], esi
iretd
pop esi
bound edi, qword [edi + 0x15]
push esi
sti
and eax, 0x60a821a3
xchg dword [ecx - 0x35], ebx
dec ecx
or al, byte [edx - 0x62cf2409]
jg 0x1001c00f
clc
pop edi
push ss
jl 0x1001bfa4
pop eax
adc al, 0xfe
stosb byte es:[edi], al
jne 0x1001c016
push ds
je 0x1001bfa0
push dword [ecx - 0x5f8b179a]
mov ah, 0xd7
mov al, byte [0x4a0bae6b]
or ecx, dword [edx - 0x74]
fist word [edi + 0x28]
jl 0x1001c027
inc edx
jle 0x1001bfc9
sub ebp, dword [edi]
sbb byte [eax + 0x464b73c0], ch
hlt
mov cl, 0xa2
sbb byte [edx - 0x58], 0x90
je 0x1001c044
sub eax, 0x5180331f
push ebx
cmp eax, 0x3b1a3135
cmp esp, dword [ecx + 0x26]
sub al, 0xfc
pop ds
xor eax, dword [eax + 0x353d5351]
xor dword [edx], ebx
adc dword [0xdf7dcb2], esp
cmp byte [ebx + 0x1a6ca030], bh
adc ebx, dword [ebx + 0x1f54275d]
and cl, cl
sbb dword [ebx - 0x53], ecx
jnp 0x1001c018
invalid
dec edx
rcl byte [esi - 0x33], 2
xchg byte [eax - 0x3a], bl
lahf
jae 0x1001bfd0
hlt

Function at 0x1001ce00
Capabilities:
Encode data using xor

Disassembly:
mov cl, 0x79
nop
sbb eax, 0x1a79f4f0
lodsd eax, dword [esi]
mov esp, 0x26e508c5
out dx, al
xor dl, byte [edx]
xor dword [esi + 0x6440acfb], ebp
push ss
cmp dword [edx + ecx*2 + 0x3d], 0x2903af1e
imul ebp, dword [ecx + 0x11], 0x56f654b0
adc dword [edx + 0x4186befc], 0x66
jg 0x1001ce09
fnstcw word [edx]
imul al
lahf
xchg edx, eax
add byte [esi], 0x63
pop edi
hlt
cmp dh, dh
call 0x168260d6
arpl word [edi - 0xc], bx
sbb al, 0x4d
adc al, 0x81
add ecx, 0xbd418e90
mov es, word [ecx - 0x43]
enter 0x204b, 0xb
dec ebx
aam 0xda
jne 0x1001ce8c
and al, 0xe6
pop esp
sub ah, byte [ebx + 0x1f61d137]
mov ch, 0x64
dec edi
xchg ebx, eax
outsb dx, byte [esi]
enter 0x3e1e, 0xffffffffffffff96
invalid
pop ebp
adc edx, dword [esi - 0x42058c4d]
fisubr dword [ecx]
loopne 0x1001ce41
jae 0x1001ce88
mov ebp, 0xaee029da
stc
sahf
in al, dx
push esp
mov ebx, 0x63b71169
pop ds
sbb ebp, esp
pop ecx
into
inc esi
sub bl, byte [ecx]
outsd dx, dword [esi]
loop 0x1001ce2f
retf 0x5444

Function at 0x100207a0
Capabilities:
Encode data using xor

Disassembly:
stosb byte es:[edi], al
aas
cld
and dword [esi + 0x22], esp
adc al, 0x88
wait
invalid
jecxz 0x100207f9
pop eax
push ecx
add byte [edx], bh
fisttp word [edi - 5]
xor cl, byte [ebp + 0x4df95078]
lea edi, [eax + 0x50]
stc
dec ebp
sub byte [edx - 0x50], bh
out dx, al
pop ebp
test eax, 0x2e8f9131
xchg edx, eax
jns 0x10020757
sahf
sbb al, 0x4a
cmp byte [edx], dh
xchg dword [0xd2683491], edi
and eax, 0x9f759319
popfd
jae 0x100207aa
pop ebp
mov bh, 0x62
pop ebp
sbb dh, byte [edx - 0x5e8042ee]
add al, 0xd9
clc
out 0x8c, al
dec edx
pop eax
inc esi
mov esi, 0xa413b228
hlt
cwde
xchg byte [ecx - 0x5a], al
cmpsd dword [esi], dword es:[edi]
dec esp
and eax, ebx
invalid
Function at 0x10021cc0
Capabilities:
Encode data using xor

Disassembly:
sub eax, 0x645fce2d
jns 0x10021c4b
sub dword [esp + ebx*8 - 0x26d5b681], ebp
mov esp, 0xd6892b15
shl ch, 1
xchg esp, eax
in eax, 0x94
loope 0x10021c64
push ebx
inc ebx
test dword [ebp + 0xd84b9fd], ebp
cmp ax, bx
clc
push esi
and dword [esi - 0x73], ebp
dec ebx
mov ebp, 0xa6ef943d
pop ds
inc edx
and ebp, esp
pop ebx
jae 0x10021c78
add al, 0xd
inc eax
push ebp
mov eax, dword [ebp + 0x2d1c96c6]
or dword [edi - 0x6e93804d], esp
dec ecx
lcall 0x5e7f, 0x659c7ae7
xchg ah, bl
lea esp, [edi + 0x70]
sub cl, ah
salc
fisub word [edi + 0x7c]
adc al, 0xf5
insb byte es:[edi], dx
cmpsb byte [esi], byte es:[edi]
aaa
push es
test dword [eax + ebx*4 + 0x49b2d6c6], edi
xor al, 0x3e
dec eax
jnp 0x10021cc7
sti
xchg ebp, eax
sbb eax, 0x49d0a475
sub eax, 0x25e195b4
ja 0x10021d82
and byte [edi - 0x37825836], bh
or ebp, dword [esp + ecx]
not al
add eax, 0x2c9e3e99
add byte cs:[0x56274d7], 0x54
mov ecx, 0x3e4b1152
or al, 0x26
sub edi, dword [eax - 0x66]
in eax, 0x56
sub dword [esi + ebp*8], edx
cmp ah, dh
sbb edi, dword [ecx + 0x3c]
rcr dword [edx + 0x3c], 0x29
in eax, dx
or al, 0xda
jle 0x10021d6b
push eax
cmpsd dword [esi], dword es:[edi]
lcall 0x4804, 0x579e
add edx, ecx
push eax
inc ebx
mov word [eax + edx*2 + 0x22], es
scasd eax, dword es:[edi]
sub eax, 0x2a2eded1
add dword [esi], 0xb98ac5a0
pop esp
ret 0xb956
invalid
cwde
js 0x10021d3b
dec eax
insb byte es:[edi], dx
xchg ecx, eax
xchg esi, eax
xor ebx, dword [ebx + 0x5a7e921b]
fnstenv [edx - 0x539dfa6]
cmp al, 0x60
call 0xe66c25c4
cwde
mov ah, byte [esp + ebx*4]
xor byte [ebx], cl
xchg ebp, eax
dec ebp
insd dword es:[edi], dx
or al, 0xb1
pop esp
test al, 9
bound edx, qword [ebp + 0x16e511ef]
imul edi, edi, 0xffffffc7
retf 0x54ab
Function at 0x40abc7
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0x170
mov eax, 0x6e0238
call fcn.005770f8
mov esi, ecx
mov dword [ebp - 0x17c], esi
xor ebx, ebx
mov dword [ebp - 0x17c], esi
push 0xf
pop edi
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
mov dword [ebp - 0x11c], edi
cmp byte [ebp + 8], bl
je 0x40acd2
lea eax, [ebp - 0x118]
mov dword [ebp - 4], ebx
push eax
push ebx
push ebx
push 0x26
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea ecx, [ebp - 0x130]
test eax, eax
js 0x40ad89
lea eax, [ebp - 0x118]
push eax
call fcn.0040259b
push str.JiSu
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x134], edi
mov byte [ebp - 0x148], bl
call fcn.0040259b
push 0x798088
lea edx, [ebp - 0x130]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x178]
call fcn.0040e1cf
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x160]
call fcn.0040271f
pop ecx
pop ecx
push str.Application
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004023f2
push eax
mov ecx, esi
call fcn.00402434
lea ecx, [ebp - 0x160]
call fcn.00402575
lea ecx, [ebp - 0x178]
call fcn.00402575
lea ecx, [ebp - 0x148]
call fcn.00402575
lea ecx, [ebp - 0x130]
call fcn.00402575
jmp 0x40ad96
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 4
push eax
push ebx
push ebx
push 0x1c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea ecx, [ebp - 0x130]
test eax, eax
js 0x40ad89
lea eax, [ebp - 0x118]
push eax
call fcn.0040259b
push str.JiSu
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x134], edi
mov byte [ebp - 0x148], bl
call fcn.0040259b
push 0x798088
lea edx, [ebp - 0x130]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x160]
call fcn.0040e1cf
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0x178]
call fcn.0040271f
pop ecx
pop ecx
push str.Application
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.004023f2
push eax
mov ecx, esi
call fcn.00402434
lea ecx, [ebp - 0x178]
call fcn.00402575
lea ecx, [ebp - 0x160]
jmp 0x40acb2
call fcn.00402575
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], edi
mov byte [esi], bl
mov eax, esi
call fcn.005770a2
ret
Function at 0x40be21
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x40be48
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040cc22
jmp 0x40befd
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x40be6a
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x40be6c
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x40bef1
jg 0x40be81
test esi, esi
je 0x40bef1
test ecx, ecx
jl 0x40beca
jg 0x40be8b
test eax, eax
je 0x40beca
cmp edi, ecx
jg 0x40be9f
jl 0x40be95
cmp esi, eax
jae 0x40be9f
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.0069f010
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x40becd
mov edx, dword [ebp + 8]
test edi, edi
jl 0x40bef1
jg 0x40bed7
test esi, esi
je 0x40bef1
cmp dword [ebx + 0x4c], 0
je 0x40bef1
push dword [ebx + 0x4c]
push esi
push 1
push edx
call fcn.006a6bc2
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40bf06
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x40bf2d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040cceb
jmp 0x40bffc
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x40bf4f
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x40bf51
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x40bff0
jg 0x40bf6e
test esi, esi
je 0x40bff0
test ecx, ecx
jl 0x40bfbb
jg 0x40bf78
test eax, eax
je 0x40bfbb
cmp ebx, ecx
jg 0x40bf8c
jl 0x40bf82
cmp esi, eax
jae 0x40bf8c
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.0069f010
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x40bfc2
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x40bff0
jg 0x40bfcc
test esi, esi
je 0x40bff0
cmp dword [edi + 0x4c], 0
je 0x40bff0
mov ecx, edi
call fcn.0040d631
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.006a7197
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40c265
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x7cbe5c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x40c28b
xor eax, eax
jmp 0x40c352
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x40c2b4
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x40c2b4
dec dword [edx]
mov eax, ebx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x40c352
cmp dword [esi + 0x4c], 0
je 0x40c350
mov ecx, esi
call fcn.0040d631
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x40c2e1
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.006a5f25
cmp eax, edi
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x40c350
mov byte [ebp - 0x25], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call edx
test eax, eax
js 0x40c350
cmp eax, 1
jle 0x40c31f
cmp eax, 3
jne 0x40c350
push dword [esi + 0x4c]
movsx ecx, byte [ebp - 0x25]
push ecx
jmp 0x40c2d3
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x30], eax
je 0x40c342
push dword [esi + 0x4c]
push eax
mov eax, ecx
push 1
push eax
call fcn.006a6bc2
add esp, 0x10
cmp dword [ebp - 0x30], eax
jne 0x40c350
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x34], eax
mov eax, ebx
jne 0x40c352
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005765d0
leave
ret 4

Function at 0x40d6b9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x7cbe5c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x40d73d
cmp byte [esi + 0x3d], 0
je 0x40d73d
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40d70f
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x40d713
sub eax, 1
je 0x40d717
dec eax
sub eax, 1
je 0x40d73d
xor al, al
jmp 0x40d73f
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40d734
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.006a6bc2
add esp, 0x10
cmp edi, eax
jne 0x40d70f
cmp byte [esi + 0x3d], 0
sete al
jmp 0x40d73f
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005765d0
leave
ret
Function at 0x410c53
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x410ded
mov edx, 0x10000000
cmp eax, 0x7c
je 0x410ded
cmp eax, 0x29
jne 0x410c90
cmp dword [esi + 0x10], 0
jne 0x410ded
cmp eax, eax
jne 0x410c90
test dword [esi + 0x50], edx
je 0x410df3
cmp eax, 0x2e
jne 0x410cab
push 5
lea ecx, [esi + 0x24]
call fcn.00410edd
mov ecx, esi
call fcn.00410c2b
jmp 0x410dd7
cmp eax, 0x5c
jne 0x410cfd
mov ecx, esi
call fcn.00410c2b
test byte [esi + 0x50], 0x80
je 0x410cf1
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x410cda
push 4
lea ecx, [esi + 0x24]
call fcn.00410edd
mov ecx, esi
call fcn.00410c2b
jmp 0x410dde
cmp al, 0x42
jne 0x410cf1
push 4
lea ecx, [esi + 0x24]
call fcn.00410edd
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x410cce
mov ecx, esi
call fcn.0041130d
jmp 0x410dd7
cmp eax, 0x5b
jne 0x410d60
mov ecx, esi
call fcn.00410c2b
lea ecx, [esi + 0x24]
call fcn.00411ac2
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x410d2a
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00410c2b
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x410d48
cmp eax, 0x5d
jne 0x410d48
push eax
lea ecx, [esi + 0x24]
call fcn.00411b14
mov ecx, esi
call fcn.00410c2b
mov ecx, esi
call fcn.004118c1
cmp dword [esi + 0x4c], 0x5d
je 0x410c9f
push 4
jmp 0x410df5
cmp eax, 0x28
jne 0x410d7d
mov ecx, esi
call fcn.00410c2b
mov ecx, esi
call fcn.004113fa
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x410df3
jmp 0x410dcc
cmp eax, 0x5e
jne 0x410d89
push 2
jmp 0x410cc6
cmp eax, 0x24
jne 0x410d95
push 3
jmp 0x410cc6
cmp eax, 0x2a
je 0x410de9
cmp eax, 0x2b
je 0x410de9
cmp eax, 0x3f
je 0x410de9
cmp eax, 0x7b
je 0x410de9
cmp eax, 0x7d
jne 0x410db3
test dword [esi + 0x50], edx
je 0x410de5
cmp eax, 0x5d
jne 0x410dbd
test dword [esi + 0x50], edx
je 0x410d59
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004115d9
mov bl, 1
mov ecx, esi
call fcn.00410c2b
test bl, bl
je 0x410dde
mov ecx, esi
call fcn.004114ff
mov cl, 1
jmp 0x410c5a
push 6
jmp 0x410df5
push 0xa
jmp 0x410df5
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.0040fed0
int3
Function at 0x4134ca
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
mov eax, dword [0x7cbe5c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, ecx
push esi
push edi
push 0x41
pop ecx
mov dword [ebp - 0x104], edx
lea esi, [ebp - 0x108]
mov dword [ebp - 0x108], 1
lea edi, [ebp - 0x20c]
rep movsd dword es:[edi], dword [esi]
push 0x41
pop ecx
lea esi, [ebp - 0x108]
mov dword [ebp - 0x324], eax
mov eax, dword [ebp + 0x10]
lea edi, [ebp - 0x310]
rep movsd dword es:[edi], dword [esi]
push 4
mov dword [ebp - 0x314], edx
mov dword [ebp - 0x320], eax
pop edi
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [edx + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov esi, eax
test esi, esi
jns 0x41356d
call fcn.006a5ee9
cmp dword [eax], edi
jne 0x41356b
mov edx, dword [ebp - 0x314]
jmp 0x41352e
test esi, esi
jne 0x413573
push 0xd
jmp 0x4135ea
test esi, esi
jle 0x4135e8
mov esi, dword [sym.imp.WS2_32.dll___WSAFDIsSet]
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x314]
call esi
test eax, eax
jne 0x4135a3
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x314]
call esi
test eax, eax
je 0x4135e8
lea eax, [ebp - 0x31c]
mov dword [ebp - 0x31c], edi
push eax
lea eax, [ebp - 0x318]
xor esi, esi
push eax
push 0x1007
push 0xffff
push dword [ebp - 0x314]
mov dword [ebp - 0x318], esi
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
js 0x4135e1
cmp dword [ebp - 0x318], esi
je 0x4135e4
push 2
pop esi
mov eax, esi
jmp 0x4135eb
push 2
pop eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005765d0
leave
ret
Function at 0x4137b8
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 4]
push esi
mov esi, dword [sym.imp.WS2_32.dll_ioctlsocket]
push edi
push eax
push 0x8004667e
push ebx
mov edi, ecx
mov dword [ebp - 4], 1
call esi
mov eax, dword [ebp + 0xc]
push dword [eax + 0x10]
push dword [eax + 0x18]
push ebx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x413835
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x41380e
mov eax, dword [edi + 4]
mov dword [eax], 2
xor al, al
jmp 0x4138c1
mov eax, dword [edi + 0xc]
mov ecx, ebx
push dword [eax + 4]
push dword [eax]
mov eax, dword [edi + 8]
push dword [eax + 4]
push dword [eax]
call fcn.004134ca
mov ecx, dword [edi + 4]
add esp, 0x10
mov dword [ecx], eax
mov eax, dword [edi + 4]
cmp dword [eax], 0
jne 0x413807
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
push 0x8004667e
push ebx
call esi
mov eax, dword [edi + 0x14]
push 0
push 0x3e8
push dword [eax + 4]
push dword [eax]
call fcn.005773f0
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, eax
mov eax, dword [edi + 0x10]
push 4
imul eax, dword [eax], 0x3e8
add ecx, eax
lea eax, [ebp + 8]
push eax
push 0x1006
push 0xffff
push ebx
mov dword [ebp + 8], ecx
call esi
mov eax, dword [edi + 0x1c]
push 0
push 0x3e8
push dword [eax + 4]
push dword [eax]
call fcn.005773f0
mov ecx, eax
mov eax, dword [edi + 0x18]
push 4
imul eax, dword [eax], 0x3e8
add ecx, eax
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
push ecx
push 0x1005
push 0xffff
push ebx
call esi
mov ecx, dword [edi + 4]
mov al, 1
and dword [ecx], 0
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4138c8
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x7cbe5c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 2
mov dword [ebp - 0x40c], eax
mov ebx, edx
pop ecx
movzx eax, word [esi]
cmp ax, cx
je 0x4138fe
cmp eax, 0x17
jne 0x41395a
movzx eax, word [esi + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [ebp - 0x40c]
movzx eax, ax
push 0x401
push 0
mov dword [ecx], eax
lea eax, [ebp - 0x408]
push eax
call fcn.0069f590
add esp, 0xc
lea eax, [ebp - 0x408]
push 2
push 0
push 0
push 0x401
push eax
push ebx
push esi
call dword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x41395a
lea eax, [ebp - 0x408]
mov ecx, edi
push eax
call fcn.0040259b
mov al, 1
jmp 0x41395c
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005765d0
leave
ret
Function at 0x415de0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x7cbe5c]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 8]
push edi
mov edi, dword [ebp + 0xc]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0x80
push eax
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x415e32
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push edi
push esi
call fcn.004138c8
pop ecx
pop ecx
mov ecx, dword [esp + 0x94]
pop edi
pop esi
xor ecx, esp
call fcn.005765d0
mov esp, ebp
pop ebp
ret 8