joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6f7cf064
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x4c
mov eax, dword [ebp + 8]
cdq
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
jmp 0x6f7cf103
jmp 0x6f7cf191
jmp 0x6f7cf21f
jmp 0x6f7cf2ad
jmp 0x6f7cf33b
jmp 0x6f7cf3c9
jmp 0x6f7cf457
jmp 0x6f7cf4e5
jmp 0x6f7cf573
jmp 0x6f7cf601
jmp 0x6f7cf68f
jmp 0x6f7cf71d
jmp 0x6f7cf7ab
jmp 0x6f7cf839
jmp 0x6f7cf8c7
jmp 0x6f7cf955
jmp 0x6f7cf9e3
jmp 0x6f7cfa71
jmp 0x6f7cfaff
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jmp 0x6f7cfb93
jmp 0x6f7cfc21
jmp 0x6f7cfcaf
jmp 0x6f7cfd3d
jmp 0x6f7cfdcb
jmp 0x6f7cfe59
jmp 0x6f7cfee7
jmp 0x6f7cff75
jmp 0x6f7d0003
jmp 0x6f7d0091
jmp 0x6f7d011f
jmp 0x6f7d01ad
jmp 0x6f7d023b
jmp 0x6f7d02c9
jmp 0x6f7d0357
jmp 0x6f7d03e5
jmp 0x6f7d0473
jmp 0x6f7d0501
jmp 0x6f7d058f
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x3c]
mov ecx, eax
mov ebx, eax
sar ebx, 0x1f
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x20], eax
jmp 0x6f7d0637
jmp 0x6f7d06c5
jmp 0x6f7d0753
jmp 0x6f7d07e1
jmp 0x6f7d086f
jmp 0x6f7d08fd
jmp 0x6f7d098b
jmp 0x6f7d0a19
jmp 0x6f7d0aa7
jmp 0x6f7d0b35
jmp 0x6f7d0bc3
jmp 0x6f7d0c51
jmp 0x6f7d0cdf
jmp 0x6f7d0d6d
jmp 0x6f7d0dfb
jmp 0x6f7d0e89
jmp 0x6f7d0f17
jmp 0x6f7d0fa5
jmp 0x6f7d1033
mov eax, dword [ebp - 0x20]
add eax, 0x78
mov dword [ebp - 0x24], eax
jmp 0x6f7d10ca
jmp 0x6f7d1158
jmp 0x6f7d11e6
jmp 0x6f7d1274
jmp 0x6f7d1302
jmp 0x6f7d1390
jmp 0x6f7d141e
jmp 0x6f7d14ac
jmp 0x6f7d153a
jmp 0x6f7d15c8
jmp 0x6f7d1656
jmp 0x6f7d16e4
jmp 0x6f7d1772
jmp 0x6f7d1800
jmp 0x6f7d188e
jmp 0x6f7d191c
jmp 0x6f7d19aa
jmp 0x6f7d1a38
jmp 0x6f7d1ac6
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, eax
mov ebx, 0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x28], eax
jmp 0x6f7d1b6d
jmp 0x6f7d1bfb
jmp 0x6f7d1c89
jmp 0x6f7d1d17
jmp 0x6f7d1da5
jmp 0x6f7d1e33
jmp 0x6f7d1ec1
jmp 0x6f7d1f4f
jmp 0x6f7d1fdd
jmp 0x6f7d206b
jmp 0x6f7d20f9
jmp 0x6f7d2187
jmp 0x6f7d2215
jmp 0x6f7d22a3
jmp 0x6f7d2331
jmp 0x6f7d23bf
jmp 0x6f7d244d
jmp 0x6f7d24db
jmp 0x6f7d2569
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1c]
mov ecx, eax
mov ebx, 0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x2c], eax
jmp 0x6f7d2611
jmp 0x6f7d269f
jmp 0x6f7d272d
jmp 0x6f7d27bb
jmp 0x6f7d2849
jmp 0x6f7d28d7
jmp 0x6f7d2965
jmp 0x6f7d29f3
jmp 0x6f7d2a81
jmp 0x6f7d2b0f
jmp 0x6f7d2b9d
jmp 0x6f7d2c2b
jmp 0x6f7d2cb9
jmp 0x6f7d2d47
jmp 0x6f7d2dd5
jmp 0x6f7d2e63
jmp 0x6f7d2ef1
jmp 0x6f7d2f7f
jmp 0x6f7d300d
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x20]
mov ecx, eax
mov ebx, 0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x30], eax
jmp 0x6f7d30b5
jmp 0x6f7d3143
jmp 0x6f7d31d1
jmp 0x6f7d325f
jmp 0x6f7d32ed
jmp 0x6f7d337b
jmp 0x6f7d3409
jmp 0x6f7d3497
jmp 0x6f7d3525
jmp 0x6f7d35b3
jmp 0x6f7d3641
jmp 0x6f7d36cf
jmp 0x6f7d375d
jmp 0x6f7d37eb
jmp 0x6f7d3879
Function at 0x6f7eda63
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6fee7018]
movzx eax, word [eax + 0x14]
movzx eax, ax
mov edx, dword [0x6fee7018]
add eax, edx
add eax, 0x18
mov dword [ebp - 0xc], eax
jmp 0x6f7edb11
jmp 0x6f7edb9f
jmp 0x6f7edc2d
jmp 0x6f7edcbb
jmp 0x6f7edd49
jmp 0x6f7eddd7
jmp 0x6f7ede65
jmp 0x6f7edef3
jmp 0x6f7edf81
jmp 0x6f7ee00f
jmp 0x6f7ee09d
jmp 0x6f7ee12b
jmp 0x6f7ee1b9
jmp 0x6f7ee247
jmp 0x6f7ee2d5
jmp 0x6f7ee363
jmp 0x6f7ee3f1
jmp 0x6f7ee47f
jmp 0x6f7ee50d
mov dword [ebp - 0x14], 0
jmp 0x6f7ee5a2
jmp 0x6f7ee630
jmp 0x6f7ee6be
jmp 0x6f7ee74c
jmp 0x6f7ee7da
jmp 0x6f7ee868
jmp 0x6f7ee8f6
jmp 0x6f7ee984
jmp 0x6f7eea12
jmp 0x6f7eeaa0
jmp 0x6f7eeb2e
jmp 0x6f7eebbc
jmp 0x6f7eec4a
jmp 0x6f7eecd8
jmp 0x6f7eed66
jmp 0x6f7eedf4
jmp 0x6f7eee82
jmp 0x6f7eef10
jmp 0x6f7eef9e
mov dword [ebp - 0x18], 0
Function at 0x41adc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ax, word [0x456474]
add ax, 1
mov word [0x456474], ax
mov ecx, dword [0x456424]
sub ecx, 1
mov dword [0x456424], ecx
movsx edx, word [0x456474]
mov eax, dword [0x456424]
lea ecx, [edx + eax + 0x33fad440]
mov dword [ebp - 0x10], ecx
fild dword [ebp - 0x10]
mov edx, dword [0x456048]
mov dword [ebp - 0x14], edx
fild dword [ebp - 0x14]
fadd dword [0x456194]
fsub qword [0x450920]
fld dword [0x456194]
fsub qword [0x450050]
fstp dword [0x456194]
fcompi st(1)
fstp st(0)
jbe 0x41ae61
mov eax, dword [0x456304]
add eax, 1
mov dword [0x456304], eax
mov ecx, dword [0x456428]
mov edx, dword [0x456304]
sub ecx, edx
add ecx, 0x6f86c193
mov dword [ebp - 0x18], ecx
fild dword [ebp - 0x18]
fadd qword [0x456178]
fstp qword [0x456178]
cmp dword [0x45831c], 0
jne 0x41ae74
call fcn.00420fb0
mov dword [0x45831c], eax
push 3
push 0x3b20
call fcn.0040ad50
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042559e
add esp, 8
mov dword [ebp - 4], eax
movsx edx, word [0x4560c0]
sub edx, 0x7ca8d6d1
cmp edx, 0x2111091
jle 0x41aed8
fld dword [0x456384]
fadd qword [0x450050]
fstp dword [0x456384]
fld dword [0x456384]
fadd qword [0x450918]
fadd dword [0x45637c]
fstp dword [0x45637c]
mov eax, dword [ebp - 8]
push eax
push 3
call fcn.0040a780
add esp, 8
cmp dword [ebp - 4], 0
jne 0x41af3c
fld dword [0x456490]
fsub qword [0x450910]
fstp dword [0x456490]
push 0x3e8
call dword [0x457c20]
push 3
push 0x3b20
call fcn.0040ad50
add esp, 8
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042559e
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
push eax
push 3
call fcn.0040a780
add esp, 8
fld dword [0x456284]
fmul qword [0x456480]
fstp qword [0x456480]
cmp dword [ebp - 4], 0
je 0x41b01e
movsx ecx, word [0x456280]
mov dword [ebp - 0x1c], ecx
fild dword [ebp - 0x1c]
fld dword [0x4561ec]
fsubr dword [0x456180]
fld dword [0x4561ec]
fadd qword [0x450050]
fstp dword [0x4561ec]
fld dword [0x456180]
fsub qword [0x450050]
fstp dword [0x456180]
fucompi st(1)
fstp st(0)
lahf
test ah, 0x44
jp 0x41afcb
movsx edx, word [0x456494]
add edx, 0x5c6d8c0e
mov eax, dword [0x456504]
imul eax, edx
mov dword [0x456504], eax
mov cx, word [0x456494]
sub cx, 1
mov word [0x456494], cx
mov edx, dword [ebp - 4]
push edx
push 1
push 4
push 0x45831c
call fcn.00425468
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
call fcn.0042529d
add esp, 4
mov ecx, dword [0x456154]
add ecx, 0x729d9293
cmp ecx, 0x4711ff25
jl 0x41b01e
fld dword [0x456194]
fadd qword [0x450908]
fadd qword [0x450900]
fmul qword [0x456098]
fstp qword [0x456098]
mov esp, ebp
pop ebp
ret
Function at 0x420860
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, 0xffffa57b
mov word [0x456150], ax
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [0x456504]
sub edx, 0x6210d1bd
movsx eax, word [0x4562cc]
movsx ecx, word [0x45631c]
sub eax, ecx
cmp edx, eax
jge 0x4208b3
mov edx, dword [0x456400]
mov dword [ebp - 0x10], edx
fild dword [ebp - 0x10]
fsub dword [0x456058]
call fcn.004249a0
mov dword [0x456400], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
jmp 0x4208d0
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0xc]
je 0x420991
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
xor ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx], ecx
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp - 8]
shl ecx, 0x1f
or eax, ecx
mov dword [ebp - 8], eax
fld dword [0x456584]
fsub qword [0x450050]
fstp dword [0x456584]
fld dword [0x456584]
movsx edx, word [0x45658c]
movsx eax, word [0x4564e0]
add eax, edx
mov dword [ebp - 0x14], eax
fisubr dword [ebp - 0x14]
mov ecx, dword [0x456520]
mov dword [ebp - 0x18], ecx
fild dword [ebp - 0x18]
fmulp st(1)
call fcn.004249a0
mov dword [0x456520], eax
movzx edx, byte [ebp - 8]
movzx eax, byte [ebp - 7]
add eax, edx
mov byte [ebp - 7], al
movsx ecx, word [0x456514]
mov dx, word [0x456514]
sub dx, 1
mov word [0x456514], dx
cmp ecx, 0x2face07e
jl 0x42097f
fld qword [0x456288]
fsub qword [0x451678]
fstp qword [0x456288]
movzx eax, byte [ebp - 7]
movzx ecx, byte [ebp - 8]
add ecx, eax
mov byte [ebp - 8], cl
jmp 0x4208c7
movsx edx, word [0x4563e0]
add edx, 0x7e76a762
mov ax, word [0x4563e0]
sub ax, 1
mov word [0x4563e0], ax
cmp edx, 0x3b0fd92c
jg 0x4209ca
fld dword [0x456510]
fadd qword [0x451670]
fstp dword [0x456510]
jmp 0x4209f4
mov ecx, dword [0x4563b8]
add ecx, 0x4beb91e5
xorps xmm0, xmm0
cvtsi2sd xmm0, ecx
movsd qword [0x4561d8], xmm0
mov edx, dword [0x4563b8]
sub edx, 1
mov dword [0x4563b8], edx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x422920
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
movsx eax, word [0x456040]
sub eax, 0x22022393
mov word [0x456040], ax
mov ecx, dword [ebp - 4]
mov dword [ecx], 0
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
movsx eax, word [0x4565ac]
add eax, 0x5140a36e
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fmul dword [0x456240]
fstp dword [0x456240]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0x67452301
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0x98badcfe
fld qword [0x456008]
fsub qword [0x450808]
fstp qword [0x456008]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x42ec59
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x456bc0]
jne 0x42ec63
repz ret
jmp fcn.00439ca0
Function at 0x436026
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x456bc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0042858f
and dword [ebp - 0x14], 0
cmp dword [0x458de0], 0
mov dword [ebp - 0x18], eax
jne 0x4360d9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x436181
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x436181
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x458de0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x458de4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x458de8], eax
call edi
push eax
call esi
mov dword [0x458df0], eax
test eax, eax
je 0x4360d9
push 0x4529f4
push ebx
call edi
push eax
call esi
mov dword [0x458dec], eax
mov eax, dword [0x458dec]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x436132
cmp dword [0x458df0], ecx
je 0x436132
push eax
call esi
push dword [0x458df0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x436132
test ebx, ebx
je 0x436132
call edi
test eax, eax
je 0x436129
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x436129
test byte [ebp - 8], 1
jne 0x436132
or dword [ebp + 0x10], 0x200000
jmp 0x436165
mov eax, dword [0x458de4]
cmp eax, dword [ebp - 0x18]
je 0x436165
push eax
call esi
test eax, eax
je 0x436165
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x436165
mov eax, dword [0x458de8]
cmp eax, dword [ebp - 0x18]
je 0x436165
push eax
call esi
test eax, eax
je 0x436165
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x458de0]
call esi
test eax, eax
je 0x436181
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x436183
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042ec59
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x2954b1
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x2ffe14
call fcn.002b2636
mov edi, ecx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.002955e5
xor ecx, ecx
mov ebx, dword [eax]
mov dword [eax], ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ecx
cmp dword [ebp - 0x18], ecx
je 0x2954e9
push 4
push dword [ebp - 0x18]
call fcn.002b2222
pop ecx
pop ecx
xor ecx, ecx
lea esi, [edi + 4]
push esi
push ecx
push ebx
push 0x294a1b
push ecx
push ecx
call fcn.002c0a49
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x29550c
call fcn.002b25e5
ret 4
and dword [esi], 0
push 6
call fcn.00295987
int3

Function at 0x2b2c33
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x3030d4]
test eax, eax
je 0x2b2c72
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x2b2c72
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x2b2c72
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x2b2c72
cmp dword [ecx + 0x74], 0xe
jbe 0x2b2c72
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x2ebfef
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.002ebbe7

Function at 0x2ff9c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x2ff9ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x2ff9ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..reloc
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x39b72c65
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..rdata
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0xa1c10cc
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4017a6
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x40e4f0
call fcn.0040e1b0
sub esp, 0x18
push ebx
push esi
push edi
lea ecx, [ebp - 0x14]
call fcn.0040d07e
mov esi, 0x415128
xor ebx, ebx
push esi
push 0x4150fc
mov dword [ebp - 4], ebx
call fcn.0040d164
test al, al
mov edi, str.GENERAL
je 0x401845
push 0x4150fc
lea ecx, [ebp - 0x14]
call fcn.0040cbc5
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00407b5f
pop ecx
pop ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
push 0xffffffffffffffff
mov ecx, 0x415104
mov byte [ebp - 4], 3
call fcn.0040d0c0
push eax
push 1
push ebx
push ebx
lea ecx, [ebp - 0x18]
call fcn.0040d0c0
push eax
lea ecx, [ebp - 0x14]
call fcn.0040d0c0
push eax
call fcn.0040c035
add esp, 0x34
test eax, eax
jne 0x4018ab
lea ecx, [ebp - 0x18]
call fcn.0040d0c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
jmp 0x40190f
push esi
push str.VERSION_FILE_URL
lea eax, [ebp - 0x1c]
push edi
push eax
mov ecx, 0x4150c8
call fcn.00409248
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0040cbc5
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0040ca77
push 0x41512c
lea ecx, [ebp - 0x1c]
call fcn.0040cb44
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040d118
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0xd], al
mov byte [ebp - 4], bl
call fcn.0040ca77
cmp byte [ebp - 0xd], bl
je 0x4017e9
xor esi, esi
jmp 0x40191a
mov esi, 0x415100
mov ecx, esi
call fcn.0040d0c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.0040d0c0
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, esi
call fcn.0040d0c0
push eax
lea ecx, [ebp - 0x18]
call fcn.0040d0c0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.MSVCRT.dll_time]
mov ecx, esp
mov dword [ebp - 0x24], esp
push esi
call fcn.0040c8b9
push dword [ebp - 0x20]
push str.LASTUPDATETIME
push edi
call fcn.00408177
add esp, 0x10
push 1
pop esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0040ca77
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040ca77
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4073ac
Capabilities:
Create process on windows
Delete file

Disassembly:
mov eax, 0x40ebe4
call fcn.0040e1b0
sub esp, 0x7c
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x20]
mov ecx, edi
call fcn.0040d0c0
test eax, eax
je 0x4073e2
push dword [edi]
push 0x24
call fcn.00407741
pop ecx
push eax
push esi
call fcn.0040714f
add esp, 0xc
jmp 0x4073f3
push 0x25
call fcn.00407741
pop ecx
push eax
push esi
call fcn.0040714f
pop ecx
pop ecx
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x84]
rep stosd dword es:[edi], eax
lea eax, [esi + 0x38]
push 0x4148d4
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x88], 0x44
push eax
call fcn.0040cd4d
lea ecx, [esi + 0x2c]
xor ebx, ebx
push ecx
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
push eax
call fcn.0040ccdf
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
push ecx
lea ecx, [ebp - 0x88]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, eax
call fcn.0040d0c0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea ecx, [ebp - 0x10]
mov edi, eax
mov byte [ebp - 4], bl
call fcn.0040ca77
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040ca77
cmp edi, ebx
je 0x4074e1
push 0x64
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4074ba
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
push 1
push 0xf
push 0xf
lea eax, [ebp - 0x44]
push ebx
push eax
call edi
test eax, eax
je 0x4074a8
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x40748b
push 0x64
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x40748b
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x18]
call fcn.0040d0c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x407529
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
call fcn.00407741
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0040caf0
push 2
pop edi
push 0x26
mov dword [ebp - 4], edi
call fcn.00407741
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040caf0
push dword [esi + 4]
or dword [ebp - 4], 0xffffffff
call fcn.00409698
add esp, 0x20
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x407857
xor eax, eax
ret
movzx eax, al
shr eax, 4
and eax, 1
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x407873
xor eax, eax
ret
not al
movzx eax, al
shr eax, 4
and eax, 1
ret
Function at 0x407b5f
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
mov dword [ebp - 4], edi
je 0x407bcd
push dword [ebp + 0xc]
call fcn.00407845
test eax, eax
pop ecx
je 0x407bcd
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0xc
cmp word [ebp + eax*2 - 0x20e], 0x5c
je 0x407c3c
lea eax, [ebp - 0x20c]
push 0x41449c
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
pop ecx
pop ecx
jmp 0x407c3c
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x407c3c
lea eax, [ebp - 0x20c]
push str.c:windows_temp_
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call fcn.00407845
test eax, eax
pop ecx
jne 0x407c3c
push str.c:_temp
call dword [sym.imp.MSVCRT.dll__wmkdir]
lea eax, [ebp - 0x20c]
mov dword [esp], str.c:_temp_
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call fcn.00407845
test eax, eax
pop ecx
jne 0x407c3c
lea eax, [ebp - 0x20c]
push 0x414940
push eax
call esi
mov dword [ebp + 0xc], edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0xfffff
div ecx
lea eax, [ebp - 0x20c]
push edx
push edi
push eax
lea eax, [ebp - 0x414]
push str._st_02d_05x.tmp
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x414]
push eax
call fcn.00407861
add esp, 0x18
test eax, eax
jne 0x407ca2
push eax
push eax
push 2
push eax
push eax
lea eax, [ebp - 0x414]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x407d28
inc ebx
inc edi
cmp ebx, 0xa
jl 0x407c44
add dword [ebp + 0xc], 0xa
cmp dword [ebp + 0xc], 0x64
jl 0x407c3f
lea eax, [ebp - 0x20c]
push str.c:_temp_
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCRT.dll__wmkdir]
lea eax, [ebp - 0x20c]
push eax
call fcn.00407845
pop ecx
test eax, eax
pop ecx
jne 0x407cee
lea eax, [ebp - 0x20c]
push 0x414940
push eax
call esi
call dword [sym.imp.MSVCRT.dll_rand]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push str._st_06x.tmp
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x414]
push eax
call fcn.0040caf0
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x407d11