joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412150
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
jmp 0x41216a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x412171
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x412160
mov eax, 1
add ebx, ebx
jne 0x412183
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x412178
jne 0x412194
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412178
xor ecx, ecx
sub eax, 3
jb 0x4121a8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41221a
mov ebp, eax
add ebx, ebx
jne 0x4121b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4121c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4121e4
inc ecx
add ebx, ebx
jne 0x4121d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4121c5
jne 0x4121e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4121c5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x412204
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4121f5
jmp 0x412166
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x412204
add edi, ecx
jmp 0x412166
pop esi
mov edi, esi
mov ecx, 0x118
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x412222
cmp byte [edi], 2
jne 0x412222
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x412227
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x412296
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1203c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x412254
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12044]
or eax, eax
je 0x412290
mov dword [ebx], eax
add ebx, 4
jmp 0x412271
call dword [esi + 0x12040]
mov ebp, dword [esi + 0x12048]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x122f1]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4122e2
sub esp, 0xffffff80
jmp 0x4012e0
Function at 0x4031b5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45dd56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x1c]
call fcn.00402210
mov dword [ebp - 4], 0
push 0x15e
lea ecx, [ebp - 0x1c]
call fcn.00455610
lea eax, [ebp - 0x120]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x1c]
call fcn.00402270
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4032c2
mov dword [ebp - 0x14], 0x100
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x11c]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4032b5
lea ecx, [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0x124]
call fcn.0045518e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
call fcn.00402230
test eax, eax
jne 0x40329f
push str.__ProgramFiles_Windows_MailWinMail.exe___eml:_1
lea ecx, [ebp - 0x124]
call fcn.00402280
test eax, eax
jne 0x403296
mov dword [ebp - 0x18], 1
jmp 0x40329d
mov dword [ebp - 0x18], 0
jmp 0x4032a6
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00455120
mov edx, dword [ebp - 0x120]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x128], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00455120
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x403669
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ddaf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x314
push edi
mov dword [ebp - 0x320], ecx
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x118]
call fcn.00402210
mov dword [ebp - 4], 0
mov al, byte [0x479638]
mov byte [ebp - 0x30c], al
mov ecx, 0x7c
xor eax, eax
lea edi, [ebp - 0x30b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1f4
lea ecx, [ebp - 0x30c]
push ecx
push 0x160
mov ecx, 0x479934
call fcn.0041c0a1
lea edx, [ebp - 0x30c]
push edx
push 0x4712bc
lea eax, [ebp - 0x118]
push eax
call fcn.0044fdfe
add esp, 0xc
push str.Netscape.exe
lea ecx, [ebp - 0x118]
call fcn.00455488
lea ecx, [ebp - 0x310]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x118]
call fcn.00402270
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4037bc
mov dword [ebp - 0x10], 0x100
mov dword [ebp - 0x318], 0
jmp 0x403759
mov edx, dword [ebp - 0x318]
add edx, 1
mov dword [ebp - 0x318], edx
cmp dword [ebp - 0x318], 3
jge 0x403796
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x114]
push ecx
push 0
push 0
push str.Path
mov edx, dword [ebp - 0x310]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0
jne 0x403794
jmp 0x403796
jmp 0x40374a
mov eax, dword [ebp - 0x310]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x314], 0
jne 0x4037b5
mov dword [ebp - 0x14], 1
jmp 0x4037bc
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x31c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.00455120
mov eax, dword [ebp - 0x31c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4037ec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ddc5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x314
push edi
mov dword [ebp - 0x320], ecx
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x118]
call fcn.00402210
mov dword [ebp - 4], 0
mov al, byte [0x47963c]
mov byte [ebp - 0x30c], al
mov ecx, 0x7c
xor eax, eax
lea edi, [ebp - 0x30b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1f4
lea ecx, [ebp - 0x30c]
push ecx
push 0x160
mov ecx, 0x479934
call fcn.0041c0a1
lea edx, [ebp - 0x30c]
push edx
push 0x4712d8
lea eax, [ebp - 0x118]
push eax
call fcn.0044fdfe
add esp, 0xc
push str.Wmail32.exe
lea ecx, [ebp - 0x118]
call fcn.00455488
lea ecx, [ebp - 0x310]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x118]
call fcn.00402270
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40393c
mov dword [ebp - 0x10], 0x100
mov dword [ebp - 0x318], 0
jmp 0x4038dc
mov edx, dword [ebp - 0x318]
add edx, 1
mov dword [ebp - 0x318], edx
cmp dword [ebp - 0x318], 3
jge 0x403916
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x114]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x310]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0
jne 0x403914
jmp 0x403916
jmp 0x4038cd
mov eax, dword [ebp - 0x310]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x314], 0
jne 0x403935
mov dword [ebp - 0x14], 1
jmp 0x40393c
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x31c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.00455120
mov eax, dword [ebp - 0x31c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x403aec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ddf1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x314
push edi
mov dword [ebp - 0x320], ecx
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x118]
call fcn.00402210
mov dword [ebp - 4], 0
mov al, byte [0x479644]
mov byte [ebp - 0x30c], al
mov ecx, 0x7c
xor eax, eax
lea edi, [ebp - 0x30b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1f4
lea ecx, [ebp - 0x30c]
push ecx
push 0x160
mov ecx, 0x479934
call fcn.0041c0a1
lea edx, [ebp - 0x30c]
push edx
push 0x4712f8
lea eax, [ebp - 0x118]
push eax
call fcn.0044fdfe
add esp, 0xc
push str.OUTLOOK.exe
lea ecx, [ebp - 0x118]
call fcn.00455488
lea ecx, [ebp - 0x310]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x118]
call fcn.00402270
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403c3c
mov dword [ebp - 0x10], 0x100
mov dword [ebp - 0x318], 0
jmp 0x403bdc
mov edx, dword [ebp - 0x318]
add edx, 1
mov dword [ebp - 0x318], edx
cmp dword [ebp - 0x318], 3
jge 0x403c16
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x114]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x310]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0
jne 0x403c14
jmp 0x403c16
jmp 0x403bcd
mov eax, dword [ebp - 0x310]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x314], 0
jne 0x403c35
mov dword [ebp - 0x14], 1
jmp 0x403c3c
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x31c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.00455120
mov eax, dword [ebp - 0x31c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x403c6c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45de07
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x314
push edi
mov dword [ebp - 0x320], ecx
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x118]
call fcn.00402210
mov dword [ebp - 4], 0
mov al, byte [0x479648]
mov byte [ebp - 0x30c], al
mov ecx, 0x7c
xor eax, eax
lea edi, [ebp - 0x30b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1f4
lea ecx, [ebp - 0x30c]
push ecx
push 0x155
mov ecx, 0x479934
call fcn.0041c0a1
lea edx, [ebp - 0x30c]
push edx
push 0x471308
lea eax, [ebp - 0x118]
push eax
call fcn.0044fdfe
add esp, 0xc
lea ecx, [ebp - 0x310]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x118]
call fcn.00402270
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403dac
mov dword [ebp - 0x10], 0x100
mov dword [ebp - 0x318], 0
jmp 0x403d4c
mov edx, dword [ebp - 0x318]
add edx, 1
mov dword [ebp - 0x318], edx
cmp dword [ebp - 0x318], 3
jge 0x403d86
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x114]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x310]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0
jne 0x403d84
jmp 0x403d86
jmp 0x403d3d
mov eax, dword [ebp - 0x310]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x314], 0
jne 0x403da5
mov dword [ebp - 0x14], 1
jmp 0x403dac
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x31c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.00455120
mov eax, dword [ebp - 0x31c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40706f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov dword [ebp - 0xa4], ecx
push 0x9c
push 0
lea eax, [ebp - 0x9c]
push eax
call fcn.00442f20
add esp, 0xc
mov dword [ebp - 0x9c], 0x9c
lea ecx, [ebp - 0x9c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
jne 0x4070d9
mov dword [ebp - 0x9c], 0x94
lea edx, [ebp - 0x9c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4070d9
xor eax, eax
jmp 0x407131
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 2
je 0x4070f0
jmp 0x40712f
cmp dword [ebp - 0x98], 5
jne 0x407106
cmp dword [ebp - 0x94], 0
jne 0x407106
xor eax, eax
jmp 0x407131
cmp dword [ebp - 0x98], 5
jne 0x40711f
cmp dword [ebp - 0x94], 0
jbe 0x40711f
mov eax, 1
jmp 0x407131
cmp dword [ebp - 0x98], 5
jbe 0x40712f
mov eax, 1
jmp 0x407131
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x411f2c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f06c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1dc
mov dword [ebp - 0x1e8], ecx
mov dword [ebp - 0x1e4], 0
lea ecx, [ebp - 0x1e0]
call fcn.00402210
mov dword [ebp - 4], 1
mov ecx, 0x479910
call fcn.00402270
push eax
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
push 0x4732dc
push 0x4732e4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x411fe1
push 0x4732ec
mov ecx, dword [ebp - 0x1e8]
add ecx, 0x64
call fcn.004552a9
push 0x479714
mov ecx, dword [ebp + 8]
call fcn.0045518e
mov ecx, dword [ebp - 0x1e4]
or ecx, 1
mov dword [ebp - 0x1e4], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e0]
call fcn.00455120
mov eax, dword [ebp + 8]
jmp 0x41204f
mov ecx, 0x479918
call fcn.00402270
push eax
push 0xc8
lea edx, [ebp - 0x1dc]
push edx
push str.1200_Watch
push str.Model
push str.Watch
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x1e0]
call fcn.004552a9
lea ecx, [ebp - 0x1e0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00454e95
mov edx, dword [ebp - 0x1e4]
or edx, 1
mov dword [ebp - 0x1e4], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e0]
call fcn.00455120
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x414d0a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 1
mov ecx, dword [ebp - 8]
call fcn.00453d7d
mov dword [ebp - 4], 0xf
mov ecx, 0x479910
call fcn.00402270
push eax
mov eax, dword [ebp - 4]
push eax
push str.GreenTime
push 0x4739c8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [ecx + 0xc14], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc14], 0
jle 0x414d89
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc18], 1
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc18]
push eax
push 0x3fd
mov ecx, dword [ebp - 8]
call fcn.004546e9
mov ecx, eax
call fcn.004548eb
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc18]
mov dword [ecx + 0x4c], eax
push 0
mov ecx, dword [ebp - 8]
call fcn.00453d7d
mov esp, ebp
pop ebp
ret
Function at 0x417f34
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f53c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x278
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 0x278], 0
lea ecx, [ebp - 0x14]
call fcn.00402210
mov dword [ebp - 4], 1
mov ecx, 0x479910
call fcn.00402270
push eax
push 0x64
lea eax, [ebp - 0x78]
push eax
push 0x479774
push 0x473f08
push 0x473f10
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004552a9
lea ecx, [ebp - 0x10]
call fcn.00402210
mov byte [ebp - 4], 2
mov ecx, 0x479910
call fcn.00402270
push eax
push 0x64
lea edx, [ebp - 0x78]
push edx
push 0x479778
push 0x473f1c
push 0x473f28
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x10]
call fcn.004552a9
lea ecx, [ebp - 0x10]
push ecx
push 0x479914
lea edx, [ebp - 0x274]
push edx
call fcn.0045534f
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x284]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00455259
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x274]
call fcn.00455120
lea ecx, [ebp - 0x10]
call fcn.00402270
push eax
push 0x1f4
lea edx, [ebp - 0x26c]
push edx
push 0x47977c
push 0x473f34
lea ecx, [ebp - 0x14]
call fcn.00402270
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x270]
call fcn.00402210
mov byte [ebp - 4], 4
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x270]
call fcn.004552a9
lea ecx, [ebp - 0x270]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00454e95
mov edx, dword [ebp - 0x278]
or edx, 1
mov dword [ebp - 0x278], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x270]
call fcn.00455120
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00455120
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00455120
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x41c0a1
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fb04
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x10]
call fcn.00402210
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push 0x474324
lea ecx, [ebp - 0x10]
push ecx
call fcn.0044fdfe
add esp, 0xc
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0xc], 0
je 0x41c107
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
jmp 0x41c175
mov ecx, dword [ebp - 0x20]
add ecx, 0x14
call fcn.00402270
push eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0
lea ecx, [ebp - 0x10]
call fcn.00402270
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x18
call fcn.00402270
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41c175
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00455120
mov eax, dword [ebp - 0x18]
jmp 0x41c18e
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00455120
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41d66d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fc1c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x10], 0
push 0x4746fc
lea ecx, [ebp - 0x18]
call fcn.0045518e
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x18]
call fcn.00402270
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41d723
mov dword [ebp - 0x20], 1
push 0x474718
lea ecx, [ebp - 0x1c]
call fcn.0045518e
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20]
push eax
push 0
lea ecx, [ebp - 0x1c]
call fcn.00402270
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41d70d
mov dword [ebp - 0x10], 1
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00455120
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00455120
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x41d74b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 1
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareInternetScanner
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41d7b8
mov edx, dword [ebp + 8]
push edx
call fcn.004431c0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 1
push 0
push str.Buffer
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 4

Function at 0x41e0a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fd21
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
mov dword [ebp - 0x158], ecx
lea ecx, [ebp - 0x10]
call fcn.00402210
mov dword [ebp - 4], 0
mov ecx, 0x479910
call fcn.00402270
push eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x479844
push 0x4747a4
push 0x4747b0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004552a9
lea edx, [ebp - 0x10]
push edx
push 0x479914
lea eax, [ebp - 0x154]
push eax
call fcn.0045534f
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x160], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x160]
push edx
lea ecx, [ebp - 0x10]
call fcn.00455259
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x154]
call fcn.00455120
lea ecx, [ebp - 0x150]
call fcn.00402210
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x150]
call fcn.004550ab
lea ecx, [ebp - 0x78]
call fcn.00402210
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.00402270
push eax
push 0xc8
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov dword [ebp - 0x80], eax
push 0x40e
mov ecx, dword [ebp - 0x158]
call fcn.004546e9
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x7c], 0
jmp 0x41e1ba
mov ecx, dword [ebp - 0x7c]
add ecx, 1
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
cmp edx, dword [ebp - 0x80]
jge 0x41e230
mov eax, dword [ebp - 0x7c]
mov cl, byte [ebp + eax - 0x14c]
push ecx
lea ecx, [ebp - 0x78]
call fcn.0044f8d9
push 0x479848
lea edx, [ebp - 0x78]
push edx
call fcn.0041b4f0
and eax, 0xff
test eax, eax
je 0x41e21f
lea ecx, [ebp - 0x150]
call fcn.00402230
test eax, eax
jne 0x41e21d
lea ecx, [ebp - 0x150]
call fcn.00402270
push eax
mov ecx, dword [ebp - 0x84]
call fcn.0041ba50
lea ecx, [ebp - 0x150]
call fcn.004550ab
jmp 0x41e22e
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x150]
call fcn.004554c4
jmp 0x41e1b1
push 0
mov ecx, dword [ebp - 0x84]
call fcn.0041ba20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x78]
call fcn.00455120
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x150]
call fcn.00455120
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00455120
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret