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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0xc], 0
je 0x10017d76
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 4
jl 0x10017d1c
cmp dword [ebp - 0xc], 5
jle 0x10017d0b
jmp 0x10017d1c
mov eax, dword [ebp + 8]
mov ax, word [eax*2 + str..___Ee]
mov word [ebp - 4], ax
jmp 0x10017d74
push 2
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax*4 + 0x1003cd48]
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
cmp eax, 2
jne 0x10017d63
push 2
lea eax, [ebp - 0x10]
push eax
push 2
lea eax, [ebp - 8]
push eax
push 4
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 2
pop eax
imul eax, eax, 0
mov ax, word [ebp + eax - 0x10]
mov word [ebp - 4], ax
jmp 0x10017d74
push 2
pop eax
imul eax, eax, 0
mov ax, word [eax + str..___Ee]
mov word [ebp - 4], ax
jmp 0x10017d85
mov eax, dword [ebp + 8]
mov ax, word [eax*2 + str..___Ee]
mov word [ebp - 4], ax
mov ax, word [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x1001a3eb
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0xf
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1001a42d
push 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10051dd1
test eax, eax
jl 0x1001a42d
push 2
pop eax
imul eax, eax, 0
mov ecx, dword [ebp + 0xc]
mov ax, word [ebp + eax - 8]
mov word [ecx], ax
push 2
lea eax, [ebp - 4]
push eax
push 0xe
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1001a46a
push 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.1002b510
test eax, eax
jl 0x1001a46a
push 2
pop eax
imul eax, eax, 0
mov ecx, dword [ebp + 8]
mov ax, word [ebp + eax - 8]
mov word [ecx], ax
mov esp, ebp
pop ebp
ret 8
Function at 0x1004c30b
Capabilities:
Encode data using xor

Disassembly:
call 0x1004c284
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1004c2b4
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1004c2d0
xor edx, 0
jmp 0x1004c2db
xor edx, edx
jmp 0x1004c2f2
jmp 0x1004c2fe
xor eax, eax
push 0x8427d7c0
call 0x1004c30b
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1004c347
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1004c320
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1004c35e
add eax, 0
jno 0x1004c363
add esi, 0
ret 0x10

Function at 0x1004d0cc
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1004d0ee
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1004d290
cmp edi, dword [ebp + 0x10]
jb 0x1004d290
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1004cbb8
inc edi
jmp 0x1004d177
jmp 0x1004d184
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1004cbb8
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1004cbb8
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1004d1d8
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1004d1bc
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1004d206
add dword [eax], 0x39
jle 0x1004d1e2
sub al, 0xf5
mov ch, al
call fcn.1004d21b
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x1004eef3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1004ef09
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1004ef1a
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1004ef5b
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x100512c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x10051210
add ebx, 0
push ecx
call 0x10051225
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6c58614b
sub ebx, dword [0x6c5a598a]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c5a597a
call fcn.1004ccef
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1004c1fd
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x10051383
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x10051383
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1005133a
mov eax, 1
lock xchg dword [0x6c5a5986], eax
push 0x3dd1fc71
call 0x100512c7
push esi
add esp, 8
cmp eax, 0
jne 0x100512b0
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100512d6
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100512eb
cmp ecx, edx
cmp eax, 0
je 0x10051310
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x100512fa
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.10051329
dec eax
loope 0x1005132c
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c5a5986], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x10051360
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x10051375
jmp 0x10051380
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1005126e
Function at 0x100583e8
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x100586be
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c5925fe
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c5895c4
push 0xffffffffffffffff
call fcn.1004f5e8
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x10058452
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1005846a
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x100586b2
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x10058686
Function at 0x10067eb8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10067eda
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10067eda
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10067eda
ret
cmp word [ebx + 4], 0x14c
jne 0x10067eda
test word [ebx + 0x16], 2
je 0x10067eda
test word [ebx + 0x16], 0x100
je 0x10067eda
cmp word [ebx + 0x18], 0x10b
jne 0x10067eda
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10067eda
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10067f66
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10067efa
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1004ee45
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10067eda
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10067f66
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10067eda
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10067eda
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10067eda
ret
cmp word [ebx + 4], 0x14c
jne 0x10067eda
test word [ebx + 0x16], 2
je 0x10067eda
test word [ebx + 0x16], 0x100
je 0x10067eda
cmp word [ebx + 0x18], 0x10b
jne 0x10067eda
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10067eda
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10067f66
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10067efa
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1004ee45
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10067eda
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x1006801d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10068076
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1006801d
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1006802c
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1046dccf
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1006807d
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1004eef3
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1006811c
add edi, 4
add eax, 2
dec ecx
jne 0x10068062
call 0x100680c9
loope 0x100680bf
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10068119
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1006812a
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100680dd
cmp eax, ecx
ja 0x100680dd
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10068167
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1006815d
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1004f3d2
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1006802c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10068076
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1006801d
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1006802c
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1046dccf
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1006807d
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1004eef3
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1006811c
add edi, 4
add eax, 2
dec ecx
jne 0x10068062
call 0x100680c9
loope 0x100680bf
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10068119
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1006812a
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100680dd
cmp eax, ecx
ja 0x100680dd
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10068167
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1006815d
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1004f3d2
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x4032a6
Capabilities:
Terminate process

Disassembly:
jmp 0x4af66b
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x4af67c
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405286
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x4033a0
Capabilities:
Query environment variable

Disassembly:
jmp 0x4c6446
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4c6457
pop esi
ret
push ebx
push edi
push esi
call fcn.004c632d
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403b75
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4c647f
push ebx
push esi
push edi
call fcn.004050ab
add esp, 0xc
push 0
call fcn.00405ae7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4036ac
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
jmp 0x431ad0
push 1
push 0x1a
push 0x507030
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jns 0x431afe
mov eax, dword [0x506bd4]
push str.Could_not_get_Application_Data.
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
add esp, 8
mov eax, 0x4e8538
ret
push str.Oleg_Sereda
push 0x507030
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0x507030
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x431b4b
push eax
push 0x507030
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x431b4b
push str.Oleg_Sereda
mov eax, dword [0x506bd4]
push str.Could_not_create_directory__s.
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
add esp, 0xc
mov eax, 0x4e8538
ret
push edi
push str.Nonograms
push 0x507030
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov edi, 0x507030
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x431b62
mov ax, word [0x4e9fb0]
push 0x507030
mov word [edi], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
pop edi
test eax, eax
jne 0x431b9c
push eax
push 0x507030
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x431b9c
push str.Nonograms
jmp 0x431b32
mov eax, 0x507030
ret
Function at 0x403aa8
Capabilities:
Parse credit card information

Disassembly:
jmp 0x41e610
mov edx, dword [ecx + 0x7108]
push esi
push edi
lea esi, [ecx + 0x717c]
lea edi, [ecx + 0x7180]
add ecx, 0x7140
lea eax, [edx - 1]
cmp eax, 2
ja 0x41e644
mov dword [esi], 0xa
mov dword [edi], 0xa
mov dword [ecx], 1
lea eax, [edx - 4]
cmp eax, 2
ja 0x41e65e
mov dword [esi], 0xf
mov dword [edi], 0xf
mov dword [ecx], 2
lea eax, [edx - 7]
cmp eax, 5
ja 0x41e678
mov dword [esi], 0x14
mov dword [edi], 0x14
mov dword [ecx], 3
lea eax, [edx - 0xd]
cmp eax, 2
ja 0x41e692
mov dword [esi], 0x19
mov dword [edi], 0x19
mov dword [ecx], 4
lea eax, [edx - 0x10]
cmp eax, 2
ja 0x41e6ac
mov dword [esi], 0x1e
mov dword [edi], 0x1e
mov dword [ecx], 5
lea eax, [edx - 0x13]
cmp eax, 1
ja 0x41e6c6
mov dword [esi], 0x23
mov dword [edi], 0x23
mov dword [ecx], 6
cmp edx, 0x15
jl 0x41e6d0
cmp edx, 0x1a
jle 0x41e73d
cmp edx, 0x29
jl 0x41e6da
cmp edx, 0x2e
jle 0x41e73d
cmp edx, 0x3d
jl 0x41e6e4
cmp edx, 0x42
jle 0x41e73d
cmp edx, 0x51
jl 0x41e6ee
cmp edx, 0x56
jle 0x41e73d
cmp edx, 0x65
jl 0x41e6f8
cmp edx, 0x6a
jle 0x41e73d
cmp edx, 0x79
jl 0x41e702
cmp edx, 0x7e
jle 0x41e73d
cmp edx, 0x8d
jl 0x41e712
cmp edx, 0x92
jle 0x41e73d
cmp edx, 0xa1
jl 0x41e722
cmp edx, 0xa6
jle 0x41e73d
cmp edx, 0xb5
jl 0x41e732
cmp edx, 0xba
jle 0x41e73d
lea eax, [edx - 0xc9]
cmp eax, 5
ja 0x41e74f
mov dword [esi], 0x14
mov dword [edi], 0x14
mov dword [ecx], 3
cmp edx, 0x1b
jl 0x41e759
cmp edx, 0x20
jle 0x41e7c9
cmp edx, 0x2f
jl 0x41e763
cmp edx, 0x34
jle 0x41e7c9
cmp edx, 0x43
jl 0x41e76d
cmp edx, 0x48
jle 0x41e7c9
cmp edx, 0x57
jl 0x41e777
cmp edx, 0x5c
jle 0x41e7c9
cmp edx, 0x6b
jl 0x41e781
cmp edx, 0x70
jle 0x41e7c9
cmp edx, 0x7f
jl 0x41e78e
cmp edx, 0x84
jle 0x41e7c9
cmp edx, 0x93
jl 0x41e79e
cmp edx, 0x98
jle 0x41e7c9
cmp edx, 0xa7
jl 0x41e7ae
cmp edx, 0xac
jle 0x41e7c9
cmp edx, 0xbb
jl 0x41e7be
cmp edx, 0xc0
jle 0x41e7c9
lea eax, [edx - 0xcf]
cmp eax, 5
ja 0x41e7db
mov dword [esi], 0x19
mov dword [edi], 0x19
mov dword [ecx], 4
cmp edx, 0x21
jl 0x41e7e5
cmp edx, 0x26
jle 0x41e858
cmp edx, 0x35
jl 0x41e7ef
cmp edx, 0x3a
jle 0x41e858
cmp edx, 0x49
jl 0x41e7f9
cmp edx, 0x4e
jle 0x41e858
cmp edx, 0x5d
jl 0x41e803
cmp edx, 0x62
jle 0x41e858
cmp edx, 0x71
jl 0x41e80d
cmp edx, 0x76
jle 0x41e858
cmp edx, 0x85
jl 0x41e81d
cmp edx, 0x8a
jle 0x41e858
cmp edx, 0x99
jl 0x41e82d
cmp edx, 0x9e
jle 0x41e858
cmp edx, 0xad
jl 0x41e83d
cmp edx, 0xb2
jle 0x41e858
cmp edx, 0xc1
jl 0x41e84d
cmp edx, 0xc6
jle 0x41e858
lea eax, [edx - 0xd5]
cmp eax, 5
ja 0x41e86a
mov dword [esi], 0x1e
mov dword [edi], 0x1e
mov dword [ecx], 5
cmp edx, 0x27
jl 0x41e874
cmp edx, 0x28
jle 0x41e8e7
cmp edx, 0x3b
jl 0x41e87e
cmp edx, 0x3c
jle 0x41e8e7
cmp edx, 0x4f
jl 0x41e888
cmp edx, 0x50
jle 0x41e8e7
cmp edx, 0x63
jl 0x41e892
cmp edx, 0x64
jle 0x41e8e7
cmp edx, 0x77
jl 0x41e89c
cmp edx, 0x78
jle 0x41e8e7
cmp edx, 0x8b
jl 0x41e8ac
cmp edx, 0x8c
jle 0x41e8e7
cmp edx, 0x9f
jl 0x41e8bc
cmp edx, 0xa0
jle 0x41e8e7
cmp edx, 0xb3
jl 0x41e8cc
cmp edx, 0xb4
jle 0x41e8e7
cmp edx, 0xc7
jl 0x41e8dc
cmp edx, 0xc8
jle 0x41e8e7
lea eax, [edx - 0xdb]
cmp eax, 1
ja 0x41e8f9
mov dword [esi], 0x23
mov dword [edi], 0x23
mov dword [ecx], 6
pop edi
pop esi
ret
Function at 0x405155
Capabilities:
Parse pe header

Disassembly:
jmp 0x469669
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4696a8
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4696a8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4696a8
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4696a8
cmp dword [ecx + 0x74], 0xe
jbe 0x4696a8
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x405169
Capabilities:
Print debug messages

Disassembly:
jmp 0x469bbf
push esi
mov esi, ecx
call fcn.004055a1
mov eax, 0x400000
mov dword [esi], 0x38
lea ecx, [esi + 0x14]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0xe00
mov dword [esi + 0x10], 0x4ef9b8
call fcn.00402c20
test eax, eax
jns 0x469c0e
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x469c07
push str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x507418], 1
mov eax, esi
pop esi
ret
Function at 0x4bd3ab
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x5085e8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4bd3eb
cmp byte [ebx], 0xa
jne 0x4bd3eb
or byte [eax + edi + 0x28], 4
jmp 0x4bd3f0
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4bd4ee
mov al, byte [edx]
cmp al, 0x1a
je 0x4bd4d0
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4bd41f
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4bd444
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4bd44e
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4bd401
jmp 0x4bd4ee
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4bd4cb
cmp dword [ebp - 0xc], 0
je 0x4bd4cb
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x5085e8]
test byte [eax + edi + 0x28], 0x48
je 0x4bd4a5
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4bd490
mov byte [esi], dl
jmp 0x4bd4a1
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x5085e8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4bd4ee
cmp byte [ebp - 1], 0xa
jne 0x4bd4b4
cmp esi, ebx
jne 0x4bd4b4
mov byte [esi], 0xa
jmp 0x4bd4ed
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401852
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4bd4ee
mov byte [esi], 0xd
jmp 0x4bd4ed
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x5085e8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4bd4ea
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4bd4ee
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret