joyce8/EMBER2024-capa huggingface dataset:
Function at 0x563460
Capabilities:
Connect to http server
Parse url
Send data
Send http request

Disassembly:
sub esp, 0x8c
mov eax, dword [0x5eabd8]
xor eax, esp
mov dword [esp + 0x88], eax
cmp dword [esp + 0x98], 0xffffffff
mov eax, dword [esp + 0x94]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x9c]
push edi
mov edi, 1
mov ebp, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
jne 0x5634b2
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5634a2
sub eax, edx
mov dword [esp + 0xa8], eax
xor ecx, ecx
xor eax, eax
mov word [esp + 0x44], ax
mov eax, esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x2c], 0x3c
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5634f8
lea edx, [esp + 0x2c]
push edx
push ecx
sub eax, edi
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov eax, dword [esp + 0x3c]
push eax
call fcn.004b4649
mov ecx, dword [esp + 0x44]
mov ebx, eax
mov byte [ebx + ecx], 0
mov edx, dword [esp + 0x5c]
push edx
call fcn.004b4649
mov ecx, dword [esp + 0x64]
add esp, 8
mov byte [eax + ecx], 0
xor edx, edx
cmp word [esp + 0x44], 0x50
push 0
setne dl
push 0x4000000
push 3
push 0x5aba3c
mov ecx, 0xc
mov esi, str.Content_Type:_application_x_www_form_urlencoded
lea edi, [esp + 0x78]
dec edx
and edx, 0xff7fd000
push 0x5aba3c
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x58]
add edx, 0x4803000
push ecx
mov dword [esp + 0x30], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x38], eax
push ebx
lea eax, [esp + 0x38]
push edx
mov dword [esp + 0x3c], 0x2a2f2a
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
push 0
push ecx
lea edx, [esp + 0x2c]
push edx
push 0
push 0
push edi
push str.POST
push eax
mov dword [ebp + 0xc], eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
lea ecx, [esp + 0x68]
mov dword [ebp + 0x10], esi
lea ebp, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5635d3
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0x10]
push eax
push edx
sub ecx, ebp
push ecx
lea eax, [esp + 0x74]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x5635fe
xor esi, esi
jmp 0x563602
mov esi, dword [esp + 0x14]
push ebx
call fcn.004af80b
push edi
call fcn.004af80b
mov ecx, dword [esp + 0xa0]
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004adaab
add esp, 0x8c
ret 0xc
Function at 0x4255b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5297f8
mov eax, dword fs:[0]
push eax
mov eax, 0x1064
call fcn.004e2ae0
mov eax, dword [0x588088]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push str.0.0.0.0
call fcn.00402d60
add esp, 4
mov ecx, esi
push eax
push str.0.0.0.0
call fcn.00402b50
push 0x5576cc
lea ecx, [ebp - 0x1028]
call fcn.00402a70
mov dword [ebp - 4], 0
lea edx, [ebp - 0x1028]
mov ecx, 0x1a
call fcn.0048a560
test al, al
je 0x425825
push str.SoftMgr_2345
lea ecx, [ebp - 0x1058]
call fcn.00402a70
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1058]
push eax
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1070]
push eax
call fcn.0048a2f0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1028]
push eax
call fcn.004044e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1070]
call fcn.00402a60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1058]
call fcn.00402a60
push str.Application
lea ecx, [ebp - 0x1058]
call fcn.00402a70
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1058]
push eax
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1070]
push eax
call fcn.0048a2f0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1028]
push eax
call fcn.004044e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1070]
call fcn.00402a60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1058]
call fcn.00402a60
lea eax, [ebp - 0x1028]
push eax
call fcn.00488e60
add esp, 4
test al, al
je 0x425825
push str.config.ini
lea ecx, [ebp - 0x1058]
call fcn.00402a70
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1058]
push eax
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1040]
push eax
call fcn.0048a2f0
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1058]
call fcn.00402a60
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.004e42f0
add esp, 0xc
lea ecx, [ebp - 0x1040]
call fcn.00403390
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x5576cc
push 0x55a3c8
push str.Install
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x425813
xor eax, eax
cmp word [ebp - 0x1010], ax
je 0x425813
nop dword [eax]
inc eax
cmp word [ebp + eax*2 - 0x1010], 0
jne 0x4257a0
test eax, eax
je 0x425813
lea eax, [ebp - 0x1010]
push eax
call fcn.00402d60
add esp, 4
mov ecx, esi
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.00402b50
push esi
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1070]
push eax
call fcn.0048a2f0
add esp, 0xc
mov byte [ebp - 4], 8
mov ecx, edi
push eax
call fcn.004044e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1070]
call fcn.00402a60
mov bl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1040]
call fcn.00402a60
jmp 0x425827
xor bl, bl
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1040]
call fcn.00402a60
jmp 0x425827
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.00402a60
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e1a24
mov esp, ebp
pop ebp
ret 8
Function at 0x45f570
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5325cb
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x588088]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x264], ecx
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.0040a250
mov dword [ebp - 0x260], eax
mov edi, dword [eax]
call fcn.00402ae0
mov dword [ebp - 0x25c], eax
mov esi, dword [eax]
cmp esi, edi
je 0x45f5de
push ecx
mov ecx, esi
call fcn.0040bff0
add esi, 0x18
cmp esi, edi
jne 0x45f5c7
mov esi, dword [ebp - 0x25c]
mov esi, dword [esi]
mov eax, dword [ebp - 0x260]
mov edi, dword [ebp - 0x264]
mov dword [eax], esi
mov eax, dword [edi]
test eax, eax
je 0x45f783
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegOpenKeyExW
push eax
call esi
push str.RegEnumKeyExW
push dword [edi]
mov dword [ebp - 0x260], eax
call esi
mov ecx, dword [ebp - 0x264]
mov edi, eax
push 0x55b0b4
push dword [ecx]
call esi
mov ecx, dword [ebp - 0x260]
mov dword [ebp - 0x25c], eax
test ecx, ecx
je 0x45f783
test edi, edi
je 0x45f783
test eax, eax
je 0x45f783
xor eax, eax
mov dword [ebp - 0x48], 0x6f0053
mov word [ebp - 0x14], ax
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x258]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], 0x740066
push eax
push 0x80000002
mov dword [ebp - 0x40], 0x610077
mov dword [ebp - 0x3c], 0x650072
mov dword [ebp - 0x38], 0x4d005c
mov dword [ebp - 0x34], 0x630069
mov dword [ebp - 0x30], 0x6f0072
mov dword [ebp - 0x2c], 0x6f0073
mov dword [ebp - 0x28], 0x740066
mov dword [ebp - 0x24], 0x43005c
mov dword [ebp - 0x20], 0x460054
mov dword [ebp - 0x1c], 0x54005c
mov dword [ebp - 0x18], 0x500049
call ecx
test eax, eax
jne 0x45f783
push 0x208
xor esi, esi
lea eax, [ebp - 0x250]
push esi
push eax
call fcn.004e42f0
add esp, 0xc
mov dword [ebp - 0x254], 0x104
lea eax, [ebp - 0x254]
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x250]
push eax
push esi
push dword [ebp - 0x258]
call edi
test eax, eax
jne 0x45f777
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x27c]
call fcn.00402a70
mov dword [ebp - 4], 0
lea eax, [ebp - 0x27c]
push eax
mov ecx, ebx
call fcn.004128d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.00402a60
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x104
push eax
lea eax, [ebp - 0x250]
inc esi
push eax
push esi
push dword [ebp - 0x258]
call edi
test eax, eax
je 0x45f710
push dword [ebp - 0x258]
call dword [ebp - 0x25c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e1a24
mov esp, ebp
pop ebp
ret 4
Function at 0x45fed0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532718
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x588088]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x64], eax
mov eax, dword [eax]
xor edi, edi
test eax, eax
je 0x460040
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegOpenKeyExW
push eax
call esi
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x64]
push str.RegQueryValueExW
push dword [eax]
call esi
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
push 0x55b0b4
push dword [eax]
call esi
mov esi, eax
cmp dword [ebp - 0x58], edi
je 0x460040
cmp dword [ebp - 0x68], edi
je 0x460040
test esi, esi
je 0x460040
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x40], 0x65004b
mov dword [ebp - 0x3c], 0x620079
mov dword [ebp - 0x38], 0x61006f
mov dword [ebp - 0x34], 0x640072
mov dword [ebp - 0x30], 0x4c0020
mov dword [ebp - 0x2c], 0x790061
mov dword [ebp - 0x28], 0x75006f
mov dword [ebp - 0x24], 0x5c0074
mov dword [ebp - 0x20], 0x720050
mov dword [ebp - 0x1c], 0x6c0065
mov dword [ebp - 0x18], 0x61006f
mov dword [ebp - 0x14], 0x64
mov dword [ebp - 0x60], edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x5c]
push eax
push 0x20019
push edi
lea eax, [ebp - 0x40]
mov dword [ebp - 0x5c], edi
push eax
push 0x20019
lea ecx, [ebp - 0x60]
call fcn.004a2370
push eax
call dword [ebp - 0x58]
test eax, eax
jne 0x460016
mov dword [ebp - 0x44], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0x14
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push edi
push 0x556618
push dword [ebp - 0x5c]
movups xmmword [ebp - 0x54], xmm0
call dword [ebp - 0x68]
test eax, eax
jne 0x460011
push 0x10
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004f15f9
add esp, 0xc
mov edi, eax
push dword [ebp - 0x5c]
call esi
lea ecx, [ebp - 0x60]
call fcn.004a2510
test edi, edi
je 0x46002d
mov ecx, dword [ebp - 0x64]
push edi
call fcn.00460060
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.004a2510
mov eax, edi
jmp 0x460042
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e1a24
mov esp, ebp
pop ebp
ret
Function at 0x460060
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532750
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x588088]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x80], eax
mov eax, dword [eax]
mov edi, dword [ebp + 8]
test eax, eax
je 0x460214
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegOpenKeyExW
push eax
call esi
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x80]
push str.RegQueryValueExW
push dword [eax]
call esi
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x80]
push 0x55b0b4
push dword [eax]
call esi
cmp dword [ebp - 0x60], 0
mov esi, eax
je 0x460214
cmp dword [ebp - 0x84], 0
je 0x460214
test esi, esi
je 0x460214
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x48], 0x65004b
mov dword [ebp - 0x44], 0x620079
mov dword [ebp - 0x40], 0x61006f
mov dword [ebp - 0x3c], 0x640072
mov dword [ebp - 0x38], 0x4c0020
mov dword [ebp - 0x34], 0x790061
mov dword [ebp - 0x30], 0x75006f
mov dword [ebp - 0x2c], 0x5c0074
mov dword [ebp - 0x28], 0x750053
mov dword [ebp - 0x24], 0x730062
mov dword [ebp - 0x20], 0x690074
mov dword [ebp - 0x1c], 0x750074
mov dword [ebp - 0x18], 0x650074
mov dword [ebp - 0x14], 0x73
mov dword [ebp - 0x80], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x7c], 0
push eax
push 0x20019
lea ecx, [ebp - 0x80]
call fcn.004a2370
push eax
call dword [ebp - 0x60]
test eax, eax
je 0x460205
lea ecx, [ebp - 0x78]
call fcn.00402ac0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x78]
push edi
push str._08x
push eax
call fcn.0048b8e0
add esp, 0xc
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0x14
xorps xmm0, xmm0
lea ecx, [ebp - 0x78]
movups xmmword [ebp - 0x5c], xmm0
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
call fcn.00403390
push eax
push dword [ebp - 0x7c]
call dword [ebp - 0x84]
test eax, eax
jne 0x4601f4
push 0x10
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004f15f9
add esp, 0xc
mov edi, eax
push dword [ebp - 0x7c]
call esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.00402a60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.004a2510
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e1a24
mov esp, ebp
pop ebp
ret 4

Function at 0x460240
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x588088]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call fcn.004e42f0
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x46029c
cmp dword [esp + 4], 6
jb 0x46029c
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004e1a24
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.004e1a24
add esp, 0x118
ret
Function at 0x48a560
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x57b030
push 0x4e4500
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x588088]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x438], edi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.00412a10
mov ecx, edi
call fcn.0048a680
mov bl, al
mov byte [ebp - 0x431], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x48a5f3
test bl, bl
jne 0x48a662
cmp edi, 0x1a
jne 0x48a662
mov ecx, esi
call fcn.00412a10
push 0x410
push 0
lea eax, [ebp - 0x430]
push eax
call fcn.004e42f0
add esp, 0xc
push 0x207
lea eax, [ebp - 0x430]
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x430]
push eax
call fcn.00402d60
add esp, 4
push eax
lea eax, [ebp - 0x430]
push eax
mov ecx, esi
call fcn.00402b50
mov ecx, esi
call fcn.00404470
movzx ebx, bl
mov ecx, 1
test al, al
cmove ebx, ecx
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004e1a24
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x57b0f8
push 0x4e4500
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x588088]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x444], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x440], eax
xor bl, bl
mov byte [ebp - 0x439], bl
push 0x412
push 0
lea eax, [ebp - 0x438]
push eax
call fcn.004e42f0
add esp, 0xc
lea eax, [ebp - 0x438]
push eax
mov ecx, edi
call fcn.0048aa20
cmp byte [edi + 0x30], bl
je 0x48acdc
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x48ad04
test al, 0x10
jne 0x48ad04
call fcn.0048ea10
push ecx
lea ecx, [ebp - 0x438]
push ecx
mov ecx, eax
call fcn.0048eb10
test al, al
je 0x48ad04
mov dword [edi + 0x34], 0
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 4], 0
test esi, esi
jne 0x48ad08
mov dword [ebp - 4], 0xfffffffe
xor al, al
jmp 0x48ad74
push str.ExtractArchive
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48ad3f
mov dword [edi + 0x34], esi
push edi
push 0x48a920
push 0
push dword [ebp - 0x440]
push dword [ebp - 0x444]
call eax
add esp, 0x14
test eax, eax
sete bl
mov byte [ebp - 0x439], bl
mov dword [edi + 0x34], 0
mov dword [ebp - 4], 0xfffffffe
jmp 0x48ad67
test esi, esi
je 0x48ad72
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004e1a24
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48ada0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x57b118
push 0x4e4500
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x588088]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x444], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x440], eax
xor bl, bl
mov byte [ebp - 0x439], bl
push 0x412
push 0
lea eax, [ebp - 0x438]
push eax
call fcn.004e42f0
add esp, 0xc
lea eax, [ebp - 0x438]
push eax
mov ecx, edi
call fcn.0048aa20
cmp byte [edi + 0x30], bl
je 0x48ae4c
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x48ae74
test al, 0x10
jne 0x48ae74
call fcn.0048ea10
push ecx
lea ecx, [ebp - 0x438]
push ecx
mov ecx, eax
call fcn.0048eb10
test al, al
je 0x48ae74
mov dword [edi + 0x34], 0
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 4], 0
test esi, esi
jne 0x48ae78
mov dword [ebp - 4], 0xfffffffe
xor al, al
jmp 0x48aee7
push str.ExtractArchive2
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48aeb2
mov dword [edi + 0x34], esi
push dword [edi + 0x38]
push edi
push 0x48a920
push 0
push dword [ebp - 0x440]
push dword [ebp - 0x444]
call eax
add esp, 0x18
test eax, eax
sete bl
mov byte [ebp - 0x439], bl
mov dword [edi + 0x34], 0
mov dword [ebp - 4], 0xfffffffe
jmp 0x48aeda
test esi, esi
je 0x48aee5
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004e1a24
mov esp, ebp
pop ebp
ret 0xc

Function at 0x48d050
Capabilities:
Get common file path

Disassembly:
sub esp, 0x418
mov eax, dword [0x588088]
xor eax, esp
mov dword [esp + 0x414], eax
push esi
mov esi, ecx
call fcn.00412a10
push 0x412
lea eax, [esp + 8]
push 0
push eax
call fcn.004e42f0
add esp, 0xc
lea eax, [esp + 4]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x48d0ac
xor al, al
pop esi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.004e1a24
add esp, 0x418
ret
cmp eax, 0x208
jae 0x48d094
xor eax, eax
mov word [esp + 0x414], ax
lea eax, [esp + 4]
push eax
call fcn.00402d60
add esp, 4
mov ecx, esi
push eax
lea eax, [esp + 8]
push eax
call fcn.00402b50
mov ecx, dword [esp + 0x418]
mov al, 1
pop esi
xor ecx, esp
call fcn.004e1a24
add esp, 0x418
ret
Function at 0x493ae0
Capabilities:
Check os version
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x140
mov eax, dword [0x588088]
xor eax, esp
mov dword [esp + 0x13c], eax
push esi
mov esi, ecx
push 0x118
push 0
lea eax, [esi + 4]
push eax
call fcn.004e42f0
add esp, 0xc
mov dword [esi], 0x11c
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x493c22
cmp dword [esi + 4], 6
push edi
ja 0x493b36
jne 0x493bbe
cmp dword [esi + 8], 2
jb 0x493bbe
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x493bbe
push 0x10
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x493bbe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x493bbe
movups xmm0, xmmword [0x55ecb4]
push eax
movups xmmword [esp + 0x128], xmm0
movups xmm0, xmmword [0x55ecc4]
movups xmmword [esp + 0x138], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x493bbe
lea eax, [esp + 0x124]
push eax
lea ecx, [edi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x493bbe
cmp word [edi + 2], ax
jbe 0x493bbe
movzx edx, word [edi + 0x32]
movzx ecx, word [edi + 0x30]
movzx eax, word [edi + 0x36]
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x493c09
push 0x118
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004e42f0
add esp, 0xc
mov dword [esp + 8], 0x11c
lea eax, [esp + 8]
push eax
call edi
test eax, eax
jne 0x493c09
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], eax
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.004e1a24
add esp, 0x140
ret
mov ecx, dword [esp + 0x140]
xor al, al
pop esi
xor ecx, esp
call fcn.004e1a24
add esp, 0x140
ret
Function at 0x4ff7d4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, dword [edx]
mov eax, dword [edx + 4]
test esi, esi
jle 0x4ff837
mov ecx, dword [ebp + 0x10]
sub dword [ebp + 0xc], ecx
mov dword [ebp - 4], esi
mov esi, dword [ebp + 0xc]
push edi
inc bl
movzx ebx, bl
mov cl, byte [edx + ebx + 8]
add al, cl
movzx eax, al
mov dword [ebp + 8], eax
mov edi, dword [ebp + 8]
mov al, byte [edx + eax + 8]
mov byte [edx + ebx + 8], al
add al, cl
movzx eax, al
mov byte [edx + edi + 8], cl
mov cl, byte [eax + edx + 8]
mov eax, dword [ebp + 0x10]
xor cl, byte [esi + eax]
mov byte [eax], cl
inc eax
sub dword [ebp - 4], 1
mov dword [ebp + 0x10], eax
mov eax, edi
jne 0x4ff7f6
mov esi, dword [ebp + 0x14]
pop edi
mov dword [edx + 4], eax
mov eax, esi
pop esi
mov dword [edx], ebx
pop ebx
leave
ret

Function at 0x503988
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push ebx
push edi
mov ebx, 0x5b28ac
mov eax, dword [eax + 0xc]
push ebx
mov edi, dword [eax + 0x18]
push dword [edi + 0x28]
call fcn.0050fa20
pop ecx
pop ecx
test eax, eax
jne 0x5039af
mov eax, dword [edi + 0x10]
jmp 0x5039ce
push esi
mov esi, dword [edi + 4]
jmp 0x5039c7
push ebx
push dword [esi + 0x28]
call fcn.0050fa20
pop ecx
pop ecx
test eax, eax
je 0x5039d1
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x5039b5
xor eax, eax
pop esi
pop edi
pop ebx
ret
mov eax, dword [esi + 0x10]
jmp 0x5039cd