joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f479
Capabilities:
Connect to http server
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x2ec]
sub esp, 0x36c
mov eax, dword [0x441044]
xor eax, ebp
mov dword [ebp + 0x2e8], eax
mov eax, dword [ebp + 0x2f4]
push esi
push edi
push 0x3c
mov dword [ebp - 0x40], eax
xor edi, edi
lea eax, [ebp - 0x80]
push edi
push eax
mov esi, ecx
call fcn.0040f7e0
add esp, 0xc
push 0x64
pop eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], eax
lea ecx, [ebp + 0x90]
mov dword [ebp - 0x70], ecx
lea eax, [ebp + 0x220]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x54], eax
mov eax, dword [esi]
mov dword [ebp - 0x64], ecx
lea ecx, [ebp + 0x158]
sub eax, 0x10
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x5c], ecx
call fcn.00401a81
lea ecx, [ebp - 0x80]
push ecx
push edi
add eax, 0x10
push edi
push eax
mov dword [ebp - 0x44], eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x42f518
mov eax, dword [ebx + 4]
mov dword [eax], 2
jmp 0x42f5bc
mov eax, dword [ebx + 0xc]
push edi
push edi
push 3
lea ecx, [ebp + 0x158]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push dword [ebp - 0x68]
lea ecx, [ebp + 0x90]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x3c], eax
lea esi, [ebx + 0x14]
mov eax, dword [esi]
cmp dword [ebp - 0x3c], eax
je 0x42f55a
cmp eax, edi
je 0x42f555
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi], edi
mov eax, dword [ebp - 0x3c]
mov dword [esi], eax
mov esi, dword [esi]
cmp esi, edi
jne 0x42f56b
mov eax, dword [ebx + 4]
mov dword [eax], 3
jmp 0x42f5bc
xor ecx, ecx
cmp byte [ebp + 0x2f8], cl
je 0x42f57a
mov ecx, 0x400000
cmp dword [ebp - 0x74], 4
jne 0x42f58a
or ecx, 0x800000
mov byte [ebx + 0x60], 1
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
push edi
push ecx
push edi
push edi
push edi
lea ecx, [ebp + 0x220]
push ecx
push eax
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
lea esi, [ebx + 0x34]
mov edi, eax
call fcn.00433021
cmp dword [ebx + 0x40], 0
jne 0x42f5bc
mov eax, dword [ebx + 4]
mov dword [eax], 4
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
call fcn.0040169e
mov ecx, dword [ebp + 0x2e8]
pop edi
xor ecx, ebp
pop esi
call fcn.0040f7ca
add ebp, 0x2ec
leave
ret 8

Function at 0x43047b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov esi, dword [eax + 0x10]
cmp dword [esi - 0xc], 0
je 0x4304dd
mov eax, dword [eax + 4]
cmp eax, 6
je 0x4304a7
cmp eax, 7
je 0x4304a7
cmp eax, 8
je 0x4304a7
cmp eax, 9
je 0x4304a7
cmp eax, 0x12
jne 0x4304dd
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.0040f7e0
and dword [ebp - 0x20], 0
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x8400
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], 0x43c254
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
xor eax, eax
pop esi
leave
ret
Function at 0x4306f8
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x441044]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [0x443838]
push esi
mov esi, ecx
push edi
mov ecx, 0x443838
call dword [eax + 0xc]
push dword [esi]
add eax, 0x10
mov dword [ebp - 0x7c], eax
push str.SoftwareCaphyonAdvanced_Updater_s
lea eax, [ebp - 0x7c]
call fcn.004022b1
mov edi, dword [ebp - 0x7c]
pop ecx
pop ecx
xor esi, esi
push esi
lea eax, [ebp - 0x74]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push edi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
je 0x430781
mov esi, eax
lea eax, [edi - 0x10]
call fcn.0040169e
mov ecx, dword [ebp + 0x198]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040f7ca
add ebp, 0x19c
leave
ret
push 0x104
lea eax, [ebp - 0x70]
push eax
push dword [0x4437f8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4307ca
push 4
lea eax, [ebp - 0x78]
push eax
push 4
push esi
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x74]
mov dword [ebp - 0x78], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x430760

Function at 0x432fd5
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x433018
mov eax, dword [edi + 0xc]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 0xc]
sub ecx, esi
push ecx
mov ecx, dword [ebp + 8]
add ecx, esi
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x43300f
cmp dword [ebp - 4], 0
je 0x43300f
add esi, dword [ebp - 4]
cmp esi, dword [ebp + 0xc]
jb 0x432fe1
jmp 0x433018
mov eax, dword [edi + 4]
mov dword [eax], 0xa
pop esi
leave
ret 8
Function at 0x43312e
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
push 0x400
call fcn.0040f865
pop ecx
mov dword [ebp - 8], eax
test eax, eax
jne 0x43315a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [eax], 0xe
jmp 0x43329b
mov edi, dword [ebp + 8]
push edi
call fcn.00433059
mov byte [ebp - 1], al
mov ebx, 0x443838
mov eax, dword [0x443838]
mov ecx, ebx
call dword [eax + 0xc]
lea ecx, [ebp - 0x10]
push ecx
push 0x400
push dword [ebp - 8]
mov esi, eax
mov eax, dword [edi + 0xc]
add esi, 0x10
push eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x43324e
cmp dword [ebp - 0x10], 0
je 0x433261
push dword [ebp - 0x10]
lea eax, [ebp - 0x58]
push dword [ebp - 8]
call fcn.0042fb58
cmp byte [ebp - 1], 0
jne 0x4331d4
lea eax, [ebp - 0x58]
call fcn.0042fb73
cmp eax, 1
je 0x4331d4
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
call fcn.004020c8
jmp 0x433224
push dword [ebp - 0x10]
and dword [ebp - 0x24], 0
push dword [ebp - 8]
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x24]
call fcn.0042a75c
pop ecx
pop ecx
push dword [ebp - 0x20]
mov ecx, ebx
mov edi, eax
lea esi, [ebp - 0x14]
call fcn.004011de
mov eax, esi
lea edi, [ebp - 0xc]
call fcn.004018c0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040169e
push dword [ebp - 0x20]
call fcn.0040f85a
and dword [ebp - 0x20], 0
and dword [ebp - 0x24], 0
mov edi, dword [ebp + 8]
pop ecx
mov eax, dword [ebp - 0xc]
push dword [eax - 0xc]
push eax
mov eax, dword [ebp + 0xc]
add eax, 4
call fcn.004019ec
lea esi, [ebp - 0x58]
call fcn.0042eb89
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040169e
jmp 0x43316b
mov eax, dword [edi + 4]
mov dword [eax], 0xb
lea eax, [esi - 0x10]
call fcn.0040169e
jmp 0x43329b
lea eax, [esi - 0x10]
call fcn.0040169e
mov eax, dword [edi + 0xc]
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x1c], 4
push 0x20000013
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x43329b
mov eax, dword [edi + 4]
mov dword [eax], 0xb
push dword [ebp - 8]
call fcn.0040f85a
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x43339f
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x90
mov eax, dword [0x441044]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 3
push 0x80000000
push eax
mov dword [ebp - 0x14], ecx
mov byte [ecx], bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, 0xffffffff
jne 0x4333e5
push eax
jmp 0x433418
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x433413
cmp eax, ebx
jbe 0x433413
mov edi, 0x10000
push edi
call fcn.0040f865
pop ecx
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x433432
push ebx
call fcn.0040f85a
pop ecx
cmp esi, ebx
je 0x43341e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp + 0x70]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f7ca
add ebp, 0x74
leave
ret
lea eax, [ebp + 4]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov byte [ebp + 3], bl
call fcn.0042455d
jmp 0x433448
mov esi, dword [ebp - 0x1c]
push ebx
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x433491
mov esi, dword [ebp - 8]
cmp esi, ebx
je 0x433491
mov eax, dword [ebp - 0xc]
lea ecx, [esi + eax]
cmp ecx, dword [ebp - 0x10]
jbe 0x43347a
mov esi, dword [ebp - 0x10]
sub esi, eax
mov dword [ebp - 8], esi
mov byte [ebp + 3], 1
push dword [ebp - 4]
mov ebx, esi
lea eax, [ebp + 4]
call fcn.00424cb5
add dword [ebp - 0xc], esi
xor ebx, ebx
cmp byte [ebp + 3], bl
je 0x433445
lea esi, [ebp + 4]
call fcn.00424d4d
mov edi, dword [ebp - 0x14]
mov eax, esi
call fcn.00424593
push dword [ebp - 4]
mov byte [ebp + 3], al
call fcn.0040f85a
pop ecx
cmp dword [ebp - 0x1c], ebx
je 0x4334bd
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp + 3]
jmp 0x433420

Function at 0x43352b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
push 0x400
call fcn.0040f865
xor edi, edi
pop ecx
mov dword [ebp - 8], eax
cmp eax, edi
jne 0x433552
mov eax, dword [esi + 4]
mov dword [eax], 0xe
jmp 0x4335b6
xor ebx, ebx
mov dword [ebp - 0xc], edi
cmp dword [esi + 0x3c], edi
jb 0x4335b6
ja 0x433567
cmp dword [esi + 0x38], edi
jbe 0x4335b6
jmp 0x433567
xor edi, edi
mov eax, dword [esi + 0x2c]
push edi
lea ecx, [ebp - 4]
push ecx
push 0x400
push dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4335ad
cmp dword [ebp - 4], edi
je 0x4335ad
push dword [ebp - 4]
mov edi, dword [ebp + 8]
push dword [ebp - 8]
call fcn.00432fd5
add ebx, dword [ebp - 4]
adc dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
cmp eax, dword [esi + 0x3c]
jb 0x433565
ja 0x4335b6
cmp ebx, dword [esi + 0x38]
jb 0x433565
jmp 0x4335b6
mov eax, dword [esi + 4]
mov dword [eax], 0xf
push dword [ebp - 8]
call fcn.0040f85a
pop ecx
pop edi
pop ebx
leave
ret 4
Function at 0x4335e1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, 0x443838
call fcn.00401471
mov esi, 0x100
push esi
call fcn.0040f865
xor edi, edi
pop ecx
mov dword [ebp - 0xc], eax
cmp eax, edi
jne 0x433619
mov eax, dword [ebx + 4]
mov dword [eax], 0xe
jmp 0x4336a3
mov dword [ebp - 4], edi
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x2c]
push edi
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 4]
push esi
add ecx, edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, edi
je 0x433648
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x433648
add dword [ebp - 4], eax
cmp dword [ebp - 4], esi
jb 0x43361c
mov eax, dword [ebx + 0x2c]
push edi
push edi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x433665
mov eax, dword [ebx + 4]
mov dword [eax], 8
jmp 0x4336a3
push edi
lea eax, [ebp - 8]
push eax
push edi
push 0x43c208
push dword [ebp - 4]
mov dword [ebp - 8], edi
push dword [ebp - 0xc]
push edi
push edi
call sub.urlmon.dll_FindMimeFromData
cmp eax, edi
je 0x43368f
mov eax, dword [ebx + 4]
mov dword [eax], 0x10
jmp 0x4336a3
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0040186f
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 0xc]
call fcn.0040f85a
mov eax, dword [ebp + 8]
pop ecx
pop edi
pop esi
leave
ret 4

Function at 0x43386b
Capabilities:
Get file size

Disassembly:
mov eax, dword [ebx + 0xc]
push ebp
push esi
push edi
xor ebp, ebp
push ebp
push 0x80
push 3
push ebp
push 1
push 0x80000000
push eax
lea esi, [ebx + 0x2c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
call fcn.00402221
mov esi, dword [esi]
cmp esi, 0xffffffff
jne 0x4338a6
mov eax, dword [ebx + 4]
mov dword [eax], 8
jmp 0x4338d7
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], ebp
cmp ebp, ebp
ja 0x4338bd
cmp eax, 0xffffffff
jbe 0x4338c8
mov eax, dword [ebx + 4]
mov dword [eax], 9
jmp 0x4338d7
lea eax, [ebx + 0x14]
call fcn.0042fad2
mov ecx, ebx
call fcn.004336b5
mov eax, dword [ebx + 0x38]
add eax, dword [ebx + 0x20]
pop edi
pop esi
pop ebp
ret
Function at 0x433c01
Capabilities:
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043395c
test al, al
je 0x433c1d
xor eax, eax
jmp 0x433d49
mov eax, dword [ebp + 8]
call fcn.0043391f
mov byte [ebp - 1], al
lea eax, [ebp - 0x20]
xor ebx, ebx
push eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.00433a50
mov edi, dword [ebp - 0x1c]
cmp edi, ebx
pop ecx
jg 0x433c56
push ebx
push ebx
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
sub eax, 0x10
call fcn.00401a81
mov dword [ebp - 0x10], ebx
mov esi, eax
add esi, 0x10
xor ebx, ebx
dec edi
inc ebx
cmp edi, ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], edi
jle 0x433d2a
mov edi, 0x43cd18
lea eax, [esi - 0x10]
call fcn.00401a81
add eax, 0x10
mov dword [ebp - 8], eax
push edi
lea eax, [ebp - 8]
push eax
call fcn.00401c6f
mov eax, ebx
lea ecx, [ebp - 0x20]
call fcn.004020a7
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 8]
call fcn.004019ec
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x433cd7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp eax, 0xb7
je 0x433cd7
cmp byte [ebp - 1], 0
je 0x433d13
push edi
lea eax, [ebp - 0xc]
push eax
call fcn.00401c6f
mov eax, ebx
lea ecx, [ebp - 0x20]
call fcn.004020a7
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0xc]
call fcn.004019ec
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040169e
mov esi, dword [ebp - 0xc]
inc ebx
cmp ebx, dword [ebp - 0x14]
jl 0x433c82
jmp 0x433d2a
cmp ebx, 1
jle 0x433d1f
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040169e
lea eax, [esi - 0x10]
call fcn.0040169e
lea esi, [ebp - 0x20]
call fcn.00401cad
mov eax, dword [ebp - 0x10]
sub eax, 0xb7
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433da7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 4], ebx
mov dword [esp + 0x10], ebx
jle 0x433ee3
mov eax, dword [esp + 0x10]
mov ecx, edi
call fcn.0040442b
mov eax, dword [eax]
sub eax, 0x10
call fcn.00401a81
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ecx, edi
call fcn.0040442b
add eax, 4
mov eax, dword [eax]
sub eax, 0x10
call fcn.00401a81
mov esi, eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x14]
add esi, 0x10
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.0041e3f9
mov eax, dword [esp + 0x10]
mov ecx, edi
call fcn.0040442b
cmp byte [eax + 0xc], bl
je 0x433ea2
cmp dword [esp + 0x20], ebx
jne 0x433ea2
mov eax, dword [0x443838]
mov ecx, 0x443838
call dword [eax + 0xc]
push esi
push dword [esp + 0x18]
add eax, 0x10
mov dword [esp + 0x20], eax
push str.__s___s
lea eax, [esp + 0x24]
call fcn.004022b1
add esp, 0xc
push 0x40
lea eax, [esp + 0x40]
push ebx
push eax
mov dword [esp + 0x44], ebx
call fcn.0040f7e0
xor eax, eax
mov dword [esp + 0x34], ebx
lea edi, [esp + 0x38]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea eax, [edi - 0x10]
call fcn.0040169e
mov edi, dword [ebp + 8]
cmp dword [esp + 0x1c], ebx
je 0x433eb6
push dword [esp + 0x1c]
call fcn.0040f8eb
pop ecx
mov dword [esp + 0x1c], ebx
lea eax, [esi - 0x10]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.0040169e
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.0040169e
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [edi + 4]
jl 0x433dc5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4345e9
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
push 0x3c
pop edi
push edi
mov esi, eax
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0040f7e0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0
push eax
mov dword [ebp - 0x28], 0x64
mov dword [ebp - 0x3c], edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x434633
mov ecx, 0x443838
call fcn.00401471
jmp 0x434640
push dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
mov eax, esi
call fcn.004011c7
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x43552a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x441044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
push ebx
push esi
push edi
sub eax, 0x10
call fcn.00401a81
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push ebx
mov esi, eax
push 0x80000000
add esi, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x435591
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi - 0x10]
call fcn.0040169e
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f7ca
leave
ret 4
push 6
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.0040f7e0
add esp, 0xc
push ebx
lea eax, [ebp - 0x14]
push eax
push 5
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4355bd
cmp edi, ebx
je 0x435576
push edi
jmp 0x435570
cmp dword [ebp - 0x14], 5
jne 0x4355b6
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.00402122
lea eax, [ebp - 0x10]
push eax
call fcn.0040e83f
test al, al
mov eax, dword [ebp - 0x10]
pop ecx
je 0x4355ff
add eax, 0xfffffff0
call fcn.0040169e
cmp edi, ebx
je 0x4355f3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi - 0x10]
call fcn.0040169e
mov al, bl
jmp 0x435580
add eax, 0xfffffff0
call fcn.0040169e
cmp edi, ebx
je 0x435612
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x4355f3
Function at 0x435936
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.0040f7e0
add esp, 0xc
push 0x64
pop eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x40], esi
mov edi, dword [eax - 0xc]
mov ebx, 0x443838
push eax
mov ecx, ebx
lea esi, [ebp + 8]
call fcn.004011de
lea eax, [ebp - 0x40]
push eax
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x4359ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040169e
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
push dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
mov ecx, ebx
lea esi, [ebp - 4]
call fcn.004011de
mov edi, dword [ebp + 0x14]
mov eax, esi
call fcn.004018c0
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040169e
push dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
mov ecx, ebx
lea esi, [ebp - 4]
call fcn.004011de
mov edi, dword [ebp + 0x18]
mov eax, esi
call fcn.004018c0
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040169e
cmp dword [ebp - 0x24], 0
je 0x435a22
push dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
mov ecx, ebx
lea esi, [ebp - 4]
call fcn.004011de
mov edi, dword [ebp + 0x1c]
mov eax, esi
call fcn.004018c0
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040169e
cmp dword [ebp - 0x1c], 0
je 0x435a4d
push dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
mov ecx, ebx
lea esi, [ebp - 4]
call fcn.004011de
mov edi, dword [ebp + 0x20]
mov eax, esi
call fcn.004018c0
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040169e
cmp dword [ebp - 0xc], 0
je 0x435a78
push dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov ecx, ebx
lea esi, [ebp - 4]
call fcn.004011de
mov edi, dword [ebp + 0x24]
mov eax, esi
call fcn.004018c0
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040169e
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov ax, word [ebp - 0x28]
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
xor esi, esi
jmp 0x43599b
Function at 0x8c6058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8c61a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x8c607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8c606a
add dl, dl
jne 0x8c6089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8c60dc
xor eax, eax
add dl, dl
jne 0x8c6096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8c617d
add dl, dl
jne 0x8c60a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8c60b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8c60bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8c60c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8c60d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8c6075
mov eax, 1
add dl, dl
jne 0x8c60ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8c60f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8c60e1
sub eax, ebx
mov ebx, 1
jne 0x8c6128
mov ecx, 1
add dl, dl
jne 0x8c610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8c6119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8c6105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8c6075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8c613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8c614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8c6136
cmp eax, 0x7d00
jae 0x8c616d
cmp eax, 0x500
jb 0x8c6168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8c6075
cmp eax, 0x7f
ja 0x8c6170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8c6075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8c619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x8c6075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
jmp fcn.00401219