joyce8/EMBER2024-capa huggingface dataset:
Function at 0x594134
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, eax
mov byte [esp], 0
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, 1
jmp 0x594155
inc edi
mov eax, esi
call fcn.004056a0
cmp edi, eax
jg 0x594167
cmp byte [esi + edi - 1], 0x20
je 0x594154
mov eax, esi
test eax, eax
je 0x594172
sub eax, 4
mov eax, dword [eax]
cmp eax, edi
jl 0x594234
cmp byte [esi + edi - 1], 0x2e
je 0x594258
jmp 0x594234
cmp byte [esi + edi - 1], 0x2e
jne 0x5941dc
inc dword [esp + 4]
cmp dword [esp + 4], 3
jg 0x594258
cmp dword [esp + 8], 0xff
jg 0x594258
xor eax, eax
mov dword [esp + 8], eax
mov ebp, esi
test ebp, ebp
je 0x5941c0
sub ebp, 4
mov ebp, dword [ebp]
cmp ebp, edi
jg 0x5941c8
mov bl, 1
jmp 0x5941d6
movzx eax, byte [esi + edi]
add al, 0xd0
sub al, 0xa
setb bl
xor bl, 1
test bl, bl
jne 0x594258
jmp 0x594233
movzx eax, byte [esi + edi - 1]
add al, 0xd0
sub al, 0xa
jae 0x594201
mov eax, dword [esp + 8]
add eax, eax
lea eax, [eax + eax*4]
movzx edx, byte [esi + edi - 1]
add eax, edx
sub eax, 0x30
mov dword [esp + 8], eax
jmp 0x594233
inc edi
mov eax, esi
call fcn.004056a0
cmp edi, eax
jg 0x594213
cmp byte [esi + edi - 1], 0x20
je 0x594200
mov dword [esp + 0xc], esi
cmp dword [esp + 0xc], 0
je 0x59422b
mov eax, dword [esp + 0xc]
sub eax, 4
mov eax, dword [eax]
mov dword [esp + 0xc], eax
cmp edi, dword [esp + 0xc]
jle 0x594258
jmp 0x594243
inc edi
mov eax, esi
call fcn.004056a0
cmp edi, eax
jle 0x59418a
cmp dword [esp + 4], 3
jne 0x594258
cmp dword [esp + 8], 0xff
jg 0x594258
mov byte [esp], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5a44dc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
push ebp
push 0x5a45b5
push dword fs:[ebx]
mov dword fs:[ebx], esp
mov eax, 2
xor esi, esi
xor edx, edx
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
mov ecx, dword [ebp + 0x10]
dec ecx
test ecx, ecx
jl 0x5a45a4
inc ecx
mov dword [ebp - 8], ecx
xor edi, edi
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + edi]
sub ecx, 0x3c
js 0x5a4531
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + edi]
sub cl, 0x3c
mov byte [ebp - 1], cl
jmp 0x5a4535
xor edx, edx
jmp 0x5a45a4
cmp edx, dword [ebp + 0x14]
jge 0x5a45a4
lea ecx, [esi + 6]
cmp ecx, 8
jl 0x5a4580
mov ecx, 6
sub ecx, eax
movzx ebx, byte [ebp - 1]
and bl, 0x3f
movzx ebx, bl
shr ebx, cl
mov ecx, ebx
or cl, byte [ebp - 2]
mov byte [ebp - 3], 0xae
add byte [ebp - 3], dl
xor cl, byte [ebp - 3]
mov ebx, dword [ebp + 0xc]
lea esi, [ebx + edx]
mov byte [esi], cl
inc edx
xor esi, esi
cmp eax, 6
jge 0x5a4579
add eax, 2
jmp 0x5a4580
mov eax, 2
jmp 0x5a459a
mov ecx, eax
movzx ebx, byte [ebp - 1]
shl bl, cl
and bl, byte [eax + 0x633a5e]
mov byte [ebp - 2], bl
mov ecx, 8
sub ecx, eax
add esi, ecx
inc edi
dec dword [ebp - 8]
jne 0x5a4516
mov eax, dword [ebp + 0xc]
mov byte [eax + edx], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5a45bf
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0x10

Function at 0x5a45c8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
push ebp
push 0x5a46cf
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor eax, eax
mov byte [ebp - 6], 0
xor edx, edx
mov ecx, dword [ebp + 0x10]
dec ecx
test ecx, ecx
jl 0x5a46ac
inc ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
cmp edx, dword [ebp + 0x14]
jge 0x5a46ac
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 4]
movzx ebx, byte [ecx + ebx]
mov byte [ebp - 7], 0xae
movzx ecx, byte [ebp - 4]
add byte [ebp - 7], cl
xor bl, byte [ebp - 7]
lea ecx, [eax + 2]
movzx esi, bl
shr esi, cl
mov ecx, esi
or cl, byte [ebp - 6]
and cl, 0x3f
mov byte [ebp - 5], cl
lea ecx, [eax + 2]
push ecx
mov ecx, 8
pop esi
sub ecx, esi
movzx ebx, bl
shl ebx, cl
shr ebx, 2
and bl, 0x3f
mov byte [ebp - 6], bl
add eax, 2
cmp eax, 6
jge 0x5a4664
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [ebp - 5]
add bl, 0x3c
mov byte [ecx + edx], bl
inc edx
jmp 0x5a46a0
mov eax, dword [ebp + 0x14]
dec eax
cmp edx, eax
jge 0x5a468c
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp - 5]
add cl, 0x3c
mov byte [eax + edx], cl
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp - 6]
add cl, 0x3c
mov byte [eax + edx + 1], cl
add edx, 2
jmp 0x5a469a
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp - 5]
add cl, 0x3c
mov byte [eax + edx], cl
inc edx
xor eax, eax
mov byte [ebp - 6], 0
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x5a45fe
test eax, eax
jle 0x5a46be
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp - 6]
add cl, 0x3c
mov byte [eax + edx], cl
inc edx
mov eax, dword [ebp + 0xc]
mov byte [eax + edx], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5a46d9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5a7dc4
Capabilities:
Reference http user-agent string

Disassembly:
push ebx
push esi
push edi
test dl, dl
je 0x5a7dd3
add esp, 0xfffffff0
call fcn.00404700
mov esi, ecx
mov ebx, edx
mov edi, eax
mov cl, 1
xor edx, edx
mov eax, edi
call fcn.0042462c
mov dword [edi + 0x44], esi
xor ecx, ecx
mov dl, 1
mov eax, dword [0x59cad4]
call fcn.0059db1c
mov esi, eax
mov dword [edi + 0x40], esi
lea eax, [esi + 0x40cc]
mov edx, 0x5a7e30
call fcn.00405434
mov eax, edi
test bl, bl
je 0x5a7e1f
call fcn.00404758
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x5a8990
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd44
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x29c], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405860
xor eax, eax
push ebp
push 0x5a8ada
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x198]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor ecx, ecx
push ebp
push 0x5a8ab2
push dword fs:[ecx]
mov dword fs:[ecx], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x298]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x298]
mov edx, dword [ebp - 4]
call fcn.0040b810
lea eax, [ebp - 0x298]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x5a8a9b
mov edx, dword [eax + 0xc]
test edx, edx
je 0x5a8a95
mov ebx, dword [edx]
test ebx, ebx
je 0x5a8a8f
lea eax, [ebp - 0x29c]
push eax
movzx eax, byte [ebx]
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 0x2b8], 0
movzx eax, byte [ebx + 1]
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 0x2b0], 0
movzx eax, byte [ebx + 2]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 0x2a8], 0
movzx eax, byte [ebx + 3]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 0x2a0], 0
lea edx, [ebp - 0x2bc]
mov ecx, 3
mov eax, 0x5a8af4
call fcn.0040c244
mov edx, dword [ebp - 0x29c]
mov eax, esi
call fcn.00405434
mov byte [ebp - 5], 1
jmp 0x5a8a9f
mov byte [ebp - 5], 0
jmp 0x5a8a9f
mov byte [ebp - 5], 0
jmp 0x5a8a9f
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a8ab9
call sub.wsock32.dll_WSACleanup
ret

Function at 0x5a9e04
Capabilities:
Read file via mapping

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov eax, dword [0x633af0]
mov eax, dword [eax]
call fcn.00405870
push eax
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov esi, eax
mov dword [ebx + 0x3cc], esi
push 0
push 0
push 0
push 0xf001f
push esi
call sub.kernel32.dll_MapViewOfFile
mov edi, eax
mov dword [ebx + 0x3d0], edi
test edi, edi
je 0x5a9e59
mov eax, ebx
call fcn.00461f54
mov edx, dword [ebx + 0x3d0]
mov dword [edx], eax
pop edi
pop esi
pop ebx
ret
Function at 0x5aa4a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
xor edx, edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405860
xor eax, eax
push ebp
push 0x5aa548
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00408988
mov word [ebp - 0x18], 5
mov dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x20], 0x18
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0040b434
mov eax, dword [ebp - 0x5c]
call fcn.00405870
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405870
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x5aa527
mov ebx, dword [ebp - 0x50]
jmp 0x5aa52a
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5aa54f
lea eax, [ebp - 0x5c]
call fcn.004053e0
lea eax, [ebp - 4]
call fcn.004053e0
ret
Function at 0x5aaae0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x5aac2a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2c]
call fcn.0040b710
mov edx, dword [ebp - 0x2c]
mov eax, edi
mov ecx, 0x5aac40
call fcn.004056f8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 8]
call fcn.004053e0
xor ebx, ebx
mov esi, 0x41
lea eax, [ebp - 0x30]
mov edx, esi
call fcn.004055c8
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 4]
mov ecx, 0x5aac4c
call fcn.004056f8
mov eax, dword [ebp - 4]
call fcn.00405870
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x5aabe4
lea eax, [ebp - 0x34]
mov ecx, 0x5aac58
mov edx, dword [ebp - 4]
call fcn.004056f8
mov eax, dword [ebp - 0x34]
call fcn.0040b004
test al, al
jne 0x5aabd3
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00405870
push eax
mov eax, dword [0x633eb0]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x24]
jne 0x5aabb7
cmp eax, dword [ebp - 0x28]
jbe 0x5aabcf
jmp 0x5aabb9
jle 0x5aabcf
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00405434
mov bl, 1
jmp 0x5aabe4
cmp dword [ebp - 8], 0
jne 0x5aabe4
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405478
inc esi
cmp esi, 0x5b
jne 0x5aab3e
test bl, bl
jne 0x5aac02
cmp dword [ebp - 8], 0
je 0x5aac02
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.00405434
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5aac31
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00405404
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405404
ret
Function at 0x401de5
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xd8
push ebx
push esi
mov eax, ecx
mov ebx, edx
push edi
lea ecx, [ebp + 0x68]
mov dword [ebp + 0x64], eax
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x401ecf
call fcn.0042fe40
mov esi, esp
test esi, esi
je 0x401ecf
push edi
push 0
push esi
call fcn.00419e50
add esp, 0xc
push esi
push edi
push dword [ebp + 0x68]
push dword [ebp + 0x64]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x401ecf
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x70]
push eax
push 0x4458c8
push esi
call edi
test eax, eax
je 0x401ecf
mov ecx, dword [ebp + 0x70]
push str.VersionVI
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x64]
push 0x44588c
push eax
call fcn.004029e8
add esp, 0x14
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
call edi
test eax, eax
jne 0x401eb8
push str.VersionVI
lea eax, [ebp - 0x64]
push 0x445850
push eax
call fcn.004029e8
add esp, 0xc
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
call edi
test eax, eax
je 0x401ecf
push 0x14
push dword [ebp + 0x70]
push ebx
call fcn.0041fb54
xor eax, eax
add esp, 0xc
mov word [ebx + 0x26], ax
inc eax
jmp 0x401ed1
xor eax, eax
lea esp, [ebp - 0x70]
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret

Function at 0x401edc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push str.FRAMEWORK
push 0x84
push dword [0x4472d0]
mov dword [ebp - 4], ecx
call edi
push eax
push dword [0x4472d0]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, eax
mov ecx, 0x4472bc
call fcn.0040ef74
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [0x4472bc]
xor ecx, ecx
test eax, eax
je 0x401f3b
cmp word [eax], cx
jne 0x401f4a
mov edx, 0x43a788
mov ecx, 0x4472bc
call fcn.0040ef74
mov ecx, 0x4472c8
call fcn.0040ef32
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0041fae6
lea ecx, [ebp - 0x210]
call fcn.0040bd2b
push dword [ebp - 4]
lea eax, [ebp - 0x210]
push eax
call fcn.0041fb08
add esp, 0x10
lea ecx, [ebp - 0x210]
call fcn.0040bb6c
push str.FRAMEWORK
test eax, eax
je 0x401f99
push 0x85
jmp 0x401f9e
push 0x86
push dword [0x4472d0]
call edi
push eax
push dword [0x4472d0]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, 0x4472c0
mov edx, eax
mov ecx, edi
call fcn.0040ef74
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [0x4472c0]
test eax, eax
je 0x401fe1
xor ecx, ecx
cmp word [eax], cx
jne 0x402001
lea ecx, [ebp - 0x210]
call fcn.0040bb6c
mov ecx, edi
mov edx, 0x43a918
test eax, eax
jne 0x401ffc
mov edx, 0x43aab0
call fcn.0040ef74
pop edi
pop esi
leave
ret
Function at 0x404937
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4304e1
call fcn.00430290
sub esp, 0x658
lea eax, [ebp - 0x24c]
push ebx
push esi
push edi
mov esi, ecx
push str.INST.WXF
lea edi, [esi + 0x216]
push edi
push 0x43ad3c
push eax
call fcn.004029e8
add esp, 0x10
lea eax, [ebp - 0x24c]
push eax
push 0x14
lea eax, [ebp - 0x40]
push eax
push 0x43ace4
push 0x43c6c4
push 0x43c6cc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x40]
push str.WXF7
push eax
call fcn.0041fb97
pop ecx
pop ecx
test eax, eax
jne 0x404a62
xor ebx, ebx
cmp dword [esi + 0xc48], ebx
je 0x4049bc
push str.132___Retour
mov ecx, esi
call fcn.004032cc
mov ecx, edi
call fcn.0040bd2b
push edi
lea eax, [ebp - 0x664]
push str.__sWDSETUP7.EXE_
push eax
call fcn.004029e8
push edi
lea eax, [ebp - 0x458]
push str._REP_s
push eax
call fcn.004029e8
add esp, 0x14
lea edx, [ebp - 0x458]
lea ecx, [ebp - 0x664]
push edi
call fcn.004127ad
pop ecx
pop ecx
test eax, eax
jne 0x404a73
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
cmp dword [esi + 0xc48], ebx
je 0x404a59
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push dword [ebp - 0x10]
push str.Impossible_de_lancer_lapplication_de_contr
push eax
call fcn.00402a02
add esp, 0x10
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0040ef32
push eax
mov ecx, esi
call fcn.004032cc
lea ecx, [ebp - 0x14]
call fcn.0040eea9
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x404a64
Function at 0x405924
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4303ed
call fcn.00430290
sub esp, 0x424
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, ecx
push edi
mov dword [ebp - 0x18], eax
lea edi, [eax + 0x420]
push edi
push 0x104
lea ecx, [eax + 0x216]
push ecx
push 0x43ace4
lea ebx, [eax + 0x834]
mov dword [ebp - 0x14], ecx
push 0x43c1d0
push ebx
call esi
push edi
push 0x104
lea eax, [ebp - 0x224]
push eax
push 0x43ace4
push 0x43c1e0
push ebx
call esi
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x14]
call fcn.0041fb08
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
call fcn.0040bd2b
push edi
push 0x104
lea eax, [ebp - 0x430]
mov edi, str.WDUPDATE.NET
push eax
push edi
push str.FICUPDATE
push ebx
call esi
mov eax, dword [ebp - 0x18]
lea ebx, [eax + 0x216]
lea esi, [eax + 0x62a]
push ebx
push esi
call fcn.0041fae6
lea eax, [ebp - 0x430]
push eax
push esi
call fcn.0041fb08
add esp, 0x10
mov ecx, esi
call fcn.0040bb6c
test eax, eax
jne 0x405a2d
push edi
push ebx
lea eax, [ebp - 0x10]
push 0x43ad3c
push eax
call fcn.00402a02
add esp, 0x10
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040ef32
mov ecx, eax
call fcn.0040bb6c
test eax, eax
je 0x405a25
lea ecx, [ebp - 0x10]
call fcn.0040ef32
push eax
push esi
call fcn.0041fae6
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0040eea9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x405d16
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp byte [ecx + 0x11b9], 0
push ebx
push esi
push edi
jne 0x405dad
lea esi, [ecx + 0x420]
push esi
push 0
lea edi, [ecx + 0x834]
push str.DELAICHECKVERSION
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push esi
push 9
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
push 0x43ace4
push str.LASTCHECKVERSION
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x30]
call fcn.00406204
test ebx, ebx
jle 0x405dad
cmp word [ebp - 0x1c], 0
je 0x405dad
and dword [ebp - 4], 0
lea edx, [ebp - 4]
lea ecx, [ebp - 0x30]
call fcn.00406233
and dword [ebp - 8], 0
lea edx, [ebp - 8]
lea ecx, [ebp - 0x1c]
call fcn.00406233
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 8]
cmp eax, ebx
jl 0x405db5
push esi
lea eax, [ebp - 0x30]
push eax
push str.LASTCHECKVERSION
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
jmp 0x405db0
Function at 0x416e22
Capabilities:
Get common file path

Disassembly:
mov eax, 0x430b51
call fcn.00430290
sub esp, 0x664
push ebx
push esi
push edi
xor esi, esi
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x25c], esi
movlpd qword [ebp - 0x38], xmm0
call fcn.0040dee6
mov dword [ebp - 4], esi
mov eax, ecx
push dword [edi + 0x646]
push dword [edi + 0x642]
push ecx
push 0x83
push eax
mov ecx, edi
call fcn.0041790e
test eax, eax
je 0x417037
mov dword [ebp - 0x14], esi
cmp dword [edi + 0x64a], esi
jle 0x417037
mov eax, dword [ebp - 0x34]
mov ecx, esi
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
test ecx, ecx
jne 0x416ef8
mov eax, dword [ebp - 0x2c]
add eax, ebx
push 0x418
push eax
lea eax, [ebp - 0x670]
push eax
call fcn.004198d0
lea eax, [ebp - 0x466]
push 0x43fc38
push eax
call fcn.0041fb97
add esp, 0x14
test eax, eax
jne 0x416ece
xor ecx, ecx
inc ecx
mov dword [ebp - 0x18], ecx
jmp 0x416ee1
mov eax, dword [ebp - 0x25c]
mov ecx, dword [ebp - 0x18]
add eax, 0x418
add ebx, eax
adc dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [edi + 0x64a]
jl 0x416e93
test ecx, ecx
je 0x417037
lea ecx, [ebp - 0x44]
call fcn.0040dee6
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
mov eax, ecx
push eax
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x25c]
add eax, 0x418
add eax, ebx
push eax
call fcn.00417064
test eax, eax
je 0x41702d
lea ecx, [edi + 0x12dc]
call fcn.0040ef32
push esi
lea edx, [ebp - 0x258]
mov ecx, eax
call fcn.00402d88
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x670]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x258]
mov ebx, 0x43ad3c
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0040f523
add esp, 0x14
lea ecx, [ebp - 0x24]
call fcn.00412148
push esi
push 0x10000000
push 2
push esi
push 0x40000000
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0040ef32
push eax
lea ecx, [ebp - 0x24]
call fcn.004121f2
test eax, eax
jne 0x416fe8
lea eax, [ebp - 0x258]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0040f523
add esp, 0x10
lea ecx, [ebp - 0x10]
push esi
push 0x10000000
push 2
push esi
push 0x40000000
call fcn.0040ef32
push eax
lea ecx, [ebp - 0x24]
call fcn.004121f2
test eax, eax
je 0x41701d
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x40]
call fcn.0041227b
test eax, eax
je 0x41701d
lea ecx, [ebp - 0x24]
call fcn.0041222a
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
xor ebx, ebx
inc ebx
push eax
mov dword [edi + 0x12f8], ebx
call fcn.0040f1ac
mov esi, ebx
lea ecx, [ebp - 0x24]
call fcn.00412159
lea ecx, [ebp - 0x10]
call fcn.0040eea9
lea ecx, [ebp - 0x44]
call fcn.0040def7
jmp 0x417049
mov ecx, dword [ebp + 8]
lea eax, [edi + 0x222]
push eax
call fcn.0040f1c4
xor esi, esi
inc esi
lea ecx, [ebp - 0x30]
call fcn.0040def7
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x456cc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x31000]
push edi
or ebp, 0xffffffff
jmp 0x456ce2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x456ce9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x456cd8
mov eax, 1
add ebx, ebx
jne 0x456cfb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x456d0c
jne 0x456d2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x456d2b
dec eax
add ebx, ebx
jne 0x456d18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x456cf0
add ebx, ebx
jne 0x456d27
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x456d7d
xor ecx, ecx
sub eax, 3
jb 0x456d43
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x456db2
sar eax, 1
mov ebp, eax
jmp 0x456d4e
add ebx, ebx
jne 0x456d4e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x456d1c
inc ecx
add ebx, ebx
jne 0x456d5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x456d1c
add ebx, ebx
jne 0x456d69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x456d5e
jne 0x456d7a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x456d5e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x456d9c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x456d8e
jmp 0x456cde
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x456d9c
add edi, ecx
jmp 0x456cde
pop esi
mov edi, esi
mov ecx, 0x18
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x456dba
cmp byte [edi], 1
jne 0x456dba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x456dbf
lea edi, [esi + 0x53000]
mov eax, dword [edi]
or eax, eax
je 0x456e37
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x560c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x56104]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x456dec
mov ecx, edi
jns 0x456e1b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x56108]
or eax, eax
je 0x456e31
mov dword [ebx], eax
add ebx, 4
jmp 0x456e09
call dword [esi + 0x56118]
mov ebp, dword [esi + 0x5610c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x456e6b
sub esp, 0xffffff80
jmp 0x4012c0
Function at 0x710c83
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x7109ec
or edx, edx
call fcn.00710cb7
sub eax, 0xb3ada199
add eax, eax
mov eax, 0xbbdaeab8
xor dword [ebx], ecx
add edx, 0x3b7167cc
and eax, eax
inc ebx
mov edx, edx
add eax, 0xbec09c75
cmp ebx, edi
jne fcn.00710c83
dec edx
ret