joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421e83
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x435008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x421ece
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004220a0
test al, al
jne 0x421ec8
sub edx, 2
cmp edx, edi
jne 0x421eae
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x421ef0
lea eax, [edi + 2]
cmp edx, eax
je 0x421ef0
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00421dcf
add esp, 0x10
jmp 0x421fea
push esi
lea ecx, [ebp - 0x255]
call fcn.004220a0
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x421f33
push dword [ebp - 0x25c]
jmp 0x421ee0
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x421f70
cmp word [ebp - 0x226], 0
je 0x421f91
cmp word [ebp - 0x226], ax
jne 0x421f70
cmp word [ebp - 0x224], 0
je 0x421f91
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00421dcf
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x421fdd
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x421f4a
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x421fc5
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x421fea
push 0x421b30
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00427e20
add esp, 0x10
jmp 0x421fba
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004176dc
leave
ret

Function at 0x422b9d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x422bae
pop esi
ret
push ebx
push edi
push esi
call fcn.00422b66
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0041efe5
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x422bd6
push ebx
push esi
push edi
call fcn.0041a2e0
add esp, 0xc
push 0
call fcn.0041efab
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x422fa6
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00422beb
Function at 0x429355
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.004292d1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4294c4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4294c4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x429479
jg 0x4293b1
test eax, eax
je 0x42946f
push 1
push 0x1000
call fcn.00421ad3
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4293d4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x429466
push 0x8000
push ebx
call fcn.0041e32a
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4293fd
jg 0x4293f8
cmp ecx, 0x1000
jb 0x4293fd
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004279e4
add esp, 0x10
cmp eax, 0xffffffff
je 0x429442
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x4293f8
jl 0x429429
test ecx, ecx
jne 0x4293ea
push dword [ebp - 0xc]
push ebx
call fcn.0041e32a
push esi
call fcn.0041efab
add esp, 0xc
xor ebx, ebx
jmp 0x4294d2
cmp byte [edi + 0x24], 0
je 0x429459
cmp dword [edi + 0x20], 5
jne 0x429459
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x429464
mov ebx, dword [edi + 0x18]
jmp 0x429466
xor ebx, ebx
push esi
call fcn.0041efab
pop ecx
jmp 0x4294d2
test ecx, ecx
jg 0x42943b
jl 0x429479
test eax, eax
jae 0x42943b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004291b2
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x429499
cmp byte [edi + 0x1c], 0
je 0x42943b
jmp 0x4294ca
push ebx
call fcn.00423467
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x42943b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4294d2
cmp byte [edi + 0x1c], 0
je 0x4294cf
mov ebx, dword [edi + 0x18]
jmp 0x4294d2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004291b2
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4294ec
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0x436250]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42952c
cmp byte [ebx], 0xa
jne 0x42952c
or byte [edi + eax + 0x28], 4
jmp 0x429531
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x429630
mov dl, byte [eax]
cmp dl, 0x1a
je 0x429613
inc eax
cmp dl, 0xd
je 0x42955d
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x429583
cmp eax, ecx
jae 0x429591
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x429545
jmp 0x429630
push 0
lea eax, [ebp - 0x10]
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 0x42960e
cmp dword [ebp - 0x10], 0
je 0x42960e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x436250]
test byte [eax + edi + 0x28], 0x48
je 0x4295e8
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4295d3
mov byte [esi], dl
jmp 0x4295e4
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x436250]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x429630
cmp byte [ebp - 1], 0xa
jne 0x4295f7
cmp esi, ebx
jne 0x4295f7
mov byte [esi], 0xa
jmp 0x42962f
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004291b2
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x429630
mov byte [esi], 0xd
jmp 0x42962f
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x436250]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x42962d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x429630
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x429639
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x436250]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42967f
cmp word [ebx], dx
jne 0x42967f
or byte [eax + edi + 0x28], 4
jmp 0x429684
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x4297e7
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x4297c7
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x4296c5
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4296fb
cmp eax, edx
jae 0x429709
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x4296a0
jmp 0x4297e7
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4297c2
cmp dword [ebp - 0x18], 0
je 0x4297c2
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x436250]
test byte [eax + edi + 0x28], 0x48
je 0x429798
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x42975c
mov word [esi], cx
jmp 0x429793
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x436250]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x436250]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x436250]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x4297e7
pop eax
cmp word [ebp - 4], ax
jne 0x4297a8
cmp esi, ebx
jne 0x4297a8
mov word [esi], ax
jmp 0x4297e4
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004291b2
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x4297e7
push 0xd
pop eax
jmp 0x4297a3
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x436250]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x4297e1
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x4297e7
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42b8b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42b8dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42b8dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10009250
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10182440]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
push 0x11
mov ecx, esi
mov dword [ebp - 0x2c], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x2a002e
mov dword [ebp - 0x24], 0x720050
mov dword [ebp - 0x20], 0x67006f
mov dword [ebp - 0x1c], 0x610072
mov dword [ebp - 0x18], 0x20006d
mov dword [ebp - 0x14], 0x690046
mov dword [ebp - 0x10], 0x65006c
mov dword [ebp - 0xc], 0x2e0073
mov dword [ebp - 8], 0x2a
call fcn.1000a620
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.100c427e
mov esp, ebp
pop ebp
ret 4

Function at 0x10009690
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10132c56
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x10182440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0xc]
lea ebx, [edi + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x238], xmm0
push ebx
mov dword [ebp - 0x238], ebx
call fcn.1003bf2c
add esp, 4
test eax, eax
je 0x100096ed
push eax
call fcn.1003c0e2
add esp, 4
mov byte [ebp - 0x234], 1
mov eax, dword [edi + 0x34]
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
jne 0x100097db
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x10009716
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.1001bc90
add esp, 0xc
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10009767
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10106340
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x10009785
mov esi, dword [esi]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push esi
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x218]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100097b1
sub edx, ecx
lea eax, [ebp - 0x218]
sar edx, 1
lea ecx, [edi + 0x34]
push edx
push eax
call fcn.10009e20
lea ecx, [ebp - 0x230]
call fcn.10009070
push ebx
mov dword [ebp - 4], 2
call fcn.1003bf51
add esp, 4
test eax, eax
je 0x100097f8
push eax
call fcn.1003c0e2
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c427e
mov esp, ebp
pop ebp
ret 8
Function at 0x10009820
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10132c88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10182440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x14], 0x73
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x2c]
push 1
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x18], 7
call fcn.1000a620
cmp dword [ebp - 0x18], 8
lea ebx, [edi + 4]
lea esi, [ebp - 0x2c]
mov dword [ebp - 4], 0
cmovae esi, dword [ebp - 0x2c]
push ebx
call fcn.1003bf2c
add esp, 4
test eax, eax
je 0x100098a1
push eax
call fcn.1003c0e2
add esp, 4
push dword [edi + 0x34]
push 0
push esi
push str.ActivePlugin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
push ebx
mov byte [ebp - 4], 1
call fcn.1003bf51
add esp, 4
test eax, eax
je 0x100098ce
push eax
call fcn.1003c0e2
add esp, 4
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x10009904
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100098fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009922
push edx
push ecx
call fcn.100c3f2a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c427e
mov esp, ebp
pop ebp
ret
call fcn.10109bb0
int3

Function at 0x10009930
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10132cb8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10182440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x18], 0x700073
mov word [ebp - 0x14], ax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x18]
push 2
push eax
mov dword [ebp - 0x1c], 7
call fcn.1000a620
cmp dword [ebp - 0x1c], 8
lea ebx, [edi + 4]
lea esi, [ebp - 0x30]
mov dword [ebp - 4], 0
cmovae esi, dword [ebp - 0x30]
push ebx
call fcn.1003bf2c
add esp, 4
test eax, eax
je 0x100099b1
push eax
call fcn.1003c0e2
add esp, 4
push dword [edi + 0x34]
push 0
push esi
push str.ActivePlugin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
push ebx
mov byte [ebp - 4], 1
call fcn.1003bf51
add esp, 4
test eax, eax
je 0x100099de
push eax
call fcn.1003c0e2
add esp, 4
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x10009a14
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10009a0a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009a32
push edx
push ecx
call fcn.100c3f2a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c427e
mov esp, ebp
pop ebp
ret
call fcn.10109bb0
int3
Function at 0x10009aa0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10132b80
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10182440]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 4]
push edi
call fcn.1003bf2c
add esp, 4
test eax, eax
je 0x10009adf
push eax
call fcn.1003c0e2
add esp, 4
push dword [esi + 0x34]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
push edi
mov dword [ebp - 4], 0
call fcn.1003bf51
add esp, 4
test eax, eax
je 0x10009b10
push eax
call fcn.1003c0e2
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10009b30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10132ce0
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x10182440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 0x14]
push 0x20a
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.10106340
lea ebx, [edi + 4]
push ebx
call fcn.1003bf2c
add esp, 0x10
test eax, eax
je 0x10009bb0
push eax
call fcn.1003c0e2
add esp, 4
push dword [edi + 0x34]
lea eax, [ebp - 0x21c]
push 0x104
push eax
push dword [ebp - 0x224]
push dword [ebp - 0x228]
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ebx
mov dword [ebp - 4], 0
call fcn.1003bf51
add esp, 4
test eax, eax
je 0x10009bf4
push eax
call fcn.1003c0e2
add esp, 4
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x21c]
mov dword [esi + 0x14], 7
mov dword [ebp - 4], 0xffffffff
lea edx, [ecx + 2]
mov word [esi], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009c17
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000a620
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c427e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10009c60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10132d10
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x10182440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x10]
push 0x20a
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.10106340
lea edi, [esi + 4]
push edi
call fcn.1003bf2c
add esp, 0x10
test eax, eax
je 0x10009cd1
push eax
call fcn.1003c0e2
add esp, 4
push dword [esi + 0x34]
lea eax, [ebp - 0x21c]
push 0x104
push eax
push dword [ebp - 0x220]
push ebx
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
mov dword [ebp - 4], 0
call fcn.1003bf51
add esp, 4
test eax, eax
je 0x10009d10
push eax
call fcn.1003c0e2
add esp, 4
lea eax, [ebp - 0x21c]
push eax
call fcn.1010ae2e
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c427e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10012260
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10182440]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
push 0xf
mov ecx, esi
mov dword [ebp - 0x28], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0x2e0073
mov dword [ebp - 0x20], 0x75006c
mov dword [ebp - 0x1c], 0x690078
mov dword [ebp - 0x18], 0x6f0061
mov dword [ebp - 0x14], 0x680063
mov dword [ebp - 0x10], 0x2e0065
mov dword [ebp - 0xc], 0x6f0063
mov dword [ebp - 8], 0x6d
call fcn.1000a620
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.100c427e
mov esp, ebp
pop ebp
ret 4
Function at 0x100122f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
mov eax, dword [0x10182440]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov word [ebp - 8], ax
mov ecx, esi
push 0x72
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0xec]
push eax
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0xec], 0x740068
mov dword [ebp - 0xe8], 0x700074
mov dword [ebp - 0xe4], 0x2f003a
mov dword [ebp - 0xe0], 0x25002f
mov dword [ebp - 0xdc], 0x2f0073
mov dword [ebp - 0xd8], 0x730025
mov dword [ebp - 0xd4], 0x70003f
mov dword [ebp - 0xd0], 0x640069
mov dword [ebp - 0xcc], 0x7b003d
mov dword [ebp - 0xc8], 0x690070
mov dword [ebp - 0xc4], 0x7d0064
mov dword [ebp - 0xc0], 0x740026
mov dword [ebp - 0xbc], 0x700079
mov dword [ebp - 0xb8], 0x3d0065
mov dword [ebp - 0xb4], 0x74007b
mov dword [ebp - 0xb0], 0x700079
mov dword [ebp - 0xac], 0x7d0065
mov dword [ebp - 0xa8], 0x610026
mov dword [ebp - 0xa4], 0x740063
mov dword [ebp - 0xa0], 0x6f0069
mov dword [ebp - 0x9c], 0x3d006e
mov dword [ebp - 0x98], 0x61007b
mov dword [ebp - 0x94], 0x740063
mov dword [ebp - 0x90], 0x6f0069
mov dword [ebp - 0x8c], 0x7d006e
mov dword [ebp - 0x88], 0x610026
mov dword [ebp - 0x84], 0x700070
mov dword [ebp - 0x80], 0x7b003d
mov dword [ebp - 0x7c], 0x700061
mov dword [ebp - 0x78], 0x7d0070
mov dword [ebp - 0x74], 0x610026
mov dword [ebp - 0x70], 0x700070
mov dword [ebp - 0x6c], 0x650076
mov dword [ebp - 0x68], 0x3d0072
mov dword [ebp - 0x64], 0x61007b
mov dword [ebp - 0x60], 0x700070
mov dword [ebp - 0x5c], 0x650076
mov dword [ebp - 0x58], 0x7d0072
mov dword [ebp - 0x54], 0x6d0026
mov dword [ebp - 0x50], 0x640069
mov dword [ebp - 0x4c], 0x7b003d
mov dword [ebp - 0x48], 0x69006d
mov dword [ebp - 0x44], 0x7d0064
mov dword [ebp - 0x40], 0x6d0026
mov dword [ebp - 0x3c], 0x640069
mov dword [ebp - 0x38], 0x3d0032
mov dword [ebp - 0x34], 0x6d007b
mov dword [ebp - 0x30], 0x640069
mov dword [ebp - 0x2c], 0x7d0032
mov dword [ebp - 0x28], 0x6d0026
mov dword [ebp - 0x24], 0x64006f
mov dword [ebp - 0x20], 0x650076
mov dword [ebp - 0x1c], 0x3d0072
mov dword [ebp - 0x18], 0x6d007b
mov dword [ebp - 0x14], 0x64006f
mov dword [ebp - 0x10], 0x650076
mov dword [ebp - 0xc], 0x7d0072
call fcn.1000a620
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c427e
mov esp, ebp
pop ebp
ret 4