joyce8/EMBER2024-capa huggingface dataset:
Function at 0x79b250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7af808
push 0x79f288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x79b329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x79b329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0079e1d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x79b329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x79b329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x79b32c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.0079b351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x79bd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x79bd58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x79bd60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x79bd94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x79bd94
push eax
push esi
call fcn.0079e20b
add esp, 8
pop esi
ret 0x10

Function at 0x79bda0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x79be22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x79be15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x7b4320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0079ddff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x79bdda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x79be30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x79bec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x79beb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x7b4320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0079ddff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x79beab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x79be6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x79c000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x79c131
push esi
call fcn.0079f145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.0078e080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x79c131
push 0
push ebp
call fcn.0078e3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.0078e260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x79c08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.0078e2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x79c121
push 0x7b4918
push edi
call fcn.0079d3f0
push eax
push ebx
push esi
call fcn.0079bf60
push 0x7b48f8
push edi
call fcn.0079d3f0
push eax
push ebx
push esi
call fcn.0079bf60
push 0x7b48d8
push edi
call fcn.0079d3f0
push eax
push ebx
push esi
call fcn.0079bf60
push 0x7b48c0
push edi
call fcn.0079d3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.0079bf60
push 0x7b48a0
push edi
call fcn.0079d3f0
push eax
push ebx
push esi
call fcn.0079bf60
push 0x7b4888
push edi
call fcn.0079d3f0
push eax
push ebx
push esi
call fcn.0079bf60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x79d1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0079d140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0079d140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0079d140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0079d140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x79dbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x79dc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x7af87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x79dc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x79dc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x40b663
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
lea ecx, [eax - 1]
push esi
mov ebx, ecx
push edi
mov edi, dword [esp + 0x1c]
mov esi, edi
sar ebx, 1
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ecx
cmp edi, ebx
jge 0x40b6bf
add esi, esi
lea eax, [esi + 2]
imul ecx, eax, 0x30
add ecx, ebp
lea eax, [ecx - 0x30]
push eax
call fcn.0040a075
movzx eax, al
xor eax, 1
imul ecx, edi, 0x30
inc eax
add esi, eax
imul eax, esi, 0x30
add ecx, ebp
add eax, ebp
push eax
call fcn.0040c3ec
mov edi, esi
cmp esi, ebx
jl 0x40b689
mov eax, dword [esp + 0x20]
cmp esi, ebx
jne 0x40b6de
test al, 1
jne 0x40b6de
imul eax, eax, 0x30
imul ecx, edi, 0x30
add eax, 0xffffffd0
add eax, ebp
add ecx, ebp
push eax
call fcn.0040c3ec
mov edi, dword [esp + 0x1c]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x18]
push edi
push ebp
call fcn.0040b784
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x411288
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
lea ecx, [eax - 1]
push esi
mov ebx, ecx
push edi
mov edi, dword [esp + 0x1c]
mov esi, edi
sar ebx, 1
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ecx
cmp edi, ebx
jge 0x4112bf
add esi, esi
lea eax, [esi + 2]
imul ecx, eax, 0x30
add ecx, ebp
lea eax, [ecx - 0x30]
push eax
call fcn.0040fc75
movzx eax, al
xor eax, 1
imul ecx, edi, 0x30
inc eax
add esi, eax
imul eax, esi, 0x30
add ecx, ebp
add eax, ebp
push eax
call fcn.00411fec
mov edi, esi
cmp esi, ebx
jl 0x411289
mov eax, dword [esp + 0x20]
cmp esi, ebx
jne 0x4112de
test al, 1
jne 0x4112de
imul eax, eax, 0x30
imul ecx, edi, 0x30
add eax, 0xffffffd0
add eax, ebp
add ecx, ebp
push eax
call fcn.00411fec
mov edi, dword [esp + 0x1c]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x18]
push edi
push ebp
call fcn.00411384
add esp, 0x14

Function at 0x413927
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x494244]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x41397e
cmp byte [esi + 0x3d], bl
je 0x41397e
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x4139b7
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, ebx
je 0x41398f
sub eax, 1
je 0x413992
dec eax
sub eax, 1
jne 0x4139b7
mov byte [esi + 0x3d], bl
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004468d7
leave
ret
mov byte [esi + 0x3d], bl
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4139af
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00450dc4
add esp, 0x10
cmp edi, eax
jne 0x4139b7
cmp byte [esi + 0x3d], bl
sete al
jmp 0x413980
xor al, al
jmp 0x413980
Function at 0x43ef6b
Capabilities:
Read file on windows

Disassembly:
push 0x2c
mov eax, 0x46cdfe
call fcn.00446917
push 0x476d24
push dword [ebp + 0xc]
lea eax, [ebp - 0x20]
xor ebx, ebx
push eax
call fcn.0043e73b
add esp, 0xc
mov cl, byte [eax + 4]
mov edi, dword [eax]
mov byte [ebp - 0xd], cl
mov byte [eax + 4], bl
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x14], cl
xor esi, esi
inc esi
mov dword [ebp - 4], esi
cmp byte [ebp - 0x1c], bl
je 0x43efb5
push dword [ebp - 0x20]
mov byte [ebp - 0x1c], bl
call fcn.0046b1d1
pop ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0xe]
mov byte [ebp - 4], 2
push eax
push 0x100001
lea ecx, [ebp - 0x24]
call fcn.0041c5a1
push edi
push 0x100000
push esi
mov esi, dword [ebp - 0x24]
push esi
call fcn.0045073d
mov ebx, eax
add esp, 0x10
cmp ebx, 0x100000
ja 0x43f086
push edi
call fcn.00458484
pop ecx
test eax, eax
je 0x43f009
push 0x133
jmp 0x43f08b
push edi
call fcn.00458458
pop ecx
test eax, eax
jne 0x43f01b
push 0x13b
jmp 0x43f08b
push ebx
push esi
call fcn.0043f7f2
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xe]
push eax
lea eax, [esi + ebx]
push eax
push esi
call fcn.0041c572
test esi, esi
je 0x43f069
mov eax, dword [ebp - 0x1c]
sub eax, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], eax
cmp eax, 0x1000
jb 0x43f060
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040dae8
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
pop ecx
pop ecx
push eax
push esi
call fcn.0044646d
pop ecx
pop ecx
cmp byte [ebp - 0xd], 0
mov dword [ebp - 4], 3
je 0x43f07d
push edi
call fcn.0046b1d1
pop ecx
mov eax, dword [ebp + 8]
call fcn.004468e5
ret
push 0xc8
lea ecx, [ebp - 0x38]
call fcn.0041610f
push 0x48a0b0
lea eax, [ebp - 0x38]
push eax
call fcn.004486cd
int3
Function at 0x4447c9
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push 4
pop edx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x477d90]
sub edx, 1
jne 0x4447d0
ret

Function at 0x45ed30
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045eba6

Function at 0x46b300
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x46b32d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x46b32d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
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 0xd567d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5f8000]
lea eax, [edi + 0x747120]
push dword [eax]
mov dword [eax], 0x843e301d
push eax
push edi
or ebp, 0xffffffff
jmp 0xd56802
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xd56809
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd567f8
mov eax, 1
add ebx, ebx
jne 0xd5681b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xd56810
jne 0xd5682c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xd56810
xor ecx, ecx
sub eax, 3
jb 0xd56840
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xd568b2
mov ebp, eax
add ebx, ebx
jne 0xd5684b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0xd56858
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0xd5687c
inc ecx
add ebx, ebx
jne 0xd56868
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xd5685d
jne 0xd56879
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xd5685d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xd5689c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xd5688d
jmp 0xd567fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xd5689c
add edi, ecx
jmp 0xd567fe
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x2b47e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xd568be
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0xd568c3
lea edi, [esi + 0x952000]
mov eax, dword [edi]
or eax, eax
je 0xd56934
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x95b04c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x95b214]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xd568e9
mov ecx, edi
jns 0xd56918
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 + 0x95b21c]
or eax, eax
je 0xd5692e
mov dword [ebx], eax
add ebx, 4
jmp 0xd56906
call dword [esi + 0x95b218]
mov ebp, dword [esi + 0x95b220]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
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 0xd56968
sub esp, 0xffffff80
jmp 0x404020
Function at 0x40abd5
Capabilities:
Read data from internet
Receive data

Disassembly:
push 0x20
mov eax, 0x436403
call fcn.00433edf
mov dword [ebp - 0x20], ecx
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], esi
push dword [eax + 8]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x40acc7
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.0041d46f
pop ecx
mov ecx, dword [ebp - 0x14]
inc ecx
push ecx
mov ebx, eax
push esi
push ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.MSVCR110.dll_memset]
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
push ebx
push dword [eax + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
jne 0x40ac53
mov dword [ebp - 0x14], esi
jmp 0x40ac65
cmp dword [ebp - 0x14], 0
jbe 0x40ac65
push dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
push ebx
call fcn.004067b0
or dword [ebp - 4], 0xffffffff
jmp 0x40acb0
push ebx
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
cmp dword [ebp - 0x14], 0
pop ecx
mov dword [ebp - 0x18], esi
ja 0x40abec
test edi, edi
setne al
call fcn.00433e44
ret 4
Function at 0x41a680
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [edi + 0x2c]
push ebp
push esi
mov ebp, dword [edi + 0x3c]
sub ebp, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea edx, [ebx + ecx - 0x106]
sub ebp, eax
cmp eax, edx
jb 0x41a6fe
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call sub.MSVCR110.dll_memcpy
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x41a6d1
sub eax, ebx
jmp 0x41a6d3
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x41a6c2
mov ecx, dword [edi + 0x40]
mov edx, ebx
lea ecx, [ecx + ebx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x41a6f2
sub eax, ebx
jmp 0x41a6f4
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x41a6e3
add ebp, ebx
mov esi, dword [edi]
cmp dword [esi + 4], 0
je 0x41a759
mov edx, dword [edi + 0x74]
add edx, dword [edi + 0x6c]
mov ecx, ebp
add edx, dword [edi + 0x38]
push edx
call fcn.0041a330
add dword [edi + 0x74], eax
mov edx, dword [edi + 0x74]
add esp, 4
cmp edx, 3
jb 0x41a745
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp edx, 0x106
jae 0x41a759
mov edx, dword [edi]
cmp dword [edx + 4], 0
jne 0x41a686
pop esi
pop ebp
pop ebx
ret
Function at 0x401e80
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
push esi
push edi
lea edi, [ebp - 0x320]
mov ecx, 0xc8
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x408014]
xor eax, ebp
mov dword [ebp - 4], eax
mov esi, esp
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp esi, esp
call fcn.004031a2
test eax, eax
jne 0x401eda
push str.Unable_to_get_executable_file_name._n
call fcn.00402ea0
add esp, 4
jmp 0x40203d
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x210]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x401f0e
push str.Unable_to_get_version_info_size._n
call fcn.00402ea0
add esp, 4
jmp 0x40203d
mov eax, dword [ebp - 0x224]
push eax
call fcn.00402f48
add esp, 4
mov dword [ebp - 0x320], eax
mov ecx, dword [ebp - 0x320]
mov dword [ebp - 0x228], ecx
mov edx, dword [ebp - 0x228]
push edx
mov eax, dword [ebp - 0x224]
push eax
push 0
lea ecx, [ebp - 0x210]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x401f61
push str.Unable_to_get_version_info._n
call fcn.00402ea0
add esp, 4
jmp 0x40203d
lea edx, [ebp - 0x23c]
push edx
lea eax, [ebp - 0x230]
push eax
push 0x405988
mov ecx, dword [ebp - 0x228]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x401f96
push str.Unable_to_query_version_value._n
call fcn.00402ea0
add esp, 4
jmp 0x40203d
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x244], edx
mov eax, dword [ebp - 0x244]
mov ecx, dword [eax + 0x14]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x244]
mov eax, dword [edx + 0x14]
shr eax, 0x10
push eax
mov ecx, dword [ebp - 0x244]
mov edx, dword [ecx + 0x10]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x244]
mov ecx, dword [eax + 0x10]
shr ecx, 0x10
push ecx
push str.version__i._i._i._i
lea edx, [ebp - 0x2ac]
push edx
call fcn.00402c00
add esp, 0x18
push 0x4059c0
lea eax, [ebp - 0x318]
push eax
call fcn.00402d00
add esp, 8
lea ecx, [ebp - 0x2ac]
push ecx
lea edx, [ebp - 0x318]
push edx
call fcn.00402ca0
add esp, 8
push str._njabswitch_enables_or_disables_the_Java_Access_Bridge._n
lea eax, [ebp - 0x318]
push eax
call fcn.00402ca0
add esp, 8
lea ecx, [ebp - 0x318]
push ecx
call fcn.00402ea0
add esp, 4
push edx
mov ecx, ebp
push eax
lea edx, [0x40206c]
call fcn.0040314e
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004031c5
add esp, 0x320
cmp ebp, esp
call fcn.004031a2
mov esp, ebp
pop ebp
ret
Function at 0x403c7e
Capabilities:
Parse pe header

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