joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404c68
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0x1c]
mov dword [ebp - 8], eax
jne 0x404c93
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, dword [ebp + 0xc]
push esi
mov ecx, edi
call fcn.0042e625
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
lea edx, [eax + 4]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
cmp byte [0x4410f0], 0
jne 0x404c93
lea edx, [ebp - 0x38]
push edx
push eax
call edi
push 0x44122c
push esi
mov esi, ecx
mov ebx, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
call fcn.00420f32
xor eax, 0x69644
cdq
and edx, 0x1f
add eax, edx
cdq
sub eax, edx
sar eax, 1
jne 0x404ceb
lea edx, [ebp - 0x28]
mov dword [ebp - 0x18], esp
call fcn.00436034
test eax, eax
jne 0x404cce
mov eax, dword [ecx]
push 0
sub esp, 0x5c
push ebx
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
xor edi, eax
mov edi, dword [ebp - 0x38]
mov eax, dword [ebx + 0x14]
push esi
mov esi, dword [ebp + 0xc]
lea ecx, [edi + 1]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x30], edx
mov edx, dword [eax + 0xc]
mov dword [0x441308], edx
mov eax, dword [0x441320]
sub eax, dword [0x4412a8]
add eax, 1
mov dword [ebp - 0x64], eax
call edi
push 0x4411fc
push esi
mov esi, ecx
call fcn.0043cc74
mov ecx, eax
mov ebx, dword [esp + 0x14]
mov dword [0x4413a0], edi
test byte [0x441390], bl
jne 0x404d28
call fcn.0040d5ac
cmp dword [0x441390], 0
pop ecx
mov dword [eax + 8], esi
mov dword [eax], 1
add esp, 8
lea ecx, [ebp - 0x5c]
call fcn.0042dbf3
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
push dword [0x44125c]
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call fcn.0041a49c
mov dword [ebp - 0xb0], eax
call edi
mov esi, dword [esi + 8]
cmp esi, dword [0x4413bc]
jne 0x404d83
xor ecx, ecx
cmp dword [eax + 0x4000e8], esi
setne cl
dec ecx
mov eax, ecx
and ecx, edi
mov dword [ebp + 0xc], eax
call fcn.0043d4b8
add esp, 0x2c
test al, al
je 0x404dc3
or esi, 0xffffffff
cdq
push 7
mov dword [ebp + 0x10], ebx
call fcn.00431536
push eax
push 0x4412ac
push 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
pop ebx
mov dword [edi + 0x2c], eax
push dword [ebp + 8]
call fcn.00422519
cmp eax, edi
je 0x404df0
mov edx, dword [ecx + 4]
sub esp, 0x1c
push esi
call fcn.0041acf7
mov eax, dword [eax + 0xc]
and dword [ebp - 0x10], 0
mov dword [ebp + 8], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebp - 0xc]
mov dword [esi + 0x14], eax
je 0x404e1e
mov eax, dword [ebp - 0x38]
mov dword [esi + 0xd0], eax
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x64], eax
xor eax, eax
mov ebx, ecx
lea eax, [esi + edx*2]
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [0x441378]
push edx
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x20]
mov dword [eax], 0
pop ebp
ret

Function at 0x40a71c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x441084]
xor eax, ebp
push eax
call dword [sym.imp.USER32.dll_FillRect]
test esi, esi
je 0x40a71f
lea ecx, [eax + 8]
push ecx
push esi
call dword [sym.imp.MSVCRT.dll__initterm]
ret
Function at 0x40c34c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4413c8
mov eax, dword fs:[0]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 8]
test eax, eax
jne 0x40c37f
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0xac], 1
jle 0x40c35c
cmp edi, 2
je 0x40c385
and dword [edi], 0
pop ecx
add esp, 4
mov eax, dword [esi + 4]
push edi
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
and dword [esi], 0
pop ecx
mov eax, dword [ebp + 8]
cmp dword [ecx + 0x68], eax
je 0x40c37f
mov eax, dword [ebp + 0x14]
and eax, 0xfffffe7f
sub esp, 0xc
lea esi, [ebp - 0x10]
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
cmp dword [ebp + 0xc], 0xffffffff
jne 0x40c3aa
add dword [esi + 0x218], 0xffffffff
lea eax, [esp + 0x10]
push eax
push dword [ecx + 0x18]
call fcn.00412fe2
mov dword [ebp - 4], 0xfffffffe
call fcn.004384fe
push edi
mov esi, eax
js 0x40c3ef
mov edx, dword [ebp - 0x34]
mov byte [ebx + 0xfe], 0
jmp 0x40c3d2
add eax, 8
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov edi, dword [ecx + 0x14]
mov eax, dword [edx]
test bl, bl
sete cl
push edx
and ecx, 1
jne 0x40c3f5
pop ebp
ret 0x14

Function at 0x41015b
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [ecx]
inc ecx
add edx, 2
cmp eax, 0x7f
jle 0x41015e
mov esi, dword [ebp - 0x30]
movzx edx, ax
add edx, edi
lea eax, [edi + ebx*2]
mov dword [esi + 0x24], edi
mov dword [esi + 0x1c], edi
mov si, 0x18d0
mov ebx, dword [0x401028]
lea eax, [0x2bea]
mov bh, cl
mov eax, dword [0x4017c4]
push 0x3dcd14
call fcn.0043325a
mov dword [esi + 0xc], edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
jmp 0x4101ce
mov ecx, edi
call dword [eax + 4]
call fcn.00416a8c
pop ecx
mov edx, 0x4412a0
cmp eax, 0xffffffff
je 0x4101ce
cmp eax, 2
jg 0x4101d9
mov ax, word [eax + edx*2]
pop ebp
ret 4

Function at 0x4103ac
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441344
mov eax, dword fs:[0]
mov dword [ebp - 8], eax
je 0x4103d4
push 0x4412e0
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
push eax
mov dword fs:[0], esp
sub esp, 8
lea edx, [eax + 2]
lea esp, [esp]
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc esi
lea ecx, [ebp - 0x308]
lea eax, [ebp - 0x8e4]
lea ecx, [ecx]
mov ah, byte [esi]
or ah, ah
jne 0x4103e3
mov edi, edi
mov al, byte [esi]
xor edx, edx
mov dl, byte [ecx]
movzx edi, dl
mov bl, byte [edi + 0x441248]
mov byte [eax + 3], bl
mov esi, edi
cmp esi, ebp
jb 0x410401
test eax, eax
jl 0x41040d
dec ecx
je 0x410401
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x410417
mov al, byte [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + eax + 6]
mov dword [ebp - 0x9c], edx
cmp dword [ebp - 0x9c], 0xffffffff
je 0x410422
cmp bl, 7
je 0x410429
push dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x48]
call fcn.00420ceb
push 0x4410f8
lea edx, [ebp - 0x510]
mov eax, 0xe001018e
pop ebp
ret
Function at 0x4111ea
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441154
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x441004]
xor eax, ebp
push eax
push dword [ebp + 0xc]
push esi
jbe 0x4111fb
or eax, 0xffffffff
mov edx, eax
and al, 0x3f
mov byte [edi], cl
pop ebx
mov esp, ebp
pop ebp
ret 0x20

Function at 0x412df6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov edx, dword [edx + eax]
xor edx, dword [esi + ecx + 4]
not edx
test dword [eax + esi*4], edx
jne 0x412dff
push dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
push ecx
lea eax, [ebp - 8]
push eax
push 0x441144
push 0x4413bc
call fcn.00429aea
mov eax, esi
jmp 0x412e25

Function at 0x4152fb
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ecx, dword [ebp + 0xc]
or ecx, edi
je 0x415307
cmp ebx, eax
jle 0x415307
imul eax, eax, 0xe6a9
mov ebx, dword [ebp - 0xc]
add ebx, ebx
or ebx, eax
inc esi
cmp byte [esi - 1], 0
jne 0x41531b
lea eax, [ebx + 0x1e]
mov ecx, 0xfe
or byte [eax], 8
inc eax
mov dword [edx], ecx
pop esi
pop edi
pop esi
mov dword [eax + 4], ecx
xor eax, eax
jmp 0x41536b
lea edx, [esp + 0x24]
mov ecx, ebx
call fcn.00436e8f
add esp, 0x28
jmp 0x41538d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov dword [0x4411c0], ebx
push 0x441230
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, edi
jb 0x415390
add ecx, 0xc
cmp ecx, 0x90
jl 0x41538d
xor eax, eax
pop edi
mov eax, esi
lea edx, [eax + 1]
mov dword [esi], edx
mov dword [esi + 4], ecx
mov edx, dword [ebp - 0x60]
push edx
call eax
add dword [esi + 8], eax
mov edx, dword [ebp - 0x20]
inc ecx
mov byte [ecx], dl
dec ecx
cmp esi, ecx
jne 0x4153c8
mov edx, dword [ebp + 8]
push edx
push esi
and edx, eax
push edx
push 0x80058000
mov dword [ebp - 0x10], ebx
jne 0x415403
jmp 0x4153dd
push edi
push 8
lea eax, [eax + eax*4]
lea eax, [esi + eax*2 - 0x30]
mov dword [ebp - 0xc], eax
movzx eax, word [ebp - 0x30]
movzx edx, word [ebp - 0x3c]
dec dword [ebp - 0x14]
mov edi, dword [ebp - 0xc]
jmp 0x415418

Function at 0x418131
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push dword [ecx + 0xc]
push dword [ebp + 0xc]
push edi
movzx edi, ax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], esi
jb 0x418134
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [ebp - 0x498]
lea edx, [ebp - 0x4a0]
push edx
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.00437bf9
test eax, eax
jne 0x418166
mov esi, dword [esi + 0x54]
push esi
call fcn.00425271
movzx ecx, byte [esp + 0x3a]
mov al, byte [esi + 0x22]
mov cl, byte [ebp - 0x22]
mov edx, dword [ebp + 0xc]
add edx, ebx
sub edx, ecx
movzx eax, word [ecx]
inc dword [ebp - 8]
mov edx, eax
sar edx, 0x10
mov byte [edi], dl
inc edi
mov dword [ebp - 8], edi
mov ecx, dword [eax]
mov dword [esi + 8], ecx
pop esi
pop ebx
pop ebp
ret
Function at 0x418676
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44109c
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x44134c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
mov esi, dword [ebp + 0x10]
cmp dword [esi], eax
je 0x41868d
mov eax, dword [esp + 0x14]
jmp 0x418687

Function at 0x41a5b9
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push 0x4004667f
push dword [esi + 4]
push eax
call esi
cmp dword [0x441244], 0
mov esi, dword [0x4413c8]
mov dword [0x441164], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [0x441084], eax
cmp eax, 0xffffffff
je 0x41a608
mov edx, dword [esi + 4]
movsx ebx, byte [edx + 0x3f]
mov byte [ebx + edx + 0x4c], cl
mov ecx, dword [esi + 4]
mov dword [eax + 0x98], ecx
pop esi
pop ebx
cmp eax, dword [ebp - 8]
je 0x41a608
cmp dword [ebp - 4], edx
je 0x41a621
mov eax, dword [eax + 4]
push dword [eax + 0x64]
mov edx, dword [esi]
push dword [eax + 0x60]
mov ecx, esi
push dword [eax + 0x5c]
call dword [edx + 0x120]
pop esi
push 0x1f
call fcn.0041fe22
mov esi, dword [ebp - 0x14]
cmp esi, edi
jge 0x41a655
cmp eax, esi
jl 0x41a62b
lea eax, [esp + 0x14]
push eax
call fcn.00425742
mov edi, eax
jmp 0x41a65f
push 1
cmp ebx, edi
jle 0x41a67b
inc esi
mov ecx, dword [ebp + 8]
push eax
call fcn.0043a07e
add esp, 4
push eax
call dword [sym.imp.USER32.dll_GetScrollPos]
jmp 0x41a67b
mov dword [ebp - 0x14], eax
cmp esi, ebx
je 0x41a665
test dx, dx
jne 0x41a697
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*4]
cmp eax, ecx
je 0x41a697
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x10]
inc ecx
mov byte [ebx + edi + 0x25], dl
inc al
mov byte [edx + edi + 0x25], bl
cmp esi, ecx
jle 0x41a6c2
jmp 0x41a69e
mov dword fs:[0], ecx
pop ecx
jmp 0x41a6ee
mov byte [ebp - 0x44], bl
mov byte [ebp - 0x22], bl
mov dword [ebp - 0x20], ebx
cmp ebx, dword [ebp - 0x18]
jae 0x41a6e5
movzx edx, bl
sub edx, 0
je 0x41a6ee
push 0x44103c
jmp 0x41a71b
xor edx, edx
lea eax, [ebp - 0x66c]
push eax
lea edx, [ecx + edi - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [0x441088], 0x4412dc
or eax, 0xffffffff
jmp 0x41a74a
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x1b]
or edx, eax
mov eax, dword [ebp + 0xc]
mov byte [esi + 0x26], dl
mov byte [esi + 0x25], 0x2b
mov dl, 2
mov dword [eax], 0xc
jmp 0x41a752

Function at 0x41ad72
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [0x441070], eax
test eax, eax
je 0x41ad95
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.0040b10b
mov dword [ebp - 4], 2
mov dword [esi + 0x34], 0x4412fc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
push ecx
push edx
push 0x441020
push ecx
push eax
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx + esi*2 + 2]
mov word [ecx], 0x8000
inc esi
cmp eax, 0x64
jl 0x41adb8
xor eax, eax
pop edi
sbb esi, esi
and esi, 0x8b
add esi, 0xffffff84
mov dword [ecx], esi
mov edi, dword [ecx + 4]
mov esi, dword [eax + 0x20]
jmp 0x41adcc
Function at 0x41b68b
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi + 8]
shr eax, 2
not eax
and eax, 1
je 0x41b6b0
mov byte [esi + 0x36], 0
mov byte [eax], 0x1b
inc eax
cmp dword [ebp + 8], 0
mov edi, dword [eax]
lea ecx, [ecx]
mov eax, dword [esi + 4]
push eax
lea edx, [ebp - 0x74]
push edx
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.MSVCRT.dll_getenv]
test edi, edi
jne 0x41b6b0
mov edi, dword [ebp - 4]
test edi, edi
je 0x41b6b0
lea edx, [ebp - 0xe0]
push edx
push 0xffffffffffffffff
push 0x4412b8
mov eax, dword fs:[0]
push eax
call fcn.0040a875
mov ecx, dword [esi + 0xc]
test bl, 4
je 0x41b6d3
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x44]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0xc8], edx
jmp 0x41b6e1

Function at 0x41f640
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
mov eax, ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edi
shl ecx, 0x10
mov dword [eax + 4], edx
mov cx, word [0x44106c]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea eax, [ebp - 0x2d8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
cmp dword [0x4412b4], 0
jne 0x41f6a4
cmp byte [ecx + 0xc], 0
jne 0x41f6a0
mov eax, dword [edi]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [0x441108]
push ebx
push 0x1001
push dword [edi + 0x18]
call dword [sym.imp.MSVCRT.dll__initterm]
test eax, eax
ja 0x41f680
mov ecx, dword [ebp - 4]
mov word [ecx + eax*2], bx
jmp 0x41f6b5
mov ecx, dword [edx + ebx + 4]
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41f814
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
mov eax, dword [0x441258]
xor eax, ebp
push eax
push esi
push edi
push esi
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
cmp eax, edx
xor edx, ecx
cmp eax, edx
jl 0x41f827
cdq
idiv edi
add byte [esi + 3], al
mov eax, edx
sub eax, dword [ebx + 8]
cmp dword [ecx], 0
jg 0x41f852
xor ecx, ecx
cmp dword [eax + 0x3c], edi
setne cl
push ecx
push 0x441040
lea eax, [ebp - 4]
push eax
lea ecx, [edi - 0xc]
call fcn.00436c6c
test eax, eax
je 0x41f887
mov ebx, eax
mov esi, edi
shl esi, 2
mov eax, dword [esi + 0x4412fc]
jmp 0x41f86b
dec eax
js 0x41f869
cmp eax, dword [0x441218]
jb 0x41f86e
mov ecx, 0xff10
mov edx, ecx
cmp ax, dx
je 0x41f897
add eax, 0x48
mov eax, dword [eax]
mov edi, dword [esi + 0x64]
cmp eax, 0xc000008e
jne 0x41f8bd
inc dword [0x441158]
or dword [ebp - 4], 0xffffffff
jmp 0x41f8d7
mov eax, dword [ebp + 8]
push ebx
push 0
call fcn.00439faa
push 0x22
jmp 0x41f8b9
mov ecx, dword [0x441200]
cmp ecx, eax
jbe 0x41f8bc
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xac], 1
jle 0x41f8cd
cmp byte [ebp - 1], bl
jle 0x41f904
cmp edx, dword [ebp - 0x24]
jae 0x41f8d7
or ecx, 0xdc00
mov word [eax + 0x74], cx
mov byte [eax + 0x41], 1
mov dword [ecx], 0xf
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
push ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
xor eax, eax
cmp dword [esp + 0x14], ebp
pop edi
lea eax, [edx + 0x104]
pop esi
push eax
mov eax, dword [edi]
push dword [ebp + 0xc]
push 1
push eax
mov ecx, edi
call fcn.00409580
jmp 0x41f91f
Function at 0x41fe04
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
mov eax, ecx
mov esi, 0x44125c
push esi
push 0x44130c
lea esi, [edi - 4]
push dword [esi]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
pop esi
pop ebp
ret

Function at 0x425995
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
jne 0x4259b5
mov word [ebp - 0x22], ax
inc ecx
or esi, ebx
test byte [ebp + 8], 0x10
jne 0x4259c9
movsx eax, byte [ebp - 2]
xor edi, edi
cmp byte [edx + 1], 0
jne 0x425999
mov ecx, eax
sar ecx, 3
movsx ecx, byte [ebp + ecx - 0x24]
xor ecx, ebx
test ecx, edx
je 0x4259b7
mov eax, dword [0x44106c]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
cmp dword [eax], 0
push dword [ebp + 0x18]
call esi
mov dword [0x441018], eax
mov eax, dword [0x441058]
test eax, eax
je 0x4259f5
mov eax, dword [esi]
jmp 0x4259f9
push eax
add ebx, 4
cmp dword [ebp - 0x14], eax
jg 0x4259e7
jmp 0x425a11
push edx
call fcn.00431752
add esp, 0x10
dec eax
je 0x425a2c
mov eax, dword [esp + 0x10]
pop edi
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
and ecx, 0x108
je 0x425a29
push edi
mov ecx, esi
jne 0x425a34
cmp dword [esi + 0xc], 0
mov ecx, dword [ebp + 8]
movzx eax, word [esi + 0x3a]
add eax, dword [esi + 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00420dd0
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x19], 0
cmp al, 4
sbb eax, eax
mov dword [ebp - 0x18], edx
mov edx, dword [ecx + 0xd4]
mov cl, byte [ecx + 0xcd]
and eax, 0xfffffc00
cmp eax, 0xd800
je 0x425a6a
cmp byte [ebx], 1
je 0x425a59
cmp dword [0x4412a0], eax
jbe 0x425a59
mov ecx, dword [ebp + 0x10]
mov edx, ecx
sub edx, 1
je 0x425a86
cmp esi, edi
jne 0x425a6a
mov cl, byte [esi + eax + 4]
mov byte [ebp + 0xf], cl
inc cl
cmp byte [ebp + 0xb], 0
je 0x425a99
mov byte [edi], 0
push eax
mov ecx, esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call edx
mov dword [edi + 0x40], esi
mov eax, dword [ebx + 0x44]
xor esi, esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
or eax, 0xffffffff
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
jl 0x425ac2
mov eax, dword [ebp - 8]
mov dword [esi + 0xb0], eax
mov dword [esi + 0xbc], ebx
xor eax, eax
mov word [ebp - 6], ax
movzx edx, word [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
test bl, bl
jne 0x425ae3
add dword [esi + 0x218], 0xffffffff
cmp edx, ebx
jge 0x425ae5
mov eax, dword [edi]
add esi, 2
cmp al, ah
jne 0x425af7
test dl, dl
je 0x425af3
test eax, eax
je 0x425af7
mov esi, 0x44101c
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 8], ecx
je 0x425b46
push dword [ebp + 0x14]
call fcn.0042dc0a
mov byte [esp + 0x68], 2
lea ecx, [esp + 0x28]
call fcn.00415695
add esp, 0x14
jmp 0x425b29
xor eax, eax
call fcn.00408cd7
mov eax, esi
jmp 0x425b44
Function at 0x4298f4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x14]
lea edx, [esp + 0xc]
sub edx, eax
push edx
mov edx, dword [ebx + 0x10]
cmp dword [ebx + 0x90], 1
mov dword [ecx + 0x1c], edx
mov ecx, dword [ebx + 4]
mov dword [esi + 0xc], ecx
pop edi
pop esi
mov al, bl
mov dl, 0xa
imul dl
mov dl, bl
add dl, 0x80
mov byte [ebp - 3], cl
and byte [ebp - 3], 0x48
mov byte [ebp - 1], cl
jne 0x42991f
push 0x441340
mov dword [ebp - 0x14], 0x441028
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp word [ebx + 0x40], 0
je 0x429934
cmp dword [edi + 0x44], 0
jge 0x429972
call fcn.00408fa3
ret 0x10
mov ebp, ebx
cmp ecx, 0x100
jne 0x42998b
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea eax, [ecx - 4]
mov ecx, dword [esp + 4]
test ecx, 3
jne 0x42995f
mov ecx, dword [0x441350]
test ecx, ecx
jne 0x429972
mov eax, dword [esi + 4]
cmp eax, dword [0x441340]
jne 0x42997e
mov eax, dword [esi + 8]
mov edx, dword [eax]
push ebx
lea esi, [ebp - 0x80]
call fcn.0040a875
jmp 0x429993

Function at 0x429e04
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4413b8
mov eax, dword fs:[0]
push eax
jle 0x429e0e
mov edx, dword [ebp + 0x20]
mov dword [eax + 0x24], edx
mov dword [edx], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov dword [eax + 0x60], ecx
mov dword [ebp - 4], 0xffffffff
add eax, 8
mov ebx, eax
jne 0x429e57
mov eax, 0x44126c
ret
push 0x200
lea eax, [ebp - 0x404]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov eax, dword [0x4410f0]
cmp dword [eax], ebx
je 0x429e5c
mov ecx, dword [ebp - 0x1c]
call fcn.00436209
cmp eax, 1
je 0x429e6a
lea ebx, [eax - 1]
cmp ebx, 0xffffffff
je 0x429e63
cmp esi, edi
jl 0x429ebb
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 4], 0
jne 0x429e7a
mov eax, esi
pop esi
leave
jae 0x429e84
add eax, edi
test byte [eax + 4], 0x80
je 0x429e9f
test edi, 3
jne 0x429e9d
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
xor eax, edx
mov edx, dword [esi]
mov ecx, dword [edx + 4]
push esi
mov dword [esi], 0x2c
call fcn.00437447
pop ecx
jne 0x429ec4
pop edi
pop esi
mov dword [eax], 0xffffff81
pop ebx
ret

Function at 0x42da8a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4413a8
mov eax, dword fs:[0]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 1
and ecx, 7
mov bl, 1
shr eax, 3
shl dl, cl
lea eax, [ebp + eax - 0x2304]
or byte [eax], bl
inc esi
mov dl, byte [esi + 1]
inc esi
inc eax
mov cl, byte [eax]
cmp cl, 0x66
jle 0x42dab4
xor dh, ah
adc ebx, eax
mov ebx, dword [0x4013e8]
add dword [esp], 0x605d2602
add edi, ebx
push 0x424ea9
call fcn.00420ca8
mov eax, dword [ebp + 0xc]
xor edi, edi
mov eax, edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x42f69c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5dc
mov eax, dword [0x44125c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x361
push esi
mov dword [ebp - 4], ebx
test eax, 0x10000000
je 0x42f6a5
inc dword [esi + 8]
jmp 0x42f6cb
mov ebx, 0x80000000
cmp edx, 0x20
jg 0x42f6f5
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x68]
test eax, eax
je 0x42f6d0
mov eax, dword [edi + 0x74]
push dword [eax + 0x1c]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
mov word [edi - 2], ax
jmp 0x42f705
cmp word [ebp - 0x924], 0
jne 0x42f6ec
cmp dword [ebp - 0x14], 0
jne 0x42f6db
mov esi, 1
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
cmp dword [0x441144], 1
jne 0x42f6ff
lea edx, [edi + 0x28]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.00437bf9
push 2
push eax
mov eax, dword [edi + 4]
mov ebx, edx
lea ecx, [edx + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push eax
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x120]
add eax, 4
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x50]
call fcn.00416068
push dword [ebp + 8]
call fcn.004332b7
cmp edi, eax
jge 0x42f76c
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, dword [edi + 4]
jne 0x42f762
xor eax, eax
jmp 0x42f756

Function at 0x430e3b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x441004]
xor eax, esp
push eax
push dword [ebp - 0x154]
call dword [sym.imp.ole32.dll_ReleaseStgMedium]
test eax, eax
jne 0x430e3e
mov edx, dword [esi]
lea ecx, [ebp - 4]
call fcn.0043d6d7
jmp 0x430e81
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
pop edi
jne 0x430e81
inc dword [esi]
test edx, edx
jne 0x430e87
mov dword [esi], 1
mov dword [esi + 8], ebx
mov edx, dword [esi + 0xc]
test edx, edx
je 0x430ec3
mov esi, dword [eax + 0x4c]
test esi, esi
je 0x430e94
movzx eax, word [0x4413cc]
push eax
push dword [edi + 0x14]
push esi
push edi
push 0x44109c
push ebx
push esi
mov esi, dword [ebp + 8]
push 0x69
push esi
mov esi, ecx
mov eax, ebx
push 0x4412c8
shl ecx, 0xf
add ecx, dword [eax + 0xc]
mov ebx, 0x8000
push ebx
mov dword [eax], 0x16
cmp byte [ebp - 8], 0
je 0x430ed4
mov eax, dword [eax]
cmp dword [eax], 0xe06d7363
jne 0x430ed4
mov byte [edi], 0xd
inc edi
mov byte [ebp - 3], bl
mov eax, 3
pop ebp
ret 0x10

Function at 0x43284b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x441048]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
cmp eax, 0x80000002
je 0x43284e