joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc368ae
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0xc368dc
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0xc368e3
cmp ebx, dword [eax + 4]
jae 0xc368e3
xor eax, eax
jmp 0xc36ad3
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0xc368f4
xor eax, eax
inc eax
jmp 0xc36ad2
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0xc3690a
cmp ecx, edx
jae 0xc36a4f
cmp dword [eax + 4], 0
je 0xc36913
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0xc368fb
cmp dword [ebp + 8], 0
je 0xc36935
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0xc36a4f
cmp eax, esi
jae 0xc36a4f
mov eax, dword [0xc5b300]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0xc3695a
cmp dword [esi*4 + 0xc5b308], edi
je 0xc36a53
inc esi
cmp esi, eax
jl 0xc36948
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0xc36acf
cmp dword [ebp - 8], 0x1000000
jne 0xc36acf
test byte [ebp - 0xc], 0xcc
je 0xc369d8
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0xc36acf
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0xc36acf
cmp word [eax + 0x18], 0x10b
jne 0xc36acf
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0xc36acf
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0xc369d8
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0xc369d8
test byte [ecx + 0x27], 0x80
jne 0xc36a4f
push 1
push 0xc5b348
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0xc368ec
mov ecx, dword [0xc5b300]
test ecx, ecx
mov edx, ecx
jle 0xc36a0c
lea eax, [ecx*4 + 0xc5b304]
cmp dword [eax], edi
je 0xc36a0c
dec edx
sub eax, 4
test edx, edx
jg 0xc36a00
test edx, edx
jne 0xc36a3d
push 0xf
pop ebx
cmp ecx, ebx
jg 0xc36a19
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0xc36a31
lea eax, [edx*4 + 0xc5b308]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0xc36a1f
cmp ecx, 0x10
jge 0xc36a3d
inc ecx
mov dword [0xc5b300], ecx
push 0
push 0xc5b348
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0xc368ec
xor eax, eax
jmp 0xc36ad2
test esi, esi
jle 0xc368ec
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0xc5b348
call ebx
test eax, eax
jne 0xc368ec
cmp dword [esi*4 + 0xc5b308], edi
je 0xc36aa9
mov eax, dword [0xc5b300]
lea esi, [eax - 1]
test esi, esi
jl 0xc36a97
cmp dword [esi*4 + 0xc5b308], edi
je 0xc36a93
dec esi
jns 0xc36a87
test esi, esi
jge 0xc36aa7
cmp eax, 0x10
jge 0xc36aa2
inc eax
mov dword [0xc5b300], eax
lea esi, [eax - 1]
jmp 0xc36aa9
je 0xc36ac1
xor ecx, ecx
test esi, esi
jl 0xc36ac1
lea eax, [ecx*4 + 0xc5b308]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0xc36aaf
push 0
push 0xc5b348
call ebx
jmp 0xc368ec
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0xc3778b
Capabilities:
Terminate process

Disassembly:
push 8
push 0xc4e598
call fcn.00c34fe4
push 8
call fcn.00c356c2
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0xc5b390], esi
jne 0xc377bf
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0xc5b38c], esi
mov al, byte [ebp + 0x10]
mov byte [0xc5b388], al
cmp dword [ebp + 0xc], edi
jne 0xc37809
cmp dword [0xc5ef68], edi
je 0xc377f9
mov eax, dword [0xc5ef64]
sub eax, 4
mov dword [0xc5ef64], eax
cmp eax, dword [0xc5ef68]
jb 0xc377f9
mov eax, dword [eax]
cmp eax, edi
je 0xc377da
call eax
jmp 0xc377da
push 0xc56068
mov eax, 0xc56060
call fcn.00c37709
pop ecx
push 0xc56074
mov eax, 0xc5606c
call fcn.00c37709
pop ecx
or dword [ebp - 4], 0xffffffff
call 0xc3783a
cmp dword [ebp + 0x10], edi
jne 0xc37848
mov dword [0xc5b390], esi
push dword [ebp + 8]
call fcn.00c376c7
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0xc37847
push 8
call fcn.00c3560d
pop ecx
ret
call fcn.00c3501f
ret

Function at 0xc3a346
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0xc57104]
mov ecx, dword [ebp + 0x98]
push ebx
xor eax, ebp
push esi
mov dword [ebp + 0x8c], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0xc57a00]
je 0xc3a37d
inc eax
cmp eax, 0x13
jb 0xc3a36e
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0xc57a00]
jne 0xc3a4a0
mov eax, dword [0xc5b188]
cmp eax, 1
je 0xc3a47b
cmp eax, edx
jne 0xc3a3ad
cmp dword [0xc571a4], 1
je 0xc3a47b
cmp ecx, 0xfc
je 0xc3a4a0
push 0x104
lea eax, [ebp - 0x7c]
push eax
push edx
mov byte [ebp + 0x88], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0xc3a3e3
lea eax, [ebp - 0x7c]
push str._program_name_unknown_
push eax
call fcn.00c33c00
pop ecx
pop ecx
lea edi, [ebp - 0x7c]
mov eax, edi
push eax
call fcn.00c332d0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0xc3a417
mov eax, edi
push eax
call fcn.00c332d0
mov edi, eax
lea eax, [ebp - 0x7c]
sub eax, 0x3b
push 3
add edi, eax
push 0xc4e39c
push edi
call fcn.00c346c0
add esp, 0x10
push edi
call fcn.00c332d0
push dword [esi + 0xc57a04]
mov ebx, eax
call fcn.00c332d0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00c347f0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00c33c00
push edi
push ebx
call fcn.00c33c10
push 0xc4e398
push ebx
call fcn.00c33c10
push dword [esi + 0xc57a04]
push ebx
call fcn.00c33c10
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00c412e8
add esp, 0x2c
jmp 0xc3a4a0
push edx
lea eax, [ebp - 0x80]
push eax
lea esi, [esi + 0xc57a04]
push dword [esi]
call fcn.00c332d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8c]
xor ecx, ebp
call fcn.00c32666
add ebp, 0x90
leave
ret
Function at 0xc412e8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0xc5b5a0], ebx
push esi
push edi
jne 0xc41368
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0xc413a3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xc504bc
push edi
call esi
test eax, eax
mov dword [0xc5b5a0], eax
je 0xc413a3
push 0xc504ac
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0xc5b5a4], eax
call esi
cmp dword [0xc5b350], 2
mov dword [0xc5b5a8], eax
jne 0xc41368
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0xc5b5b0], eax
je 0xc41368
push str.GetProcessWindowStation
push edi
call esi
mov dword [0xc5b5ac], eax
mov eax, dword [0xc5b5ac]
test eax, eax
je 0xc413ad
call eax
test eax, eax
je 0xc41394
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0xc5b5b0]
test eax, eax
je 0xc41394
test byte [ebp - 8], 1
jne 0xc413ad
cmp dword [0xc5b35c], 4
jb 0xc413a7
or byte [ebp + 0x12], 0x20
jmp 0xc413cc
xor eax, eax
jmp 0xc413dc
or byte [ebp + 0x12], 4
jmp 0xc413cc
mov eax, dword [0xc5b5a4]
test eax, eax
je 0xc413cc
call eax
mov ebx, eax
test ebx, ebx
je 0xc413cc
mov eax, dword [0xc5b5a8]
test eax, eax
je 0xc413cc
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0xc5b5a0]
pop edi
pop esi
pop ebx
leave
ret
Function at 0xc41627
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a4]
sub esp, 0x424
mov eax, dword [0xc57104]
xor ecx, ecx
xor eax, ebp
cmp dword [ebp + 0x3b4], ecx
push edi
mov edi, dword [ebp + 0x3b0]
mov dword [ebp + 0x3a0], eax
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], ecx
jne 0xc41663
xor eax, eax
jmp 0xc417cd
mov eax, dword [ebp + 0x3ac]
push ebx
mov ebx, dword [ebp + 0x3ac]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0xc5dc00]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0xc416a1
push 2
push ecx
push ecx
push dword [ebp + 0x3ac]
call fcn.00c42a7d
add esp, 0x10
xor ecx, ecx
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0xc4173b
cmp dword [ebp + 0x3b4], ecx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x68], ecx
jbe 0xc4179e
jmp 0xc416c5
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x70]
sub ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x64]
cmp ecx, dword [ebp + 0x3b4]
jae 0xc41700
mov edx, dword [ebp - 0x70]
inc dword [ebp - 0x70]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0xc416f1
inc dword [ebp - 0x78]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x6c]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x6c]
cmp dword [ebp - 0x6c], 0x400
jl 0xc416d1
mov edi, eax
lea eax, [ebp - 0x64]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0xc4175f
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x74], eax
cmp eax, edi
jl 0xc41768
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x7c]
cmp eax, dword [ebp + 0x3b4]
jb 0xc416c3
jmp 0xc41768
push ecx
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b4]
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0xc4175f
mov eax, dword [ebp - 0x80]
and dword [ebp - 0x68], 0
mov dword [ebp - 0x74], eax
jmp 0xc41768
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x74]
test eax, eax
jne 0xc417c8
cmp dword [ebp - 0x68], eax
je 0xc4179b
push 5
pop esi
cmp dword [ebp - 0x68], esi
jne 0xc41790
call fcn.00c352ca
mov dword [eax], 9
call fcn.00c352d3
mov dword [eax], esi
jmp 0xc417c3
push dword [ebp - 0x68]
call fcn.00c352dc
pop ecx
jmp 0xc417c3
mov edi, dword [ebp - 0x7c]
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0xc417b0
cmp byte [edi], 0x1a
jne 0xc417b0
xor eax, eax
jmp 0xc417cb
call fcn.00c352ca
mov dword [eax], 0x1c
call fcn.00c352d3
and dword [eax], 0
or eax, 0xffffffff
jmp 0xc417cb
sub eax, dword [ebp - 0x78]
pop esi
pop ebx
mov ecx, dword [ebp + 0x3a0]
xor ecx, ebp
pop edi
call fcn.00c32666
add ebp, 0x3a4
leave
ret
Function at 0xc4280d
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0xc50538
call fcn.00c34fe4
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0xc5b5b8], edi
jne 0xc42851
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0xc4283c
mov dword [0xc5b5b8], ebx
jmp 0xc42851
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0xc42851
mov dword [0xc5b5b8], 2
mov eax, dword [0xc5b5b8]
cmp eax, ebx
jne 0xc42871
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0xc42934
cmp eax, 2
je 0xc4287a
cmp eax, edi
jne 0xc428a2
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x18], edi
jne 0xc4288d
mov eax, dword [0xc5b554]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x20], eax
cmp eax, edi
jne 0xc428a9
xor eax, eax
jmp 0xc42934
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.00c347f0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0xc428dc
cmp esi, edi
jne 0xc428f2
push dword [ebp - 0x20]
call fcn.00c34a73
pop ecx
mov esi, eax
cmp esi, edi
je 0xc428a2
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0xc42925
cmp dword [ebp + 0x14], edi
jne 0xc4290f
push edi
push edi
jmp 0xc42915
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], edi
je 0xc42931
push esi
call fcn.00c3286d
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.00c3501f
ret
Function at 0xc4293d
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0xc50548
call fcn.00c34fe4
xor esi, esi
cmp dword [0xc5b5bc], esi
jne 0xc42981
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0xc4296c
mov dword [0xc5b5bc], edi
jmp 0xc42981
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0xc42981
mov dword [0xc5b5bc], 2
mov eax, dword [0xc5b5bc]
cmp eax, 2
je 0xc42a62
cmp eax, esi
je 0xc42a62
cmp eax, 1
jne 0xc429c6
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0xc429af
mov eax, dword [0xc5b554]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0xc429cd
xor eax, eax
jmp 0xc42a74
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.00c347f0
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0xc42a03
cmp edi, esi
jne 0xc42a1e
lea eax, [ebx + ebx]
push eax
call fcn.00c34a73
pop ecx
mov edi, eax
cmp edi, esi
je 0xc429c6
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0xc42a51
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0xc42a3b
push esi
push esi
jmp 0xc42a41
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0xc42a5d
push edi
call fcn.00c3286d
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0xc42a74
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.00c3501f
ret

Function at 0xc444bb
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [esp + 0x14]
jle 0xc444f6
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0xc444d3
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0xc44512
dec esi
je 0xc4450b
dec esi
jne 0xc44517
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
ret 0xc
Function at 0x403e80
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d64b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x43c010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov dword [esi], 0x435660
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
movzx eax, byte [edi + 8]
mov byte [esi + 8], al
movzx eax, byte [edi + 9]
mov byte [esi + 9], al
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 0
mov ebx, dword [edi + 0xc]
mov dword [edi + 0xc], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x403eed
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0xc], ebx
mov byte [edi + 9], 1
mov dword [esi], 0x43510c
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x404090
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d64b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x43c010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov dword [esi], 0x435660
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
movzx eax, byte [edi + 8]
mov byte [esi + 8], al
movzx eax, byte [edi + 9]
mov byte [esi + 9], al
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 0
mov ebx, dword [edi + 0xc]
mov dword [edi + 0xc], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4040fd
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0xc], ebx
mov byte [edi + 9], 1
mov dword [esi], 0x43511c
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x404f90
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d8d1
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x43c010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 0x10]
mov edx, 0x4355c8
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xa8], ecx
lea ecx, [ebp - 0xa4]
push eax
mov dword [ebp - 0xac], edi
call fcn.00404ea0
push 0x4355bc
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00405e90
add esp, 8
mov esi, eax
push 0x43ea88
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.00415d30
push eax
mov edx, esi
lea ecx, [ebp - 0x8c]
call fcn.00405e90
push 0x4355a4
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00405e90
add esp, 8
mov esi, eax
mov ecx, dword [ebp - 0xa8]
push 0x43ea88
mov byte [ebp - 4], 3
call fcn.00415d30
push eax
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.00405e90
push 0x4355a0
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.00405e90
add esp, 8
mov esi, eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.00415beb
mov byte [ebp - 4], 6
lea ecx, [edi + 0x10]
push 0xffffffffffffffff
mov dword [edi], 0x4356f4
mov dword [edi + 0xc], 1
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push esi
mov byte [ecx], 0
call fcn.00406210
cmp dword [ebp - 0x48], 0x10
mov dword [edi], 0x435648
jb 0x4050bf
push dword [ebp - 0x5c]
call fcn.004153d6
add esp, 4
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
jb 0x4050e2
push dword [ebp - 0x2c]
call fcn.004153d6
add esp, 4
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jb 0x405105
push dword [ebp - 0x44]
call fcn.004153d6
add esp, 4
cmp dword [ebp - 0x78], 0x10
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
jb 0x40512b
push dword [ebp - 0x8c]
call fcn.004153d6
add esp, 4
cmp dword [ebp - 0x60], 0x10
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
jb 0x405151
push dword [ebp - 0x74]
call fcn.004153d6
add esp, 4
cmp dword [ebp - 0x90], 0x10
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
jb 0x40517a
push dword [ebp - 0xa4]
call fcn.004153d6
add esp, 4
mov eax, dword [ebp - 0xa8]
mov dword [edi + 0x2c], eax
mov eax, edi
mov dword [edi], 0x4355f0
mov dword [edi + 0x28], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00415073
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405400
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d943
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x43c010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov dword [esi], 0x435660
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
movzx eax, byte [edi + 8]
mov byte [esi + 8], al
movzx eax, byte [edi + 9]
mov byte [esi + 9], al
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 0
mov ebx, dword [edi + 0xc]
mov dword [edi + 0xc], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x40546d
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0xc], ebx
mov byte [edi + 9], 1
mov dword [ebp - 4], 1
mov dword [esi], 0x4355fc
mov al, byte [edi + 0x10]
mov byte [esi + 0x10], al
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov ebx, dword [edi + 0x20]
mov ecx, ebx
mov dword [esi + 0x20], ebx
call fcn.00405860
test ebx, ebx
jne 0x4054a8
xor eax, eax
jmp 0x4054af
mov ecx, ebx
call fcn.0040be90
mov ecx, dword [esi + 0x20]
push ecx
mov dword [esi + 0x24], eax
push dword [edi + 0x24]
push ecx
push eax
call fcn.004163b6
add esp, 0x10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405750
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42da18
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x43c010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00415beb
mov dword [ebp - 4], 0
lea ecx, [esi + 0x10]
push 0xffffffffffffffff
mov dword [esi], 0x4356f4
mov dword [esi + 0xc], 1
push 0
push dword [ebp + 8]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00406210
mov dword [esi], 0x435648
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4