joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401a70
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push ebp
mov ebp, dword [esp + 8]
push esi
mov ecx, dword [eax]
mov esi, dword [esp + 0x1c]
add ecx, ebp
mov ebp, dword [esp + 0x14]
push edi
mov edx, dword [ecx]
mov dword [esi], edx
mov edi, dword [eax]
add edi, 4
mov dword [eax], edi
mov cl, byte [ebp + 0x42]
movsx eax, word [ebp + 0x40]
cmp eax, 4
ja case.default.0x401a9e
jmp dword [eax*4 + 0x401b14]
xor eax, eax
mov dl, byte [eax + esi]
xor dl, cl
mov byte [eax + esi], dl
inc eax
cmp eax, 4
jl 0x401aa7
pop edi
pop esi
mov eax, 1
pop ebp
ret
mov cl, byte [esp + 0x1c]
xor eax, eax
mov dl, byte [eax + esi]
xor dl, cl
mov byte [eax + esi], dl
inc eax
cmp eax, 4
jl 0x401ac4
mov ax, word [ebp + 0x42]
test ax, ax
jl case.default.0x401a9e
cmp ax, 7
jg case.default.0x401a9e
xor edi, edi
movsx edx, word [ebp + 0x42]
mov al, byte [edi + esi]
mov ecx, 8
sub ecx, edx
mov dl, al
shl dl, cl
mov cl, byte [ebp + 0x42]
shr al, cl
or dl, al
mov byte [edi + esi], dl
inc edi
cmp edi, 4
jl 0x401ae3
pop edi
pop esi
mov eax, 1
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebp
ret
Function at 0x403270
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov ax, word [esi + 2]
cmp ax, 5
jl 0x4032d7
cmp ax, 8
jg 0x4032d7
movsx ecx, word [esi + 0xa]
movsx edi, word [esi + 6]
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
lea ecx, [ecx + edi - 1]
sar eax, 1
cmp ecx, edx
jge 0x403319
mov ebx, dword [esp + 0x14]
test eax, eax
lea ecx, [edi + ebx]
jle 0x4032bc
mov edx, eax
mov bp, word [esi]
xor word [ecx], bp
add ecx, 2
dec edx
jne 0x4032b0
movsx edx, word [esi + 8]
movsx ecx, word [esi + 0xa]
add edi, edx
lea edx, [ecx + edi - 1]
mov ecx, dword [esp + 0x18]
cmp edx, ecx
jl 0x4032a7
pop edi
pop esi
pop ebp
pop ebx
ret
cmp ax, 9
jne 0x403319
movsx ebp, word [esi + 6]
movsx edi, word [esi + 0xa]
mov ebx, dword [esp + 0x18]
mov dl, byte [esi]
lea eax, [edi + ebp - 1]
cmp eax, ebx
jge 0x403319
xor eax, eax
test edi, edi
jle 0x403307
mov ecx, dword [esp + 0x14]
add ecx, ebp
xor byte [ecx + eax], dl
inc eax
cmp eax, edi
jl 0x4032ff
movsx eax, word [esi + 8]
movsx ecx, word [esi + 0xa]
add ebp, eax
lea eax, [ecx + ebp - 1]
cmp eax, ebx
jl 0x4032f3
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x40e170
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4153f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call sub.MFC42.DLL_CView::CView
xor edi, edi
mov dword [esi + 0x44], 0x4172dc
mov dword [esp + 0x28], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0xec], 0x4172c0
mov dword [esi + 0xf0], edi
mov eax, 0x3ff00000
mov dword [esi + 0xa0], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xa4], eax
mov dword [esi + 0xb4], eax
mov eax, 1
mov dword [esi + 0xb8], edi
mov dword [esi + 0xc0], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0x98], edi
mov dword [esi], 0x4171b0
mov dword [esi + 0xbc], 0xc08f4000
mov dword [esi + 0xc4], 0x408f4000
mov dword [esi + 0x54], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x7c], 0x407f4000
mov dword [esi + 0x94], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xcc], eax
mov dword [esi + 0xc8], eax
mov eax, dword [0x41c42c]
mov byte [esp + 0x28], 2
cmp eax, edi
jne 0x40e30f
push 0x4c
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, edi
je 0x40e290
mov ecx, eax
call fcn.0040e000
mov ebx, eax
jmp 0x40e292
xor ebx, ebx
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
mov dword [esp + 0x20], 0x3f800000
mov dword [esp + 0x1c], 0x3dcccccd
mov dword [esp + 0x18], 0x3dcccccd
mov dword [esp + 0x14], 0x3dcccccd
call fcn.0040e070
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], 0x3f333333
push ecx
mov ecx, ebx
mov dword [esp + 0x18], 0x3f333333
mov dword [esp + 0x14], 0x3f333333
call fcn.0040e090
lea edx, [esp + 0x10]
mov ecx, ebx
push edx
mov dword [esp + 0x1c], 0x3e4ccccd
mov dword [esp + 0x18], 0x3e4ccccd
mov dword [esp + 0x14], 0x3e4ccccd
call fcn.0040e0b0
push ebx
call fcn.00411080
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], 0x1b01
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4143c0
Capabilities:
Encrypt data using blowfish

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
jle 0x414431
cmp dword [edi], 0
je 0x414431
push ebp
push esi
xor ebp, ebp
xor ecx, ecx
xor esi, esi
test eax, eax
jle 0x41442b
push ebx
cmp ebp, 0x3ff
jle 0x4143e6
xor ebp, ebp
mov eax, dword [edi]
mov dl, byte [ebp*4 + 0x418168]
add eax, esi
mov bl, byte [eax]
xor bl, dl
inc ebp
mov byte [eax], bl
mov eax, dword [edi]
lea edx, [eax + esi]
movzx ax, byte [eax + esi]
or ah, 0x58
cmp ecx, 7
jle 0x41440c
xor ecx, ecx
and eax, 0xffff
ror eax, cl
test al, 1
je 0x41441b
and al, 0xfe
jmp 0x41441d
or al, 1
rol eax, cl
inc ecx
inc esi
mov byte [edx], al
mov eax, dword [edi + 4]
cmp esi, eax
jl 0x4143dc
pop ebx
mov eax, dword [edi]
pop esi
pop ebp
pop edi
ret
xor eax, eax
pop edi
ret
Function at 0x4146c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jle 0x414793
cmp dword [esi], 0
je 0x414793
cdq
sub eax, edx
push ebp
sar eax, 1
push edi
push eax
call sub.MFC42.DLL_operatornew
mov ebp, eax
mov eax, dword [esi + 4]
add esp, 4
xor edi, edi
test eax, eax
mov dword [esp + 0x10], ebp
jle 0x414772
push ebx
mov eax, dword [esi]
xor ecx, ecx
add eax, edi
xor ebx, ebx
mov cl, byte [eax]
mov bl, byte [eax + 1]
push ecx
push 0x100
push 0x4198e8
mov ecx, esi
call fcn.00414690
push ebx
push 0x100
push 0x4198e8
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00414690
mov ecx, eax
mov bl, byte [esp + 0x10]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dl, al
shl dl, 4
add dl, bl
mov ebx, dword [esi]
shl al, 3
mov byte [ebx + edi], dl
mov edx, dword [esi]
add edx, edi
sub cl, al
add edi, 2
mov bl, byte [edx]
xor bl, cl
inc ebp
mov byte [edx], bl
mov eax, dword [esi]
mov cl, byte [eax + edi - 2]
mov byte [ebp - 1], cl
mov eax, dword [esi + 4]
cmp edi, eax
jl 0x4146fa
mov ebp, dword [esp + 0x14]
pop ebx
mov edx, dword [esi]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, ebp
mov dword [esi], 0
mov dword [esi + 4], 0
pop edi
pop ebp
pop esi
add esp, 8
ret
xor eax, eax
pop esi
add esp, 8
ret
Function at 0x42105f
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x44e8a8
call fcn.00422e90
call main
movzx esi, ax
push 2
call main
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x420f16
xor ebx, ebx
jmp 0x420f49
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x420f12
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x420f12
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x420f49
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.004279ab
test eax, eax
jne 0x420f5d
push 0x1c
call main
pop ecx
call fcn.00427918
test eax, eax
jne 0x420f6e
push 0x10
call main
pop ecx
call fcn.00428296
and dword [ebp - 4], 0
call fcn.004279c0
test eax, eax
jns 0x420f88
push 0x1b
call main
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov dword [0x457adc], eax
call main
mov dword [0x455a24], eax
call main
test eax, eax
jns 0x420fae
push 8
call main
pop ecx
call fcn.00427eb1
test eax, eax
jns 0x420fbf
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x420fd2
push eax
call main
pop ecx
call fcn.00428714
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x420ff4
push esi
call main
call fcn.00426cd7
jmp 0x421029
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00422ed5
ret
call main
jmp 0x420ee8

Function at 0x430b36
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x430b45
pop dword [ebp - 0x4c]
mov eax, 0x5f803eed
sub eax, 0x5f3d33a8
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x64edbf02
add dword [ebp - 0x5c], 0xe9648649
mov dword [ebp - 0x58], 0x2c4c1ddf
sub dword [ebp - 0x58], 0xfa18d19a
mov dword [ebp - 0x54], 0x9c1e0c49
add dword [ebp - 0x54], 0xb02e37e5
mov dword [ebp - 0x50], 0xb6b97b8b
add dword [ebp - 0x50], 0x49468475
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x3c621537
sub eax, 0x3c1e530b
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xf367844d
add dword [ebp - 0x5c], 0x810ae509
mov dword [ebp - 0x58], 0x4d4eb33e
add dword [ebp - 0x58], 0xf41dae37
mov dword [ebp - 0x54], 0x80f5e3ca
add dword [ebp - 0x54], 0xe27988a2
mov dword [ebp - 0x50], 0xe65d7f3b
sub dword [ebp - 0x50], 0xe65d7f3b
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x49ba4
push 0
call eax
mov ecx, 0x55de
xor esi, esi
add esi, eax
mov edi, 0xf3cc259a
sub edi, 0xf384cf9a
add edi, dword [ebp - 0x4c]
mov edx, 0xbc274b7f
mov dword [ebp - 0x28], 0x4bfc0f7d
mov ebx, dword [edi]
xor dword [ebp - 0x44], 0x751fc80b
xor ebx, edx
mov dword [esi], ebx
sub dword [ebp - 0x14], eax
add esi, 0x237105a3
sub esi, 0x2371059f
add edi, 4
loop 0x430c58
add eax, 0x14a4b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x4067c4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4067e8
xor eax, eax
test eax, eax
je 0x4067fb
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4067fb
xor ecx, ecx
jmp 0x4067fe
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406927
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x40695e
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406938
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x406933
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40698f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x406971
pop edi
not eax
pop esi
ret 0xc

Function at 0x409ebd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409ebd
lcall 0x5de5, 0x8b10c483
jmp fcn.0076d6b4
Function at 0x419000
Capabilities:
Get disk size

Disassembly:
sub esp, 0x20
push esi
push 0x105
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0x105
call fcn.0042e18a
mov esi, eax
add esp, 4
test esi, esi
je 0x4190c2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov edi, dword [esp + 0x34]
lea ebx, [ebx]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push ecx
push esi
push edi
call ebx
test eax, eax
jne 0x41907e
call ebp
cmp eax, 0xea
jne 0x4190b2
push esi
call fcn.0042fba6
mov edx, dword [esp + 0x14]
push edx
call fcn.0042e18a
mov esi, eax
add esp, 8
test esi, esi
jne 0x419040
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x20
ret 4
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x4190b2
cmp dword [esp + 0x18], 0
jbe 0x4190b2
mov ecx, dword [esp + 0x14]
push 2
push 0
push 0x444eec
push esi
call fcn.00418ec0
test esi, esi
je 0x4190bf
push esi
call fcn.0042fba6
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x20
ret 4
Function at 0x4190d0
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
sub esp, 0x210
mov eax, dword [0x45426c]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebp
push 0x103
lea eax, [esp + 0x111]
push 0
push eax
mov dword [esp + 0x10], ecx
mov byte [esp + 0x118], 0
call fcn.0042f360
push 0x103
lea ecx, [esp + 0x19]
push 0
push ecx
mov byte [esp + 0x20], 0
call fcn.0042f360
add esp, 0x18
push 0x104
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x41915f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.FindFirstVolumeW_failed_with_error_code__d_n
call fcn.0042fbb1
add esp, 8
pop ebp
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0042e3d0
add esp, 0x210
ret
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419166
push ebx
sub eax, edx
mov bl, 0x5c
push esi
dec eax
push edi
cmp byte [esp + 0x14], bl
jne 0x4191f5
mov edi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
cmp byte [esp + 0x15], bl
jne 0x4191f5
cmp byte [esp + 0x16], 0x3f
jne 0x4191f5
cmp byte [esp + 0x17], bl
jne 0x4191f5
cmp byte [esp + eax + 0x14], bl
lea esi, [esp + eax + 0x14]
jne 0x4191f5
push 0x104
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esi], 0
call edi
mov byte [esi], bl
test eax, eax
je 0x419227
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
call fcn.00419000
push 0x104
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
test eax, eax
je 0x419235
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4191e5
sub eax, edx
dec eax
cmp byte [esp + 0x14], bl
je 0x419181
lea ecx, [esp + 0x14]
push ecx
push str.FindFirstVolumeW_FindNextVolumeW_returned_a_bad_path:__s_n
call fcn.0042fbb1
add esp, 8
push ebp
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
pop ebp
xor ecx, esp
call fcn.0042e3d0
add esp, 0x210
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QueryDosDeviceW_failed_with_error_code__d_n
jmp 0x4191ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x419207
push eax
push str.FindNextVolumeW_failed_with_error_code__d_n
jmp 0x4191ff
Function at 0x42e3d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45426c]
jne 0x42e3da
repz ret
jmp fcn.00433163

Function at 0x43de45
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00431aea
and dword [ebp - 4], 0
cmp dword [0x5286c8], 0
mov ebx, eax
jne 0x43def6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43dfa7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44c2c8
push edi
call esi
test eax, eax
je 0x43dfa7
push eax
call fcn.00431a78
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x5286c8], eax
call esi
push eax
call fcn.00431a78
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x5286cc], eax
call esi
push eax
call fcn.00431a78
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5286d0], eax
call esi
push eax
call fcn.00431a78
pop ecx
mov dword [0x5286d8], eax
test eax, eax
je 0x43def6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00431a78
pop ecx
mov dword [0x5286d4], eax
mov eax, dword [0x5286d4]
cmp eax, ebx
je 0x43df4e
cmp dword [0x5286d8], ebx
je 0x43df4e
push eax
call fcn.00431af3
push dword [0x5286d8]
mov esi, eax
call fcn.00431af3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43df4e
test edi, edi
je 0x43df4e
call esi
test eax, eax
je 0x43df45
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43df45
test byte [ebp - 0xc], 1
jne 0x43df4e
or dword [ebp + 0x10], 0x200000
jmp 0x43df87
mov eax, dword [0x5286cc]
cmp eax, ebx
je 0x43df87
push eax
call fcn.00431af3
pop ecx
test eax, eax
je 0x43df87
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43df87
mov eax, dword [0x5286d0]
cmp eax, ebx
je 0x43df87
push eax
call fcn.00431af3
pop ecx
test eax, eax
je 0x43df87
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5286c8]
call fcn.00431af3
pop ecx
test eax, eax
je 0x43dfa7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43dfa9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x18d6058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.018d61a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x18d607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x18d606a
add dl, dl
jne 0x18d6089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x18d60dc
xor eax, eax
add dl, dl
jne 0x18d6096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x18d617d
add dl, dl
jne 0x18d60a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18d60b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18d60bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18d60c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x18d60d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x18d6075
mov eax, 1
add dl, dl
jne 0x18d60ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18d60f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x18d60e1
sub eax, ebx
mov ebx, 1
jne 0x18d6128
mov ecx, 1
add dl, dl
jne 0x18d610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18d6119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x18d6105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x18d6075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x18d613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18d614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x18d6136
cmp eax, 0x7d00
jae 0x18d616d
cmp eax, 0x500
jb 0x18d6168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x18d6075
cmp eax, 0x7f
ja 0x18d6170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x18d6075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x18d619e
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 0x18d6075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40a4e0
Capabilities:
Reference http user-agent string

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40a6e4
sub esp, 0x18
mov edx, dword [esp + 0x1c]
test byte [edx], al
movzx ebx, byte [esp + 0x20]
movzx eax, bl
cmp eax, 0x86
jae 0x40a6d9
mov dword [esp + 0x10], eax
mov ecx, dword [edx + eax*4 + 0x14]
mov dword [esp + 0x14], ecx
mov dword [esp], ecx
call fcn.004114e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x1c]
cmp eax, edx
jne 0x40a5b3
movzx eax, word [ecx + 0x38]
movzx ecx, ax
cmp ecx, edx
jne 0x40a653
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
movzx ecx, byte [esp + 0x20]
mov byte [esp + 4], cl
call fcn.00413dc0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + eax*4 + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp], eax
call fcn.004114e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
mov edx, 1
cmp dword [ecx + 0x1c], eax
jbe 0x40a63d
mov ebx, dword [ecx + 0x40]
imul eax, ebx
add eax, dword [ecx + 0xc]
movzx ebx, word [ecx + 0x38]
inc ebx
mov word [ecx + 0x38], bx
movzx ebp, bx
mov esi, dword [ecx + 0x1c]
cmp ebp, esi
ja 0x40a5b7
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov byte [esp + 0x2c], dl
add esp, 0x18
ret
xor edx, edx
jmp 0x40a57e
mov word [esp + 0xa], bx
mov dword [esp + 0xc], esi
call fcn.00432ad0
lea eax, [0x86ba7f]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.00433370
movzx eax, word [esp + 0xa]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00433080
lea eax, [0x869f38]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00433370
mov eax, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00433080
call fcn.00432cf0
call fcn.00432b40
lea eax, [0x8710ba]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.00431250
lea eax, [0x870125]
mov dword [esp], eax
mov dword [esp + 4], 0x16
call fcn.00431250
mov dword [esp + 0xc], edx
mov word [esp + 0xa], ax
call fcn.00432ad0
lea eax, [0x8710a3]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.00433370
movzx eax, word [esp + 0xa]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00433080
lea eax, [0x869f38]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00433370
mov eax, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00433080
call fcn.00432cf0
call fcn.00432b40
lea eax, [0x87f630]
mov dword [esp], eax
mov dword [esp + 4], 0x31
call fcn.00431250
mov ecx, 0x86
call fcn.0045a130
nop
call fcn.00458870
jmp fcn.0040a4e0
Function at 0x40b1a0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40b36f
sub esp, 0x34
mov eax, dword [esp + 0x38]
cmp eax, 0x7000000
jle 0x40b342
mov eax, 0x7000000
mov dword [esp + 0x38], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x90]
mov ebx, dword [ecx + 0x94]
mov dword [ecx + 0x90], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x94], ebp
lea ecx, [ebp + ebx]
and ecx, 0x3ffffff
inc ecx
mov dword [esp], ecx
call fcn.0045a060
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
mov edi, dword [esp + 0x24]
shr edi, 0x1b
shl ebx, 5
or edi, ebx
test esi, esi
jne 0x40b362
cmp ecx, 0x21
jae 0x40b356
mov dword [esp + 0x10], edi
lea ebx, [0xc6ca40]
movsd xmm0, qword [ebx + ebp*8]
movsd qword [esp + 0x14], xmm0
movsd xmm1, qword [ebx + ecx*8]
movsd qword [esp + 0x1c], xmm1
mov dword [esp], eax
add edx, 0xfffffc01
mov eax, 0xffffffff
adc eax, 0
mov dword [esp + 4], eax
call fcn.00454ae0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00454bd0
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x14]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x1c]
subsd xmm2, xmm1
mulsd xmm2, qword [esp + 8]
movsd xmm1, qword [0x9b3528]
mulsd xmm1, xmm2
addsd xmm0, xmm1
movsd xmm1, qword [0x9b35e8]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40b31d
xorps xmm0, xmm0
mov eax, dword [esp + 0x38]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x9b3688]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x3c], eax
add esp, 0x34
ret
test eax, eax
jne 0x40b1cd
mov dword [esp + 0x3c], 0
add esp, 0x34
ret
mov eax, ecx
mov ecx, 0x21
call fcn.0045a140
mov eax, ecx
mov ecx, 0x21
call fcn.0045a220
nop
call fcn.00458870
jmp fcn.0040b1a0