joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d107
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x47056c
call fcn.0044e5d8
sub esp, 0x44
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x3c], edi
je 0x41d21c
cmp byte [esi + 0x41], 0
je 0x41d21c
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x41d140
xor al, al
jmp 0x41d21e
push edi
push 8
lea ecx, [ebp - 0x50]
call fcn.00410e95
mov dword [ebp - 4], edi
push ebx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x50]
call fcn.00407d8a
mov ecx, eax
call fcn.00402c1f
mov edi, dword [ebp - 0x3c]
mov ebx, eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x50]
call fcn.00407d8a
mov ecx, eax
call fcn.00402c1f
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
add edi, ebx
push edi
push dword [ebp - 0x10]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x41d1b6
dec eax
je 0x41d1ba
dec eax
dec eax
je 0x41d218
xor bl, bl
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.004014ab
mov al, bl
pop ebx
jmp 0x41d21e
mov byte [esi + 0x41], 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x50]
call fcn.00407d8a
mov ecx, eax
call fcn.00402c1f
mov edi, dword [ebp - 0x14]
sub edi, eax
je 0x41d1fa
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x50]
call fcn.00407d8a
mov ecx, eax
call fcn.00402c1f
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00452c47
add esp, 0x10
cmp edi, eax
jne 0x41d19f
cmp byte [esi + 0x41], 0
je 0x41d218
test edi, edi
jne 0x41d14f
push edi
push 8
lea ecx, [ebp - 0x50]
call fcn.0040411c
jmp 0x41d14f
mov bl, 1
jmp 0x41d1a1
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x41d419
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x4705a4
call fcn.0044e5d8
sub esp, 0x50
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x41d436
xor eax, eax
jmp 0x41d45e
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
push edi
xor edi, edi
cmp ecx, edi
je 0x41d46e
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x41d46e
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esi], ecx
mov byte [eax], bl
mov eax, ebx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
mov eax, dword [esi + 0x4c]
cmp eax, edi
je 0x41d487
cmp dword [esi + 0x3c], edi
jne 0x41d48c
push eax
push ebx
call fcn.0041c497
pop ecx
pop ecx
test al, al
jne 0x41d45b
or eax, 0xffffffff
jmp 0x41d45d
push edi
push 8
lea ecx, [ebp - 0x5c]
mov byte [ebp - 0x10], bl
call fcn.00410e95
mov dword [ebp - 4], edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00407d8a
mov ecx, eax
call fcn.00402c1f
mov edi, dword [ebp - 0x48]
mov ebx, eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00407d8a
mov ecx, eax
call fcn.00402c1f
lea edx, [ebp - 0x18]
add edi, ebx
push edx
lea ebx, [esi + 0x44]
jmp 0x41d57e
cmp eax, 1
jg 0x41d5a2
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00407d8a
mov ecx, eax
call fcn.00402c1f
mov edi, dword [ebp - 0x18]
sub edi, eax
je 0x41d523
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00407d8a
mov ecx, eax
call fcn.00402c1f
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00452c47
add esp, 0x10
cmp edi, eax
jne 0x41d5b8
lea eax, [ebp - 0x10]
mov byte [esi + 0x41], 1
cmp dword [ebp - 0x1c], eax
jne 0x41d5d2
test edi, edi
ja 0x41d549
cmp dword [ebp - 0x48], 0x20
jae 0x41d5b8
push 0
push 8
lea ecx, [ebp - 0x5c]
call fcn.0040411c
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00407d8a
mov ecx, eax
call fcn.00402c1f
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00407d8a
mov ecx, eax
call fcn.00402c1f
lea edx, [ebp - 0x18]
push edx
mov edx, dword [ebp - 0x20]
add edi, edx
mov ecx, dword [esi + 0x3c]
push edi
push eax
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0xf]
push edx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
test eax, eax
jge 0x41d4d6
jmp 0x41d5b8
cmp eax, 3
jne 0x41d5b8
push dword [esi + 0x4c]
push dword [ebp - 0x10]
call fcn.0041c497
pop ecx
pop ecx
test al, al
jne 0x41d5d2
or esi, 0xffffffff
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x5c]
call fcn.004014ab
mov eax, esi
jmp 0x41d45d
mov esi, dword [ebp + 8]
jmp 0x41d5bb
Function at 0x4208e9
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x4c]
xor al, al
mov bl, 1
cmp ecx, 0xffffffff
je 0x420a6e
push edi
mov edi, 0x10000000
cmp ecx, 0x7c
je 0x420a6d
cmp ecx, 0x29
jne 0x42092d
cmp dword [esi + 0x1c], 0
jne 0x420a6d
test dword [esi + 0x50], edi
jne 0x42092d
push 5
call fcn.0046b7fc
pop ecx
jmp 0x420a56
cmp ecx, 0x2e
jne 0x420948
push 5
lea ecx, [esi + 0x24]
call fcn.0041b5fe
mov ecx, esi
call fcn.0041c919
jmp 0x420a56
cmp ecx, 0x5c
jne 0x4209a5
mov ecx, esi
call fcn.0041c919
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x42097a
cmp byte [esi + 0x4a], 0x62
jne 0x42097a
push 4
lea ecx, [esi + 0x24]
call fcn.0041b5fe
mov ecx, esi
call fcn.0041c919
jmp 0x420a5d
test eax, eax
je 0x420999
cmp byte [esi + 0x4a], 0x42
jne 0x420999
push 4
lea ecx, [esi + 0x24]
call fcn.0041b5fe
mov eax, dword [esi + 0x28]
add eax, 8
or dword [eax], 1
jmp 0x42096e
mov ecx, esi
call fcn.0041f5f9
jmp 0x420a56
cmp ecx, 0x5b
jne 0x4209c8
mov ecx, esi
call fcn.0041c919
mov ecx, esi
call fcn.0042089d
push 4
push 0x5d
mov ecx, esi
call fcn.0041c9a9
jmp 0x420a56
cmp ecx, 0x28
jne 0x4209ea
mov ecx, esi
call fcn.0041c919
mov ecx, esi
call fcn.0041c9cc
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.0041c9a9
jmp 0x420a52
cmp ecx, 0x5e
jne 0x4209f6
push 2
jmp 0x420966
cmp ecx, 0x24
jne 0x420a02
push 3
jmp 0x420966
cmp ecx, 0x2a
je 0x420a4a
cmp ecx, 0x2b
je 0x420a4a
cmp ecx, 0x3f
je 0x420a4a
cmp ecx, 0x7b
je 0x420a4a
cmp ecx, 0x7d
jne 0x420a27
test dword [esi + 0x50], edi
jne 0x420a27
push 6
jmp 0x420922
cmp ecx, 0x5d
jne 0x420a38
test dword [esi + 0x50], edi
jne 0x420a38
push 4
jmp 0x420922
movzx eax, byte [esi + 0x4a]
push eax
lea ecx, [esi + 0x24]
call fcn.0041ecc3
jmp 0x42093c
push 0xa
call fcn.0046b7fc
pop ecx
test bl, bl
je 0x420a5d
mov ecx, esi
call fcn.0041f07c
mov ecx, dword [esi + 0x4c]
mov al, 1
mov bl, al
cmp ecx, 0xffffffff
jne 0x420903
pop edi
pop esi
pop ebx
ret
Function at 0x425bd5
Capabilities:
Create thread
Resume thread

Disassembly:
mov eax, 0x471198
call fcn.0044e5d8
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [esi + 0x8c], edi
je 0x425c27
call fcn.00425a03
test eax, eax
je 0x425c38
lea eax, [ebp - 0x18]
push eax
push 4
push esi
push 0x425b75
push edi
push edi
call fcn.004544ee
add esp, 0x18
mov dword [esi + 0xa8], eax
cmp eax, edi
je 0x425c27
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [esi + 0xb0]
cmp eax, edi
je 0x425c27
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
push edi
mov edx, dword [ebp - 0x14]
neg edx
push edx
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push edi
push dword [esi + 0x68]
push dword [esi + 0x64]
push edi
push edi
push dword [esi + 0x90]
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x425c27
push edi
mov ecx, esi
call fcn.00426549
xor eax, eax
inc eax
jmp 0x425c29

Function at 0x426390
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x471210
call fcn.0044e5d8
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
and dword [ebp - 4], 0
call fcn.00437f69
mov eax, dword [eax + 0xc]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x426402
call fcn.00437f69
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x426402
call fcn.00437f69
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x426415
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp + 0xc], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x426462
cmp dword [ebp + 0xc], 0
je 0x426462
push edi
push eax
push dword [ebp + 0xc]
call fcn.004519e0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push esi
mov ecx, dword [ebp - 0x14]
call fcn.00425f33
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
jmp 0x426404
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4263fb
Function at 0x426dd1
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
mov ebx, dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
mov dword [ebp - 8], ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x426df5
inc eax
jmp 0x426edb
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor edi, edi
push edi
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x426e3a
cmp eax, 2
jne 0x426e28
push str.Key_not_found._n
call fcn.00454328
xor eax, eax
pop ecx
inc eax
jmp 0x426eda
push str.Error_opening_key._n
call fcn.00454328
pop ecx
xor eax, eax
jmp 0x426eda
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [ebx + eax*2]
cmp word [esi - 2], 0x5c
je 0x426e59
push 0x5c
pop eax
mov word [esi], ax
inc esi
inc esi
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push edi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x426eab
lea eax, [ebp - 0x218]
push eax
push 0x208
push esi
call fcn.004280ed
mov ecx, dword [ebp - 8]
push ebx
push dword [ebp + 8]
call fcn.004270f7
test eax, eax
je 0x426ebb
lea eax, [ebp - 0x10]
push eax
xor eax, eax
push eax
push eax
push eax
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push eax
push dword [ebp - 4]
mov dword [ebp + 0xc], 0x104
call edi
test eax, eax
je 0x426e74
xor eax, eax
mov word [esi - 2], ax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
neg eax
sbb eax, eax
inc eax
pop esi
pop edi
pop ebx
leave
ret 8
Function at 0x427579
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x47139b
call fcn.0044e5d8
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00401407
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
push eax
push 0x20019
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call esi
test eax, eax
je 0x4275e8
lea eax, [ebp - 0x18]
push eax
push 0x20119
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x4275e8
push 0x475c60
mov ecx, dword [ebp + 8]
call fcn.00407f28
jmp 0x4276a6
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [ebp + 0x14]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call esi
mov dword [ebp - 0x28], eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
call fcn.0040147f
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [ebp + 0x14]
push dword [ebp - 0x18]
call esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 3
jmp 0x427676
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00428120
mov ecx, dword [ebp + 8]
cmp dword [ebp - 0x28], ebx
je 0x42769d
push str.NULLABLE
call fcn.00407e68
jmp 0x4276a6
lea eax, [ebp - 0x14]
push eax
call fcn.0040181b
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00401436
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.00401436
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x14]
call fcn.00401436
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x427a1a
Capabilities:
Set registry value

Disassembly:
mov eax, 0x4714cc
call fcn.0044e5d8
sub esp, 0x24
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], 3
lea ecx, [ebp + 0xc]
call fcn.004222cc
push eax
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040181b
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00426f3e
push eax
mov ecx, esi
call fcn.00427808
lea eax, [ebp - 0x10]
push eax
push 0x20019
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040181b
mov byte [ebp - 4], 5
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00426f3e
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x427b0d
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040181b
mov byte [ebp - 4], 6
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00426f3e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x427b0d
push 0xfffffffffffffff6
pop esi
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401436
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.00401436
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x10]
call fcn.00401436
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.00401436
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 7
call fcn.00402e88
mov byte [ebp - 4], 7
push dword [ebp + 0x14]
lea ecx, [ebp - 0x30]
call fcn.00404912
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x427b38
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
add ecx, ecx
push ecx
push eax
push 1
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
lea ecx, [ebp + 0x14]
call fcn.00428120
mov byte [ebp - 4], 3
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.0040370d
jmp 0x427acc
Function at 0x427b77
Capabilities:
Set registry value

Disassembly:
mov eax, 0x471506
call fcn.0044e5d8
push ecx
push ecx
push esi
mov esi, ecx
mov dword [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.004222cc
push eax
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040181b
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.00426f3e
push eax
mov ecx, esi
call fcn.00427808
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040181b
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.00426f3e
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x427c5b
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040181b
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.00426f3e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x427c5b
push 0xfffffffffffffff6
pop esi
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00401436
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401436
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00401436
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
leave
ret 0x10
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x427c26
Function at 0x429a7a
Capabilities:
Reference wmi statements

Disassembly:
mov eax, 0x471908
call fcn.0044e5d8
push ecx
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
push str.Caption
push 0x47597b
push str.SELECT__FROM_Win32_OperatingSystem
push str.ROOTcimv2
push dword [ebp + 8]
call fcn.00429792
add esp, 0x14
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
leave
ret

Function at 0x429ac6
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x47192b
call fcn.0044e5d8
sub esp, 0x204
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
xor eax, eax
push 0x1fc
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00450270
add esp, 0xc
push 0x1fe
lea eax, [ebp - 0x210]
push eax
push 0x59
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [ebp + 8]
call fcn.00401407
and dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x10], 1
call fcn.004019b3
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4369ea
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x436a31
call fcn.00437f69
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x436a31
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x436a4d
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00436562
mov esi, eax
test edi, edi
je 0x436a4b
test ebx, ebx
je 0x436a4b
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4371f0
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x47222b
call fcn.00454808
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x437215
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x43725b
lea ecx, [ebp - 0x10]
call fcn.00401407
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042a9ed
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040101a
mov eax, esi
call fcn.004548e0
ret 8

Function at 0x438532
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x43857a
call fcn.00437f69
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43857a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4385bd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4385a6
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4385a6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4385ba
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x44105f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x441083
cmp dword [edi + 0x54], 0
jne 0x441083
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00437f69
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00441020
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x445750
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x44577b
call fcn.00437f69
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x44579e
push eax
push dword [esi + 4]
call fcn.004456d6
push esi
push eax
mov ecx, 0x49b970
call fcn.0044535d
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x44621e
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x472d46
call fcn.00454808
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.004461de
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00401407
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
jne 0x446284
push eax
push dword [esi + 8]
call fcn.004456d6
push dword [esi + 0xc]
mov ecx, 0x49b970
push eax
call fcn.0044535d
mov eax, esi
call fcn.004548e0
ret 0x18

Function at 0x4546b7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49854c]
jne 0x4546c1
repz ret
jmp fcn.00462fb5