joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417e74
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x418022
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x418038
mov dl, 8
mov eax, ebx
call fcn.00418ac8
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0044b318
cmp byte [ebx + 0x10090], 0
jne 0x417fce
xor eax, eax
mov dword [ebx + 0x1008c], eax
mov eax, dword [ebp - 4]
call fcn.0044b32c
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x417ed9
call fcn.004685c8
mov dword [ebx + 0x100b8], eax
mov eax, dword [ebp - 4]
call fcn.0044b32c
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.0044b2f8
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x417f08
call fcn.004685c8
cmp eax, 0x10000
jle 0x417f14
mov eax, 0x10000
lea edx, [ebx + 0x30]
mov ecx, eax
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
push 0
push esi
mov eax, dword [ebp - 8]
sub eax, esi
cmp eax, 0x10000
jbe 0x417f3b
call fcn.004685c8
lea eax, [ebx + eax + 0x30]
push eax
movzx eax, word [ebx + 0x10290]
push eax
call sub.WSOCK32.DLL_send
test eax, eax
je 0x41800c
test eax, eax
jle 0x417f7b
sub esi, eax
add dword [ebx + 0x1008c], eax
cmp word [ebx + 0x100ca], 0
je 0x417f89
mov edx, ebx
mov eax, dword [ebx + 0x100cc]
call dword [ebx + 0x100c8]
jmp 0x417f89
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, ebx
call fcn.004189fc
mov eax, dword [0x4d45c8]
mov eax, dword [eax]
call fcn.0048d720
test esi, esi
je 0x417fa2
cmp byte [ebx + 0x10090], 0
je 0x417f27
mov eax, dword [ebp - 4]
call fcn.0044b32c
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.0044b2f8
cmp edx, dword [esp + 4]
jne 0x417fbd
cmp eax, dword [esp]
pop edx
pop eax
je 0x417fce
cmp byte [ebx + 0x10090], 0
je 0x417edf
cmp byte [ebx + 0x10090], 0
je 0x41800c
mov byte [ebx + 0x10090], 0
mov ecx, 0x41804c
mov dl, 1
mov eax, dword [0x416edc]
call fcn.00459cc0
call fcn.00468e54
cmp word [ebx + 0x1028a], 0
je 0x41800c
mov edx, ebx
mov eax, dword [ebx + 0x1028c]
call dword [ebx + 0x10288]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418029
lea eax, [ebp - 0xc]
call fcn.004693b8
ret
Function at 0x418904
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4189d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x4189e4
mov dl, 4
mov eax, ebx
call fcn.00418ac8
mov byte [ebx + 0x10298], 0
mov si, word [ebx + 0x10290]
cmp si, 0xffff
je 0x4189ba
movzx eax, si
push eax
call sub.WSOCK32.DLL_closesocket
test eax, eax
jne 0x4189ac
test byte [ebx + 0x1c], 8
jne 0x418969
cmp word [ebx + 0x10052], 0
je 0x418969
mov edx, ebx
mov eax, dword [ebx + 0x10054]
call dword [ebx + 0x10050]
cmp byte [ebx + 0x10091], 0
jne 0x4189ba
push 0
push 1
push 2
call sub.WSOCK32.DLL_socket
mov esi, eax
cmp esi, 0xffff
jbe 0x41898c
call fcn.004685c8
mov word [ebx + 0x10290], si
push 0x3d
push 0x465
mov eax, dword [ebx + 0x10294]
push eax
movzx eax, si
push eax
call sub.WSOCK32.DLL_WSAAsyncSelect
jmp 0x4189ba
lea ecx, [ebp - 4]
mov dx, 0x2733
mov eax, ebx
call fcn.004189fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4189d7
lea eax, [ebp - 4]
call fcn.004693b8
ret

Function at 0x418b70
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x418bac
mov dl, 8
mov eax, ebx
call fcn.00418ac8
push 2
push 1
lea eax, [ebx + 0x30]
push eax
movzx eax, word [ebx + 0x10290]
push eax
call sub.WSOCK32.DLL_recv
test eax, eax
jle 0x418b9e
mov al, 1
pop ebx
ret
xor eax, eax
pop ebx
ret
Function at 0x418c20
Capabilities:
Set socket configuration

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x418db0
mov dl, 8
mov eax, ebx
call fcn.00418ac8
cmp dword [ebx + 0x100a4], 0
jne 0x418c56
lea eax, [ebx + 0x30]
mov edx, dword [ebx + 0x10274]
call fcn.00456880
push eax
call sub.WSOCK32.DLL_inet_addr
mov dword [ebx + 0x10268], eax
jmp 0x418c70
lea eax, [ebx + 0x30]
mov edx, dword [ebx + 0x100a4]
call fcn.00456880
push eax
call sub.WSOCK32.DLL_inet_addr
mov dword [ebx + 0x10268], eax
cmp dword [ebx + 0x10268], 0xffffffff
jne 0x418da6
xor eax, eax
mov dword [ebx + 0x10268], eax
mov eax, ebx
call fcn.00418358
mov byte [ebx + 0x100d0], 0
push 0x400
mov eax, dword [ebx + 0x10278]
push eax
lea eax, [ebx + 0x30]
push eax
push 0x466
mov eax, dword [ebx + 0x10294]
push eax
call sub.WSOCK32.DLL_WSAAsyncGetHostByName
push 2
call sub.KERNEL32.DLL_Sleep
mov eax, dword [0x4d45c8]
mov eax, dword [eax]
call fcn.0048d720
cmp byte [ebx + 0x100d0], 0
jne 0x418ce2
cmp byte [ebx + 0x100b1], 0
jne 0x418ce2
cmp byte [ebx + 0x10090], 0
je 0x418cb4
mov eax, ebx
call fcn.004183b0
cmp byte [ebx + 0x100b1], 0
je 0x418d08
mov ecx, 0x418dc8
mov dl, 1
mov eax, dword [0x416e84]
call fcn.00459cc0
call fcn.00468e54
cmp byte [ebx + 0x10090], 0
je 0x418d27
mov ecx, 0x418de8
mov dl, 1
mov eax, dword [0x416e84]
call fcn.00459cc0
call fcn.00468e54
cmp byte [ebx + 0x100b0], 0
jne 0x418d46
mov ecx, 0x418e08
mov dl, 1
mov eax, dword [0x416e84]
call fcn.00459cc0
call fcn.00468e54
lea eax, [ebx + 0x10268]
mov edx, dword [ebx + 0x10278]
mov edx, dword [edx + 0xc]
mov edx, dword [edx]
mov dl, byte [edx]
mov byte [eax], dl
mov edx, dword [ebx + 0x10278]
mov edx, dword [edx + 0xc]
mov edx, dword [edx]
mov dl, byte [edx + 1]
mov byte [eax + 1], dl
mov edx, dword [ebx + 0x10278]
mov edx, dword [edx + 0xc]
mov edx, dword [edx]
mov dl, byte [edx + 2]
mov byte [eax + 2], dl
mov edx, dword [ebx + 0x10278]
mov edx, dword [edx + 0xc]
mov edx, dword [edx]
mov dl, byte [edx + 3]
mov byte [eax + 3], dl
cmp word [ebx + 0x1006a], 0
je 0x418da6
mov edx, ebx
mov eax, dword [ebx + 0x1006c]
call dword [ebx + 0x10068]
pop ebx
ret
Function at 0x425c58
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov ecx, 8
mov edx, 0x3020100
mov dword [eax], edx
add edx, 0x4040404
mov dword [eax + 4], edx
add edx, 0x4040404
mov dword [eax + 8], edx
add edx, 0x4040404
mov dword [eax + 0xc], edx
add edx, 0x4040404
mov dword [eax + 0x10], edx
add edx, 0x4040404
mov dword [eax + 0x14], edx
add edx, 0x4040404
mov dword [eax + 0x18], edx
add edx, 0x4040404
mov dword [eax + 0x1c], edx
add edx, 0x4040404
add eax, 0x20
dec ecx
jne 0x425c62
ret

Function at 0x4281b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
call fcn.00469670
test eax, eax
jle 0x4281fd
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0xc]
shl eax, 2
mov edx, dword [ebp - 0xc]
shr edx, 0x1e
or eax, edx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx - 1]
xor eax, edx
mov dword [ebp - 0xc], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x4281d7
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x42843c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4284c3
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call sym.System7154.exe__Zipforge_TZFStringHash_Remove_qqrx17System_AnsiString
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x20]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004557d8
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call sym.System7154.exe__Zipforge_TZFStringHash_Add_qqrx17System_AnsiStringi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4284ca
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004693dc
ret

Function at 0x428920
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x428984
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004562fc
mov eax, dword [ebp - 4]
call sym.System7154.exe__Zipforge_IsFloppyDrive_qqrx17System_AnsiString
test al, al
je 0x428959
mov byte [ebp - 5], 1
jmp 0x42896e
mov eax, dword [ebp - 0xc]
call fcn.00469868
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42898b
lea eax, [ebp - 0xc]
call fcn.004693b8
ret
Function at 0x428d6c
Capabilities:
Encode data using xor

Disassembly:
and edx, edx
je 0x428d8f
and ecx, ecx
jle 0x428d8f
push ebx
push edi
xor ebx, ebx
lea edi, cs:[0x428d95]
mov bl, al
shr eax, 8
xor bl, byte [edx]
xor eax, dword [edi + ebx*4]
inc edx
dec ecx
jne 0x428d7f
pop edi
pop ebx
ret

Function at 0x429370
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x4293cd
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 0xc]
call fcn.004292c0
xor al, byte [ebp - 0xe]
mov byte [ebp - 0xd], al
mov edx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
call fcn.00429228
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
mov dl, byte [ebp - 0xd]
mov byte [eax], dl
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x429392
mov esp, ebp
pop ebp
ret

Function at 0x429428
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0x12345678
mov dword [eax + 4], 0
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0x23456789
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], 0x34567890
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 4]
call fcn.00469670
dec eax
test eax, eax
jl 0x42949e
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
call fcn.00469868
add eax, dword [ebp - 0x10]
mov al, byte [eax]
mov edx, dword [ebp - 8]
call fcn.00429228
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x429481
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
call fcn.004292c0
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
xor al, byte [edx + ecx]
mov byte [ebp - 0x11], al
mov edx, dword [ebp - 8]
mov al, byte [ebp - 0x11]
call fcn.00429228
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov cl, byte [ebp - 0x11]
mov byte [eax + edx], cl
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xc
jne 0x4294a3
mov esp, ebp
pop ebp
ret
Function at 0x434538
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x113]
mov edx, 0x4345c0
call fcn.00456880
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4c], 0
je 0x434573
lea eax, [ebp - 0x108]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
call fcn.00456880
jmp 0x434584
lea eax, [ebp - 0x108]
push eax
push 0xff
call sub.KERNEL32.DLL_GetTempPathA
lea eax, [ebp - 0x218]
push eax
push 0
lea eax, [ebp - 0x113]
push eax
lea eax, [ebp - 0x108]
push eax
call sub.KERNEL32.DLL_GetTempFileNameA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x218]
mov ecx, 0x105
call fcn.00469620
mov esp, ebp
pop ebp
ret
Function at 0x43bdec
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
xor eax, eax
push ebp
push 0x43c087
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x4d4cf4], 1
jae 0x43c06c
push 0x4d4cf8
call sub.KERNEL32.DLL_InitializeCriticalSection
push 0x4000
push 0xaf5c28f5
push 0xc28f5c29
lea edx, [ebp - 8]
mov eax, 0x43c09c
call fcn.00457a40
mov ecx, dword [ebp - 8]
mov eax, 0x4d4d20
mov edx, 0x43c0ac
call fcn.004696bc
mov dl, 1
mov eax, dword [0x446994]
call fcn.00468658
mov dword [0x4d4d18], eax
push 0x4d4d18
push 0x43bc70
call sub.USER32.DLL_EnumWindows
mov byte [0x4d4d1c], 0
mov eax, dword [0x4d4d18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x43bf12
inc eax
mov dword [ebp - 4], eax
mov dword [0x4d4d14], 0
lea ecx, [ebp - 0xc]
mov edx, dword [0x4d4d14]
mov eax, dword [0x4d4d18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xc]
mov eax, 0x43c0b8
call fcn.004699ac
dec eax
je 0x43befe
lea ecx, [ebp - 0x10]
mov edx, dword [0x4d4d14]
mov eax, dword [0x4d4d18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, 0x43c0c8
call fcn.004699ac
dec eax
je 0x43befe
lea ecx, [ebp - 0x14]
mov edx, dword [0x4d4d14]
mov eax, dword [0x4d4d18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x14]
mov eax, 0x43c0dc
call fcn.004699ac
test eax, eax
je 0x43bf07
mov byte [0x4d4d1c], 1
jmp 0x43bf12
inc dword [0x4d4d14]
dec dword [ebp - 4]
jne 0x43be94
mov dl, 1
mov eax, dword [0x453560]
call fcn.004536cc
mov dword [0x4d4d24], eax
mov edx, reloc.WSOCK32.DLL_accept
mov eax, dword [0x4d4d24]
call fcn.004537a8
mov edx, 0x43c0ec
mov eax, dword [0x4d4d24]
call fcn.00453d04
test al, al
jne 0x43bf6b
mov edx, 0x43c110
mov eax, dword [0x4d4d24]
call fcn.00453d04
test al, al
jne 0x43bf6b
mov edx, 0x43c138
mov eax, dword [0x4d4d24]
call fcn.00453d04
test al, al
je 0x43bf74
mov byte [0x4d4d1d], 1
jmp 0x43bf7b
mov byte [0x4d4d1d], 0
mov eax, dword [0x4d4d24]
call fcn.00468688
mov eax, dword [0x4d45c8]
cmp dword [eax], 0
je 0x43c06c
mov eax, dword [0x4d45c8]
mov eax, dword [eax]
mov edx, 0x43c158
call fcn.004518dc
test eax, eax
je 0x43c06c
mov eax, dword [0x4d45c8]
mov eax, dword [eax]
mov edx, 0x43c158
call fcn.004518dc
mov edx, dword [0x483d8c]
call fcn.00468814
test al, al
je 0x43c06c
cmp byte [0x4d4d10], 0
jne 0x43c06c
mov byte [0x4d4d10], 1
push 0x40
lea eax, [ebp - 0x18]
mov ecx, 0x43c16c
mov edx, dword [sym.System7154.exe__Zipforge_ProductName]
call fcn.004696bc
mov eax, dword [ebp - 0x18]
call fcn.00469868
push eax
push 0x43c188
push dword [sym.System7154.exe__Zipforge_ProductName]
push 0x43c1b4
push dword [0x4d4d20]
push 0x43c1c0
push 0x43c1cc
push 0x43c1f8
push 0x43c228
push 0x43c268
push 0x43c2b8
push 0x43c304
push 0x43c34c
push 0x43c39c
push 0x43c3e4
push 0x43c428
lea eax, [ebp - 0x1c]
mov edx, 0xf
call fcn.00469730
mov eax, dword [ebp - 0x1c]
call fcn.00469868
push eax
push 0
call sub.USER32.DLL_MessageBoxA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c08e
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.004693dc
ret
Function at 0x4512ec
Capabilities:
Suspend thread

Disassembly:
push ebx
mov ebx, eax
mov byte [ebx + 0xe], 1
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, ebx
call fcn.00451158
pop ebx
ret

Function at 0x45130c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00451158
dec esi
jne 0x45132e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x452458
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4d4e70
cmp dword [edi], 0
jne 0x4524d4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4d4e6c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4cf59c
mov ecx, 2
call fcn.00467874
mov edx, 0x452430
lea eax, [esi + 5]
call fcn.00452450
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00452450
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4524a9
mov dword [0x4d4e6c], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x453934
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00467f80
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x4d4404]
cmp byte [edx + 0xc], 0
je 0x453998
mov edx, dword [0x4d43f4]
cmp dword [edx], 2
jne 0x453998
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x45399c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x453a54
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00453934
test al, al
je 0x453a36
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.004694a8
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x453a36
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00469868
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00469868
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004695a8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4539ef
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453a5b
lea eax, [ebp - 0x2c]
call fcn.004693b8
lea eax, [ebp - 0xc]
call fcn.004693b8
ret

Function at 0x453b80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00453674
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00469868
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
test eax, eax
je 0x453bde
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4d43cc]
mov dl, 1
mov eax, dword [0x453500]
call fcn.00459db8
call fcn.00468e54
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x453be8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00469868
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x453c40
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4d43c8]
mov dl, 1
mov eax, dword [0x453500]
call fcn.00459db8
call fcn.00468e54
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004536a4
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x455f7c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00469868
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x455f95
test al, 0x10
jne 0x455f99
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x4560dc
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00469868
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
pop ebx
ret

Function at 0x4560f0
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00469868
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
test eax, eax
jne 0x456112
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x459514
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x45954d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004694a8
jmp 0x459556
mov eax, ebx
mov edx, esi
call fcn.0046940c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x459560
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x459581
mov al, byte [esp]
jmp 0x459583
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x45ab34
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x45ab98
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00469620
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.00455bd8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ab9f
lea eax, [ebp - 0xc]
call fcn.004693b8
ret

Function at 0x4677b0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x4677ed
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.KERNEL32.DLL_GetCurrentDirectoryA
push esp
call sub.KERNEL32.DLL_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.KERNEL32.DLL_GetCurrentDirectoryA
test bl, bl
je 0x46780d
lea eax, [esp + 0x109]
push eax
call sub.KERNEL32.DLL_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00469620
add esp, 0x210
pop esi
pop ebx
ret