joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4131a0
Capabilities:
Accept command line arguments

Disassembly:
push 0x14
mov eax, 0x441f9f
call fcn.0042baa9
xor esi, esi
cmp dword [ebp + 8], 2
mov dword [ebp - 0x10], esi
jl 0x41329f
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 4]
cmp byte [eax], 0x2d
jne 0x41329f
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.service
inc eax
push eax
call edi
test eax, eax
jne 0x41322d
push str.GlobalF820405A1FB444529947BF7F5C6114DE
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
lea eax, [ebp + 8]
push 0x444f68
push eax
call fcn.00408331
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.00402dff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov dword [ebp - 0x20], eax
call fcn.004012b7
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 0x412eac
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
xor eax, eax
jmp 0x4132a2
mov eax, dword [ebx + 4]
push str.stapp
inc eax
push eax
call edi
test eax, eax
jne 0x41329f
push str.GlobalF820405A1FB444529947BF7F5C6114DE
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp edi, esi
je 0x41325f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0xb7
je 0x41326c
cmp ebx, 5
jne 0x413229
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
cmp edi, esi
je 0x413298
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push esi
push edi
call fcn.0041cf74
test eax, eax
je 0x413298
mov ecx, 0x5179f8
call fcn.004178ea
jmp 0x41329f
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
call fcn.0042bb81
ret

Function at 0x413313
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x104
lea ebp, [esp - 4]
mov eax, dword [0x4541c0]
xor eax, ebp
mov dword [ebp + 0x104], eax
push 0x14
mov eax, 0x44204e
call fcn.0042baa9
mov edi, dword [ebp + 0x110]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], ebx
call fcn.004181ce
xor esi, esi
lea eax, [ebp - 0x10]
push 0x446098
inc esi
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], esi
call fcn.00408331
push 0x103
lea eax, [ebp + 1]
push ebx
push eax
mov dword [ebp - 4], esi
mov byte [ebp], bl
call fcn.0042bc20
add esp, 0x14
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], esi
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x14], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4133c4
lea eax, [ebp]
push eax
call fcn.0042b470
pop ecx
test eax, eax
jbe 0x4133c4
lea eax, [ebp]
push eax
push 0x4453f4
push edi
call fcn.004034f6
add esp, 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004012b7
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 + 0x104]
xor ecx, ebp
call fcn.0042ba9a
add ebp, 0x108
leave
ret 4
Function at 0x413697
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x104
lea ebp, [esp - 4]
mov eax, dword [0x4541c0]
xor eax, ebp
mov dword [ebp + 0x104], eax
push 0x14
mov eax, 0x44204e
call fcn.0042baa9
mov edi, dword [ebp + 0x110]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], ebx
call fcn.004181ce
xor esi, esi
lea eax, [ebp - 0x10]
push 0x4461a0
inc esi
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], esi
call fcn.00408331
push 0x103
lea eax, [ebp + 1]
push ebx
push eax
mov dword [ebp - 4], esi
mov byte [ebp], bl
call fcn.0042bc20
add esp, 0x14
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], esi
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x14], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x413748
lea eax, [ebp]
push eax
call fcn.0042b470
pop ecx
test eax, eax
jbe 0x413748
lea eax, [ebp]
push eax
push 0x4453f4
push edi
call fcn.004034f6
add esp, 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004012b7
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 + 0x104]
xor ecx, ebp
call fcn.0042ba9a
add ebp, 0x108
leave
ret 4

Function at 0x413a60
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 0x14], 0
and dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x4143b4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
cmp ebx, edi
mov esi, ebx
mov dword [ebp + 0x10], edi
jle 0x4143f9
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4143f3
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4143f3
add dword [ebp + 0xc], eax
add edi, eax
sub esi, eax
cmp edi, ebx
jl 0x4143c8
jmp 0x4143f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
cmp edi, ebx
pop edi
pop esi
sete al
pop ebx
pop ebp
ret

Function at 0x414405
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
mov esi, ebx
test ebx, ebx
jle 0x41443b
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x414447
mov eax, dword [ebp + 0x10]
add dword [ebp + 0xc], eax
add edi, eax
sub esi, eax
cmp edi, ebx
jl 0x414416
xor eax, eax
cmp edi, ebx
sete al
pop edi
pop esi
pop ebx
pop ebp
ret
xor al, al
jmp 0x414442
Function at 0x414fd6
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x4421b9
call fcn.0042baa9
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x1c], ebx
je 0x414ff3
call fcn.004145e3
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.00401c2d
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
push 0x414f0f
push ebx
push ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
inc ecx
mov dword [esi + 0x58], eax
cmp eax, ebx
jne 0x415039
mov byte [ebp - 0xd], bl
push ebx
push ecx
lea ecx, [ebp + 8]
call fcn.004017f7
mov al, byte [ebp - 0xd]
call fcn.0042bb81
ret 0x1c
mov dword [esi + 0x1c], ecx
mov byte [ebp - 0xd], cl
jmp 0x415024
Function at 0x416df9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x416e53
cmp dword [ebp + 0x10], 1
je 0x416e38
cmp dword [ebp + 0x10], 2
je 0x416e38
push 0xd
pop eax
jmp 0x416e53
mov eax, dword [ebp - 4]
test edi, edi
je 0x416e4f
test eax, eax
je 0x416e4c
cmp byte [eax + edi - 1], 0
je 0x416e4f
jmp 0x416e33
mov byte [edi], 0
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc
Function at 0x416e5e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x148
mov eax, 0x442355
call fcn.0042bb12
mov esi, 0x104
xor ebx, ebx
push esi
lea eax, [ebp - 0x13f]
push ebx
push eax
mov byte [ebp - 0x140], bl
call fcn.0042bc20
add esp, 0xc
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x150], ebx
push 1
lea eax, [ebp - 0x38]
push eax
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x154]
mov dword [ebp - 4], ebx
mov byte [ebp - 0x28], 0x66
mov byte [ebp - 0x38], 0x53
mov byte [ebp - 0x17], 0x72
mov byte [ebp - 0x1a], 0x70
mov byte [ebp - 0x21], 0x72
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x16], 0x65
mov byte [ebp - 0x24], 0x6e
mov byte [ebp - 0x37], 0x4f
mov byte [ebp - 0x31], 0x45
mov byte [ebp - 0x1d], 0x20
mov byte [ebp - 0x36], 0x46
mov byte [ebp - 0x29], 0x6f
mov byte [ebp - 0x35], 0x54
mov byte [ebp - 0x26], 0x5c
mov byte [ebp - 0x18], 0x6f
mov byte [ebp - 0x23], 0x74
mov byte [ebp - 0x2b], 0x6f
mov byte [ebp - 0x33], 0x41
mov byte [ebp - 0x20], 0x6e
mov byte [ebp - 0x19], 0x6c
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x2e], 0x69
mov byte [ebp - 0x2a], 0x73
mov byte [ebp - 0x2d], 0x63
mov byte [ebp - 0x15], 0x72
mov byte [ebp - 0x2f], 0x4d
mov byte [ebp - 0x27], 0x74
mov byte [ebp - 0x1c], 0x45
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x34], 0x57
mov byte [ebp - 0x1b], 0x78
mov byte [ebp - 0x32], 0x52
mov byte [ebp - 0x2c], 0x72
mov byte [ebp - 0x30], 0x5c
mov byte [ebp - 0x25], 0x49
call fcn.00416db8
test eax, eax
jne 0x416fe6
lea eax, [ebp - 0x14c]
push 0x446358
push eax
call fcn.00408331
mov eax, dword [eax]
pop ecx
pop ecx
lea ecx, [ebp - 0x144]
push ecx
lea ecx, [ebp - 0x140]
push ecx
push eax
lea ecx, [ebp - 0x154]
call fcn.00416df9
mov ecx, dword [ebp - 0x14c]
test eax, eax
setne byte [ebp - 0x145]
add ecx, 0xfffffff0
call fcn.004012b7
cmp byte [ebp - 0x145], bl
je 0x416fdb
lea eax, [ebp - 0x14c]
push 0x446344
push eax
call fcn.00408331
pop ecx
pop ecx
lea ecx, [ebp - 0x144]
push ecx
lea ecx, [ebp - 0x140]
push ecx
push dword [eax]
lea ecx, [ebp - 0x154]
call fcn.00416df9
mov ecx, dword [ebp - 0x14c]
add ecx, 0xfffffff0
call fcn.004012b7
lea ecx, [ebp - 0x154]
call fcn.00416d9d
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrA]
push 0x446340
lea eax, [ebp - 0x140]
push eax
call esi
mov dword [ebp - 0x14c], eax
cmp eax, ebx
je 0x417093
xor eax, eax
mov byte [ebp - 0x144], bl
lea edi, [ebp - 0x143]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x14c]
lea ecx, [ebp - 0x140]
sub eax, ecx
push eax
mov eax, ecx
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.0042c9b0
lea eax, [ebp - 0x144]
push eax
call fcn.0042c99e
push 4
mov dword [0x4c6418], eax
lea eax, [ebp - 0x144]
push ebx
push eax
call fcn.0042bc20
mov edi, dword [ebp - 0x14c]
add esp, 0x1c
push 0x446340
inc edi
push edi
call esi
cmp eax, ebx
je 0x417099
sub eax, edi
push eax
lea eax, [ebp - 0x144]
push edi
push eax
call fcn.0042c9b0
lea eax, [ebp - 0x144]
push eax
call fcn.0042c99e
add esp, 0x10
mov dword [0x4c6414], eax
jmp 0x41709f
mov dword [0x4c6418], ebx
mov dword [0x4c6414], ebx
lea ecx, [ebp - 0x154]
call fcn.00416d9d
call fcn.0042bb95
ret
Function at 0x418520
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x200
lea ebp, [esp - 4]
mov eax, dword [0x4541c0]
xor eax, ebp
mov dword [ebp + 0x200], eax
push 0x14
mov eax, 0x4425ff
call fcn.0042baa9
mov ecx, dword [ebp + 0x20c]
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], ebx
call fcn.004181ce
push 0x1ff
lea eax, [ebp + 1]
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], 1
mov byte [ebp], bl
call fcn.0042bc20
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftCryptography
mov edi, reloc.WS2_32.dll_bind
push edi
mov dword [ebp - 0x18], 0x200
call esi
test eax, eax
jne 0x418607
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push str.MachineGuid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4185f2
lea eax, [ebp - 0x10]
push eax
push 0x20119
push ebx
push str.SOFTWAREMicrosoftCryptography
push edi
call esi
test eax, eax
jne 0x418607
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push str.MachineGuid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x418607
mov ecx, dword [ebp - 0x14]
lea eax, [ebp]
push eax
call fcn.00401d70
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.0042ba9a
add ebp, 0x204
leave
ret
Function at 0x41862d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x400
lea ebp, [esp - 4]
mov eax, dword [0x4541c0]
xor eax, ebp
mov dword [ebp + 0x400], eax
push 0x814
mov eax, 0x442640
call fcn.0042baa9
mov ecx, dword [ebp + 0x40c]
xor edi, edi
push 0x4446e5
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], edi
call fcn.004182ae
push 0x7fc
lea eax, [ebp - 0x81c]
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x820], edi
call fcn.0042bc20
lea eax, [ebp - 0x10]
push 0x446450
push eax
mov dword [ebp - 0x18], 0x800
call fcn.00408331
mov ebx, dword [eax]
add esp, 0x14
cmp ebx, edi
je 0x4186c1
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x4186c5
xor eax, eax
jmp 0x4186d9
lea eax, [esi + esi]
call fcn.0042bbc0
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.0040a3f6
lea ecx, [ebp - 0x1c]
push ecx
push 0x101
push edi
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x10]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.004012b7
test bl, bl
je 0x4187e5
lea eax, [ebp - 0x10]
push 0x446428
push eax
call fcn.00408331
mov ebx, dword [eax]
pop ecx
pop ecx
cmp ebx, edi
je 0x418732
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x418736
xor eax, eax
jmp 0x41874a
lea eax, [esi + esi]
call fcn.0042bbc0
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.0040a3f6
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x820]
push ecx
push edi
push edi
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004012b7
cmp esi, edi
jne 0x4187dc
push 0x3ff
lea eax, [ebp + 1]
push edi
push eax
mov byte [ebp], 0
call fcn.0042bc20
push dword [ebp - 0x18]
lea eax, [ebp]
push eax
lea eax, [ebp - 0x820]
push eax
call fcn.00418134
add esp, 0x18
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x4187b4
xor eax, eax
jmp 0x4187cb
lea eax, [esi + esi]
call fcn.0042bbc0
mov eax, esp
push 3
push esi
lea ecx, [ebp]
push ecx
push eax
call fcn.0040a3f6
push eax
push 0x446420
push dword [ebp - 0x14]
call fcn.0041829b
add esp, 0xc
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
lea esp, [ebp - 0x830]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.0042ba9a
add ebp, 0x404
leave
ret
Function at 0x4188fe
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x620
lea ebp, [esp - 4]
mov eax, dword [0x4541c0]
xor eax, ebp
mov dword [ebp + 0x620], eax
push 0x18
mov eax, 0x4426be
call fcn.0042baa9
mov ebx, dword [ebp + 0x62c]
xor edi, edi
mov dword [ebp - 0x18], edi
cmp dword [0x517fa0], edi
jne 0x418983
lea eax, [ebp - 0x24]
push 0x445e18
push eax
call fcn.00408331
pop ecx
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004012b7
lea eax, [ebp - 0x20]
push 0x44650c
push eax
call fcn.00408331
pop ecx
pop ecx
push dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov dword [0x517fa0], eax
call fcn.004012b7
push 0x4446e5
lea ecx, [ebp - 0x10]
call fcn.004020d8
xor eax, eax
mov esi, 0x208
push esi
mov word [ebp + 0x20c], ax
lea eax, [ebp + 0x20e]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.0042bc20
xor eax, eax
push esi
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.0042bc20
xor eax, eax
push 0x206
mov word [ebp + 0x418], ax
lea eax, [ebp + 0x41a]
push edi
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
call fcn.0042bc20
add esp, 0x24
push edi
push 0x25
lea eax, [ebp + 0x418]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov word [ebp + 0x41e], ax
mov eax, 0x105
push eax
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp + 0x20c]
push eax
lea eax, [ebp + 0x418]
push eax
call dword [0x517fa0]
test eax, eax
je 0x418a44
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push 0x446508
push eax
call fcn.004034f6
add esp, 0xc
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.004182ae
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004012b7
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x620]
xor ecx, ebp
call fcn.0042ba9a
add ebp, 0x624
leave
ret

Function at 0x41923b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x24], 0x10
mov dword [ebp - 4], edi
jae 0x419257
lea ecx, [ebp + 0x10]
lea edx, [ebp - 8]
push edx
push 0x20019
push edi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x419294
cmp dword [ebp + 0x40], 0x10
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xc], 4
jae 0x419280
lea eax, [ebp + 0x2c]
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 4]
push ecx
push edi
push edi
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 4]
push edi
push 1
lea ecx, [ebp + 0xc]
call fcn.004017f7
push edi
push 1
lea ecx, [ebp + 0x28]
call fcn.004017f7
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x419872
Capabilities:
Check http status code
Send data
Send http request

Disassembly:
push 0x34
mov eax, 0x442822
call fcn.0042baa9
mov edi, ecx
push 1
xor ebx, ebx
push 1
mov byte [ebp - 0xd], bl
call fcn.00418e38
add esp, 4
push eax
lea eax, [ebp - 0x14]
push 0x44658c
push eax
call fcn.00408331
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.00402dff
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.00401f30
mov ecx, edi
call fcn.004191ce
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004012b7
cmp byte [edi + 0x1c], bl
je 0x419992
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.0041961c
cmp dword [eax + 0x18], 0x10
pop ecx
pop ecx
jb 0x4198f0
mov eax, dword [eax + 4]
jmp 0x4198f3
add eax, 4
push ebx
push 0x803000
push ebx
push ebx
push str.HTTP_1.0
push 0x445674
push eax
push dword [edi + 0x24]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push ebx
push 1
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x14], eax
call fcn.004017f7
cmp dword [ebp - 0x14], ebx
je 0x419989
push 4
pop esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x1f
push dword [ebp - 0x14]
mov dword [ebp - 0x20], esi
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
or dword [ebp - 0x18], 0x180
push esi
lea eax, [ebp - 0x18]
push eax
push 0x1f
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x20000013
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
cmp dword [ebp - 0x1c], 0xc8
jne 0x419989
mov byte [ebp - 0xd], 1
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, edi
call fcn.00418e0f
mov al, byte [ebp - 0xd]
call fcn.0042bb81
ret
Function at 0x419c68
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x5c
mov eax, 0x442876
call fcn.0042baa9
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 2
call fcn.004019d8
cmp dword [ebp + 0x28], 0x10
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], 1
jae 0x419ca1
lea eax, [ebp + 0x14]
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x419d9d
lea ecx, [ebp - 0x34]
call fcn.00406268
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x28]
cmp dword [ebp + 0x44], 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x30]
mov byte [ebp - 4], 3
jae 0x419cdc
lea eax, [ebp + 0x30]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x10]
push ecx
push esi
push esi
push esi
push eax
push dword [ebp - 0x14]
call edi
cmp eax, esi
jne 0x419d8c
cmp dword [ebp - 0x10], esi
jbe 0x419d8c
push esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.00419be8
cmp dword [ebp + 0x44], 0x10
mov ebx, dword [ebp + 0x30]
jae 0x419d18
lea ebx, [ebp + 0x30]
lea eax, [ebp - 0x10]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.00414610
push eax
push esi
push esi
push ebx
push dword [ebp - 0x14]
call edi
cmp eax, esi
jne 0x419d8c
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0x44]
call fcn.0041ad6a
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x3c]
call fcn.0041ad6a
push 1
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00419301
push dword [eax + 4]
lea ecx, [ebp - 0x68]
push dword [eax]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.00419597
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push esi
push eax
mov byte [ebp - 4], 4
call fcn.00401c2d
push esi
push 1
lea ecx, [ebp - 0x68]
call fcn.004017f7
lea ecx, [ebp - 0x34]
call fcn.0041b250
push dword [ebp - 0x34]
call fcn.0041c911
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push 1
lea ecx, [ebp + 0x10]
call fcn.004017f7
push esi
push 1
lea ecx, [ebp + 0x2c]
call fcn.004017f7
mov eax, dword [ebp - 0x18]
call fcn.0042bb81
ret