joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401240
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
mov dword [ebp - 0x24], str.168.100.9.159
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
push 0x208
push 0
lea eax, [ebp - 0x284]
push eax
call fcn.00402630
add esp, 0xc
push 0x44
push 0
lea ecx, [ebp - 0x7c]
push ecx
call fcn.00402630
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x4149c8], eax
push 1
push 8
mov eax, dword [0x4149c8]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x18], eax
push 0
push 0x50
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push 0
push str._file
push 0x414058
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 4], eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x401349
xor eax, eax
jmp 0x4013e7
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x401360
xor eax, eax
jmp 0x4013e7
mov eax, 1
test eax, eax
je 0x4013d5
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x40137f
xor eax, eax
jmp 0x4013e7
cmp dword [ebp - 0xc], 0
jne 0x401387
jmp 0x4013d5
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
push 8
mov eax, dword [0x4149c8]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x4013ca
xor eax, eax
jmp 0x4013e7
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x10], edx
jmp 0x401360
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00401000
add esp, 8
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401af0
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x407921
push ebx
push esi
call fcn.0040784d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004077e1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4078ce
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x407920
push edi
push eax
call fcn.00405c55
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4078ee
call fcn.00405c1b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40791f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004077e1
add esp, 0x20
test eax, eax
jne 0x40790d
push edi
call fcn.00405c1b
jmp 0x407915
push ebx
call fcn.00405c1b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4087b1
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40fff0
push 0x40ffe8
push str.FlsAlloc
push 0x1f
call fcn.004086cd
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4087e5
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e138]
call esi
jmp 0x4087eb
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40882f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410000
push 0x40fff8
push str.FlsGetValue
push 0x21
call fcn.004086cd
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408866
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e138]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40886e
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410008
push 0x410000
push str.FlsSetValue
push 0x22
call fcn.004086cd
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4088a8
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40e138]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40d6a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40d6cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40d6cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4671fa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x4ff6f2
mov ecx, dword fs:[0x30]
jmp 0x500d1d
mov eax, dword [ebx + 8]
mov ebx, dword [ebx]
jmp 0x7fb1b6
test eax, eax
je 0x762aaa
jmp 0x762c39
pop ebx
leave
jmp 0x502067
stosb byte es:[edi], al
inc ebx
jmp 0x500898
jl 0x401508
cmp al, 0x5b
jmp 0x762b6a
pop dword [ebp - 0x10c]
cmp dword [ebp + 0x14], 0
jmp 0x7faf76
pop eax
call fcn.0046755b
jmp 0x50180d
push ebp
jmp 0x501320
jne 0x50006c
mov edi, dword [ebp + 0xc]
jmp 0x500067
or eax, eax
jne 0x4ff71a
jmp 0x4ff715
pop esi
pop edi
jmp 0x76296f
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0x10c]
jmp 0x762aa5
mov edi, dword [ecx + 0x18]
mov ebx, edi
jmp 0x501d31
jmp 0x50206a
add eax, edi
jmp 0x762a9c
add esi, edi
xor ecx, ecx
jmp 0x500fb0
jmp 0x4ff6f2
xor ebx, ebx
jmp 0x500bc4
test ax, ax
jne 0x500bc4
jmp 0x466e82
add eax, dword [ebx + 0x1c]
add eax, edi
jmp 0x5019e7
call fcn.0046755b
xor eax, dword [ebp + 0x10]
jmp 0x401465
push esi
cmp dword [ebp + 8], 0
jmp 0x500b7a
je 0x4011ee
mov edi, dword [ebp + 8]
jmp 0x4011e9
mov ax, word [edx + ebx*2]
cmp al, 0x40
jmp 0x401803
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0xc]
jmp 0x501e9d
jmp 0x46763c
jmp 0x762c39
mov eax, dword [esi]
jmp 0x46754e
mov ebp, esp
add esp, 0xfffffef4
jmp 0x501484
push ebx
push ecx
jmp 0x501e17
xor eax, dword [ebp + 0xc]
jne 0x501e9d
jmp 0x4ff6ef
mov eax, dword [eax]
add eax, edi
jmp 0x46763c
add ebx, dword [ebx + 0x3c]
lea ebx, [ebx + 0x78]
jmp 0x401296
pop dword [ebp - 0x108]
mov esi, dword [ebx + 0x20]
jmp 0x50005e
push edx
push edi
jmp 0x500a01
mov ecx, dword [ecx]
lea edi, [ebp - 0x104]
jmp 0x5020e0
ret 0x10
xor eax, eax
jmp 0x500fa5
mov edx, dword [edx]
or edx, edx
jmp 0x467375
push edi
lea edx, [ecx + 0x30]
jmp 0x502089
mov eax, ecx
shl eax, 1
jmp 0x6ca5f5
movzx eax, word [eax]
shl eax, 2
jmp 0x50093c
jmp 0x50206a
add eax, dword [ebx + 0x24]
add eax, edi
jmp 0x50215e
pop edx
pop ecx
jmp 0x4014f5
add esi, 4
inc ecx
jmp 0x5009f4
jmp 0x50093c
sub ecx, 1
jmp 0x5020e9
jg 0x401508
add al, 0x20
jmp 0x401508
cmp dword [ebp - 0x108], ecx
jne 0x500fb5
jmp 0x6ca54f
jne 0x467745
push dword [ebx + 0x18]
jmp 0x501d3c
add ebx, edi
push dword [ebx + 0x10]
jmp 0x466e3c
Function at 0x7fcf80
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x966134
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x9c9000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 8
push eax
mov dword [ebp - 0x24], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, ebx
call fcn.007ff6e1
push 0
call fcn.00800934
push 0xc
call fcn.007fe9b7
add esp, 8
mov dword [ebp - 0x214], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x7fd009
xorps xmm0, xmm0
mov ecx, eax
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.00801734
mov edi, eax
jmp 0x7fd00b
xor edi, edi
push 0x9779f4
mov dword [ebp - 4], 0xffffffff
call fcn.0080a0ac
push str.Local_AppWizard_Generated_Applications
mov ecx, ebx
call fcn.0080d86f
push 0x1e8
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00949c60
add esp, 0xc
lea ecx, [ebp - 0x210]
push 0
push 0x66
call fcn.00814eb7
lea eax, [ebp - 0x138]
mov dword [ebp - 4], 1
mov ecx, eax
mov dword [ebp - method.CDialogEx.virtual_0], 0x9aa894
mov dword [ebp - 0x214], eax
call fcn.00815cde
mov byte [ebp - 4], 2
mov dword [ebp - method.CWnd.virtual_0], vtable.SG_PNGView.0
mov dword [ebp - 0xb4], 0
call fcn.007fe450
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 1
push eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 3
mov ecx, eax
mov dword [ebp - 0x214], eax
call fcn.00815cde
mov byte [ebp - 4], 4
mov dword [ebp - 0xb0], vtable.SG_PNGView.0
mov dword [ebp - 0x2c], 0
call fcn.007fe450
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 1
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov byte [ebp - 4], 5
call fcn.0081579a
call fcn.0081579a
push 0x80
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 6
mov ecx, eax
mov dword [ebx + 0x20], eax
call fcn.0080e0dd
test edi, edi
je 0x7fd161
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
call fcn.0080f0de
lea ecx, [ebp - 0x210]
call fcn.007fd190
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00947c3a
mov esp, ebp
pop ebp
ret
Function at 0x7fd3f0
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 0x7fd419
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x7fd42f
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 0x7fd426
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x7fd462
nop
cmp esi, ecx
jae 0x7fd426
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x7fd450
cmp esi, ecx
jae 0x7fd426
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x7fd510
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push edi
call fcn.008119b3
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0x7fd608
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x7fd608
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x7fd55d
xor esi, esi
jmp 0x7fd5a2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x7fd5a2
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x7fd592
nop
cmp esi, ecx
jae 0x7fd596
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x7fd580
cmp esi, ecx
jb 0x7fd59a
xor esi, esi
jmp 0x7fd5a2
xor eax, eax
cmp word [esi], ax
cmove esi, eax
test esi, esi
je 0x7fd608
mov eax, dword [ebx]
mov ecx, 1
movzx edi, word [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x7fd5c4
push edi
mov ecx, ebx
call fcn.007fdb50
movzx ecx, word [esi]
lea eax, [esi + 2]
push ecx
push eax
push edi
push dword [ebx]
call fcn.0094fcf0
add esp, 0x10
cmp eax, 0x50
ja case.0x7fd5e3.1
movzx eax, byte [eax + 0x7fd638]
jmp dword [eax*4 + 0x7fd628]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x7fd618
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
lea eax, [ecx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00811325
push 0x80070057
call fcn.007fdc00
call fcn.0081130b
nop
ljmp 0x7fd6

Function at 0x7fe150
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0080dd41
Function at 0x7fe540
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x9c9000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0081579a
push 0x9aaa60
push 0xffff
mov esi, dword [eax + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x7fe608
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x7fe5bd
mov edi, dword [ebp - 8]
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x7fe5bd
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x7fe5d5
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
mov eax, 3
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00947c3a
mov esp, ebp
pop ebp
ret 4
push edi
push dword [ebp - 0x10]
push eax
call fcn.009496e0
add esp, 0xc
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
je 0x7fe620
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00947c3a
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x84]
test ecx, ecx
je 0x7fe630
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0xc]
push 0x10
mov dword [ebp - 0x10], eax
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov edi, eax
test edi, edi
je 0x7fe66f
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [ebp - 0x10]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi], vtable.Gdiplus::Bitmap.0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov dword [edi + 8], eax
mov eax, dword [ebp - 8]
mov dword [edi + 4], eax
jmp 0x7fe671
xor edi, edi
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x84], edi
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebx + 0x84]
test eax, eax
je 0x7fe5bd
mov esi, dword [eax + 8]
mov dword [eax + 8], 0
test esi, esi
je 0x7fe6c4
mov ecx, dword [ebx + 0x84]
test ecx, ecx
je 0x7fe6ba
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [ebx + 0x84], 0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00947c3a
mov esp, ebp
pop ebp
ret 4
Function at 0x800f72
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], edi
je 0x800fb7
call fcn.0081579a
push 0xf0
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x800fb4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x800ffe
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
push ebx
xor ebx, ebx
inc ebx
test edi, edi
je 0x800fda
mov ecx, dword [eax]
push dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x9769a4]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x800ffb
mov edx, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [edx + 0xa0]
mov ecx, esi
call dword [0x9769a4]
mov ecx, edi
call esi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 0xc
Function at 0x80d3b3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x966f3e
call fcn.00947fb1
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 0x80d45b
push dword [ebp + 8]
call fcn.0080d6d2
mov dword [ebp - 0x10], eax
test eax, eax
je 0x80d4e1
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_RegQueryValueExW]
mov ecx, dword [ebp - 0x14]
mov dword [esi], ecx
test eax, eax
jne 0x80d444
push ecx
call fcn.00822c67
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_RegQueryValueExW]
test eax, eax
jne 0x80d444
xor edi, edi
inc edi
jmp 0x80d44e
push dword [ebx]
call fcn.00822c70
pop ecx
mov dword [ebx], edi
lea ecx, [ebp - 0x24]
call fcn.0080d27a
jmp 0x80d4df
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 [0x9769a4]
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 0x80d4d7
mov esi, dword [ebp + 0x14]
shr ecx, 1
push ecx
mov dword [esi], ecx
call fcn.00822c67
mov dword [ebx], eax
pop ecx
cmp dword [esi], edi
jbe 0x80d4d1
lea esi, [edi + edi]
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.0080d256
push esi
lea ecx, [ebp - 0x10]
mov bl, al
call fcn.0080d256
mov ecx, dword [ebp + 0x10]
shl bl, 4
sub bl, 0x51
add al, bl
mov ecx, dword [ecx]
mov byte [edi + ecx], al
inc edi
mov eax, dword [ebp + 0x14]
cmp edi, dword [eax]
jb 0x80d49f
mov eax, dword [ebp - 0x10]
xor edi, edi
inc edi
lea ecx, [eax - 0x10]
call fcn.007fda30
mov eax, edi
call fcn.00947f7f
ret 0x10

Function at 0x80d4e9
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 0x80d53c
push esi
push dword [ebp + 8]
call fcn.0080d6d2
mov edi, eax
test edi, edi
je 0x80d537
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_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x80d537
mov eax, dword [ebp - 8]
jmp 0x80d54e
mov eax, dword [ebp + 0x10]
jmp 0x80d54e
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc
Function at 0x80d554
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x966f6b
mov eax, dword fs:[0]
push eax
mov eax, 0x201c
call fcn.00948130
mov eax, dword [0x9c9000]
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 - 0x201c], edi
mov dword [ebp - 0x2024], eax
cmp dword [ecx + 0x58], ebx
je 0x80d685
push ebx
push edx
call fcn.0080d6d2
mov ebx, eax
test ebx, ebx
jne 0x80d5bc
push esi
jmp 0x80d6ad
lea ecx, [ebp - 0x2014]
call fcn.007fd390
xor ecx, ecx
lea eax, [ebp - 0x2018]
push eax
push ecx
lea eax, [ebp - 0x2020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x2024]
mov dword [ebp - 0x2020], ecx
push ebx
mov dword [ebp - 0x2018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x201c], eax
test eax, eax
jne 0x80d644
mov eax, dword [ebp - 0x2018]
lea ecx, [ebp - 0x2014]
shr eax, 1
push eax
call fcn.007fdbb0
lea ecx, [ebp - 0x2018]
push ecx
push eax
lea eax, [ebp - 0x2020]
push eax
push 0
push dword [ebp - 0x2024]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2014]
mov dword [ebp - 0x201c], eax
call fcn.0080d80e
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x201c], 0
jne 0x80d672
mov esi, dword [ebp - 0x2014]
add esi, 0xfffffff0
push esi
call fcn.007ff331
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.007fda30
jmp 0x80d6b4
push esi
mov ecx, edi
call fcn.007feb39
mov ecx, dword [ebp - 0x2014]
lea ecx, [ecx - 0x10]
jmp 0x80d66b
test esi, esi
jne 0x80d68e
mov esi, 0x976df8
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x2010]
push 0x1000
push ecx
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2010]
push eax
mov ecx, edi
call fcn.007feb39
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.00947c3a
leave
ret 0x10