joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453700
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574a5b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x12c9128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.004b13d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov dword [eax], vtable.CInternetFile.0
mov ecx, dword [ebp - 0x14]
add ecx, 0x24
call fcn.00404c40
mov byte [ebp - 4], 1
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0046f870
test eax, eax
jne 0x453774
push 0x31d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.0046dbb0
test eax, eax
je 0x453774
int3
cmp dword [ebp + 0x10], 0
jne 0x45378e
push 0x31e
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.0046dbb0
test eax, eax
je 0x45378e
int3
push 0x31f
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0046d600
cmp dword [ebp + 8], 0
jne 0x4537bb
push 0x320
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.0046dbb0
test eax, eax
je 0x4537bb
int3
mov ecx, dword [ebp + 0x10]
call fcn.00459310
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x12cc768
call fcn.004526c0
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.00404dd0
mov ecx, dword [ebp + 0x10]
call fcn.004594c0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.004592d0
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x24
call fcn.00404070
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00404d90
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x3c], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x30], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x38], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x28], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x455370
Capabilities:
Connect to http server

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574b73
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x12c9128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x18]
push eax
movzx ecx, word [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00454d50
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx], vtable.CFtpConnection.0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00404c40
mov byte [ebp - 4], 1
cmp dword [ebp + 8], 0
jne 0x4553ea
push 0x5fc
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.0046dbb0
test eax, eax
je 0x4553ea
int3
push 0x5896b4
mov ecx, dword [ebp + 8]
call fcn.0046d4d0
test eax, eax
jne 0x45540f
push 0x5fd
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.0046dbb0
test eax, eax
je 0x45540f
int3
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0046f870
test eax, eax
jne 0x455432
push 0x5fe
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.0046dbb0
test eax, eax
je 0x455432
int3
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00404dd0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 0x20]
neg eax
sbb eax, eax
and eax, 0x8000000
push eax
push 1
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
movzx eax, word [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00459330
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
jne 0x45549b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
push edx
call fcn.00458f00
jmp 0x4554b3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
mov ecx, 0x12cc768
call fcn.004526c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4560a0
Capabilities:
Connect to http server

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574c58
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x12c9128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x18]
push eax
movzx ecx, word [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00454d50
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx], vtable.CGopherConnection.0
cmp dword [ebp + 8], 0
jne 0x45610b
push 0x6f2
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.0046dbb0
test eax, eax
je 0x45610b
int3
push 0x5896b4
mov ecx, dword [ebp + 8]
call fcn.0046d4d0
test eax, eax
jne 0x456130
push 0x6f3
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.0046dbb0
test eax, eax
je 0x456130
int3
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0046f870
test eax, eax
jne 0x456153
push 0x6f4
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.0046dbb0
test eax, eax
je 0x456153
int3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
push 0
push 2
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
movzx ecx, word [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.00459330
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 4], 0
jne 0x45619d
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
call fcn.00458f00
jmp 0x4561b5
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
mov ecx, 0x12cc768
call fcn.004526c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x456a00
Capabilities:
Connect to http server

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574e53
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x12c9128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x1c]
push eax
movzx ecx, word [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00454d50
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx], vtable.CHttpConnection.0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00404c40
mov byte [ebp - 4], 1
cmp dword [ebp + 8], 0
jne 0x456a7a
push 0x7a3
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.0046dbb0
test eax, eax
je 0x456a7a
int3
push 0x5896b4
mov ecx, dword [ebp + 8]
call fcn.0046d4d0
test eax, eax
jne 0x456a9f
push 0x7a4
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.0046dbb0
test eax, eax
je 0x456a9f
int3
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0046f870
test eax, eax
jne 0x456ac2
push 0x7a5
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.0046dbb0
test eax, eax
je 0x456ac2
int3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
push 0
push 3
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
movzx ecx, word [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.00459330
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 4], 0
jne 0x456b0c
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
call fcn.00458f00
jmp 0x456b24
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
mov ecx, 0x12cc768
call fcn.004526c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x456b40
Capabilities:
Connect to http server

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574e83
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x12c9128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x20]
push eax
movzx ecx, word [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00454d50
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx], vtable.CHttpConnection.0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00404c40
mov byte [ebp - 4], 1
cmp dword [ebp + 8], 0
jne 0x456bba
push 0x7b9
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.0046dbb0
test eax, eax
je 0x456bba
int3
push 0x5896b4
mov ecx, dword [ebp + 8]
call fcn.0046d4d0
test eax, eax
jne 0x456bdf
push 0x7ba
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.0046dbb0
test eax, eax
je 0x456bdf
int3
mov ecx, dword [ebp + 0x10]
and ecx, 0x10000000
je 0x456bfe
push 0x7bb
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.0046dbb0
test eax, eax
je 0x456bfe
int3
push 0xffffffffffffffff
mov eax, dword [ebp + 0xc]
push eax
call fcn.0046f870
test eax, eax
jne 0x456c21
push 0x7bc
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.0046dbb0
test eax, eax
je 0x456c21
int3
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 3
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
movzx ecx, word [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.00459330
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 4], 0
jne 0x456c6d
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
call fcn.00458f00
jmp 0x456c85
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
mov ecx, 0x12cc768
call fcn.004526c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x45a1c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x45a2e8
call fcn.0045f3c0
mov dword [ebp - 0x10], eax
push 0xf0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45a27b
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45a252
push str.DLGINIT_resource_was_found__but_could_not_be_loaded._n
push 0
mov ecx, 0x12cc93c
call fcn.00404b10
push eax
push 0x16f
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
lea ecx, [ebp - 0x20]
call fcn.00404a00
push eax
call fcn.00404a40
add esp, 0x10
xor eax, eax
jmp 0x45a356
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45a279
push 0x175
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
call fcn.0046dbb0
test eax, eax
je 0x45a279
int3
jmp 0x45a2e8
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x45a29e
push 0x17d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
call fcn.0046dbb0
test eax, eax
je 0x45a29e
int3
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xffffffff
je 0x45a2e8
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0
je 0x45a2dd
push str.Dialog_has_OLE_controls__but_no_matching_DLGINIT_resource._n
push 0
mov ecx, 0x12cc93c
call fcn.00404b10
push eax
push 0x183
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
lea ecx, [ebp - 0x28]
call fcn.00404a00
push eax
call fcn.00404a40
add esp, 0x10
jmp 0x45a2e8
mov edx, dword [ebp - 0x18]
add edx, 4
mov dword [ebp - 0x18], edx
jmp 0x45a29e
mov dword [ebp - 8], 1
cmp dword [ebp - 4], 0
je 0x45a311
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x45a330
cmp dword [ebp - 0xc], 0
je 0x45a330
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040ea50
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x4c], 0
je 0x45a353
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x4c]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x4c]
mov edx, dword [eax]
mov eax, dword [edx + 0xa8]
call eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x45dce0
Capabilities:
Connect socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4868a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
and ecx, 1
je 0x4868c1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 8], eax
jmp 0x48691c
push 5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4868e5
call fcn.0046c580
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x486904
call fcn.0046c580
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x48691c
call fcn.0046c580
call fcn.004714e0
cmp dword [eax + 0x3c], 0
je 0x486936
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00486850
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00486700
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x5c], 0
je 0x486966
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x5c], 0
cmp dword [ebp - 4], 0
je 0x48697b
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov dword [edx + 0x5c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
or ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4a2a60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577a80
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x12c9128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.00404ce0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4a2aee
call fcn.00471710
cmp eax, 1
jne 0x4a2aee
lea ecx, [ebp - 0x10]
push ecx
push str.SoftwareClasses_
lea edx, [ebp - 0x14]
push edx
call fcn.004042e0
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00404070
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00404d90
mov dword [ebp + 8], reloc.WS2_32.dll_accept
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x10]
call fcn.00404e20
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00404d90
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4a2b30
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577ab0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x12c9128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.00404ce0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4a2bbe
call fcn.00471710
cmp eax, 1
jne 0x4a2bbe
lea ecx, [ebp - 0x10]
push ecx
push str.SoftwareClasses_
lea edx, [ebp - 0x14]
push edx
call fcn.004042e0
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00404070
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00404d90
mov dword [ebp + 8], reloc.WS2_32.dll_accept
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00404e20
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00404d90
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4a2c10
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577ae0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x12c9128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.00404ce0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4a2c9e
call fcn.00471710
cmp eax, 1
jne 0x4a2c9e
lea ecx, [ebp - 0x10]
push ecx
push str.SoftwareClasses_
lea edx, [ebp - 0x14]
push edx
call fcn.004042e0
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00404070
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00404d90
mov dword [ebp + 8], reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x10]
call fcn.00404e20
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00404d90
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
cmp dword [ebp + 8], 0
jne 0x4a98b2
push 0x62
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.0046dbb0
test eax, eax
je 0x4a98b2
int3
cmp dword [ebp + 0xc], 0
jne 0x4a98c9
push 0x63
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.0046dbb0
test eax, eax
je 0x4a98c9
int3
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x54], 0
je 0x4a9963
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.004a9810
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4a98f3
mov eax, dword [ebp + 0x10]
jmp 0x4a9996
mov dword [ebp - 0xc], 4
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], 0
jne 0x4a995c
cmp dword [ebp - 4], 4
je 0x4a9940
push 0x71
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.0046dbb0
test eax, eax
je 0x4a9940
int3
cmp dword [ebp - 0xc], 4
je 0x4a9957
push 0x72
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.0046dbb0
test eax, eax
je 0x4a9957
int3
mov eax, dword [ebp - 0x14]
jmp 0x4a9996
mov eax, dword [ebp + 0x10]
jmp 0x4a9996
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x68], 0
jne 0x4a997d
push 0x79
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.0046dbb0
test eax, eax
je 0x4a997d
int3
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x68]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x50ef20
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x12c9128]
jne 0x50ef2a
repz ret
jmp fcn.00523d10