joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54514e70
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebx, ecx
mov eax, dword [ebx]
push esi
push edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x54514e80
sub eax, edx
lea ebp, [eax + 1]
xor ecx, ecx
lea edi, [ebp + ebp]
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.54516c18
push edi
mov esi, eax
push 0
push esi
mov dword [esp + 0x24], esi
call fcn.54516b80
mov eax, dword [ebx]
add esp, 0x10
push edi
push esi
push ebp
push eax
push 8
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebp, eax
test ebp, ebp
mov eax, dword [esp + 0x10]
mov dword [ebx + 4], eax
je 0x54514f5d
xor edi, edi
test eax, eax
jle 0x54514f5d
jmp 0x54514ef0
mov edx, dword [ebp + edi*4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.54516c18
push esi
mov ebx, eax
push 0
push ebx
call fcn.54516b80
mov eax, dword [ebp + edi*4]
push esi
push eax
push ebx
call fcn.54518080
mov ecx, dword [ebp + edi*4]
add esp, 0x1c
push 0
push 0
push esi
push ecx
push esi
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.54516bfa
add edi, 1
add esp, 4
cmp edi, dword [esp + 0x10]
jl 0x54514ef0
mov esi, dword [esp + 0x14]
push esi
call fcn.54516bfa
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret

Function at 0x545150c0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x1c
mov eax, dword [0x5454141c]
xor eax, esp
mov dword [esp + 0x18], eax
push ebp
push edi
mov edi, dword [esp + 0x28]
push 0x545315c6
mov dword [esp + 0x10], edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebp, eax
test ebp, ebp
je 0x545151a9
push ebx
push esi
mov dword [esp + 0x10], 0
jmp 0x54515100
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
cmp dword [ecx + eax], 0
je 0x545151a7
xor ebx, ebx
mov byte [edi], 0
cmp word [ebp + 0xa], bx
jle 0x5451519d
test ebx, ebx
jle 0x5451513b
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x54515127
mov dx, word [0x5453146c]
mov word [edi], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx]
movzx eax, byte [edx + ebx]
push eax
lea ecx, [esp + 0x1c]
push 0x545316e0
push ecx
call fcn.54516af4
lea eax, [esp + 0x24]
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x54515162
mov edi, dword [esp + 0x14]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x54515176
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movsx edx, word [ebp + 0xa]
mov edi, dword [esp + 0x14]
add ebx, 1
cmp ebx, edx
jl 0x54515120
add dword [esp + 0x10], 4
jmp 0x54515100
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
mov eax, edi
pop edi
pop ebp
xor ecx, esp
call fcn.54516b6f
add esp, 0x1c
ret
Function at 0x545151c0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x48
mov eax, dword [0x5454141c]
xor eax, esp
mov dword [esp + 0x44], eax
xor eax, eax
push ebx
mov ebx, dword [esp + 0x54]
push esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push edi
mov edi, dword [esp + 0x58]
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x10], 0x10
mov word [esp + 0x24], 2
call fcn.545150c0
add esp, 4
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x11
push 2
push 2
mov dword [esp + 0x30], eax
mov word [esp + 0x2e], 0
call dword [0x54542c10]
mov esi, eax
cmp esi, 0xffffffff
jne 0x54515240
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.54516b6f
add esp, 0x48
ret
push 0x10
lea ecx, [esp + 0x24]
push ecx
push esi
call dword [0x54542c18]
cmp eax, 0xffffffff
je 0x5451522c
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test edi, edi
je 0x5451526e
mov ecx, dword [esp + 0x14]
mov dword [edi], ecx
test ebx, ebx
je 0x5451527a
mov dx, word [esp + 0x12]
mov word [ebx], dx
mov ecx, dword [esp + 0x50]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.54516b6f
add esp, 0x48
ret

Function at 0x54515390
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x545153a0
ret
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
ret

Function at 0x54515460
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x110]
mov dword [esp], eax
sub eax, 0xffffffff
neg eax
sbb eax, eax
lea edx, [esp]
and eax, edx
push eax
push 0
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ecx
push eax
add ecx, 1
push ecx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0
call dword [sym.imp.WS2_32.dll_select]
add esp, 0x10c
ret
Function at 0x54515c70
Capabilities:
Clear file content
Get file size

Disassembly:
mov eax, 0x2014
call fcn.545173a0
mov eax, dword [0x5454141c]
xor eax, esp
mov dword [esp + 0x2010], eax
mov eax, dword [esp + 0x201c]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push 3
push 0xc0000000
push eax
mov dword [esp + 0x2c], 1
xor edi, edi
call dword [0x54542914]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0xc], esi
jne 0x54515cda
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2010]
xor ecx, esp
call fcn.54516b6f
add esp, 0x2014
ret
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x54515cc0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0
push 0
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x54515cc0
cmp dword [esp + 0x2030], ebx
jl 0x54515dba
push ebp
mov ebp, dword [esp + 0x2030]
jg 0x54515d22
test ebp, ebp
jbe 0x54515db9
mov eax, dword [esp + 0x2034]
mov ecx, ebp
sub ecx, edi
sbb eax, ebx
test eax, eax
jg 0x54515d43
jl 0x54515d3d
cmp ecx, 0x2000
jae 0x54515d43
mov esi, ebp
sub esi, edi
jmp 0x54515d48
mov esi, 0x2000
mov eax, dword [esp + 0x2028]
push 0x14
push eax
call fcn.54515460
add esp, 8
test eax, eax
jle 0x54515dad
mov edx, dword [esp + 0x2028]
push 0
push esi
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [0x54542c3c]
mov esi, eax
test esi, esi
jle 0x54515dad
mov ecx, dword [esp + 0x10]
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.54515b30
add esp, 0xc
test eax, eax
je 0x54515dad
mov eax, esi
cdq
add edi, eax
adc ebx, edx
cmp ebx, dword [esp + 0x2034]
jl 0x54515d22
jg 0x54515db5
cmp edi, ebp
jb 0x54515d22
jmp 0x54515db5
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x10]
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [0x54542850]
mov ecx, dword [esp + 0x201c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.54516b6f
add esp, 0x2014
ret
Function at 0x54515df0
Capabilities:
Get common file path
Timestomp file

Disassembly:
sub esp, 0x224
mov eax, dword [0x5454141c]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
mov ebx, dword [esp + 0x22c]
push esi
push edi
push 0x104
lea eax, [esp + 0x28]
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x12c]
push str._skernel32.dll
push edx
call fcn.54516af4
add esp, 0xc
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
lea eax, [esp + 0x140]
push eax
call dword [0x54542914]
mov edi, eax
cmp edi, 0xffffffff
je 0x54515ebd
push esi
push 0x80
push 3
push esi
push 1
push 0xc0000000
push ebx
call dword [0x54542914]
mov esi, eax
cmp esi, 0xffffffff
je 0x54515eb1
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x54515eb1
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x54515ede
push edi
call dword [0x54542850]
cmp esi, 0xffffffff
je 0x54515ec4
push esi
call dword [0x54542850]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.54516b6f
add esp, 0x224
ret
push edi
call dword [0x54542850]
push esi
call dword [0x54542850]
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.54516b6f
add esp, 0x224
ret

Function at 0x54515f10
Capabilities:
Timestomp file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x18
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push eax
call dword [0x54542914]
mov edi, eax
cmp edi, 0xffffffff
je 0x54515f9b
mov ecx, dword [esp + 0x28]
push esi
push 0x80
push 3
push esi
push 1
push 0xc0000000
push ecx
call dword [0x54542914]
mov esi, eax
cmp esi, 0xffffffff
je 0x54515f8f
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x54515f8f
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x54515faa
push edi
call dword [0x54542850]
cmp esi, 0xffffffff
je 0x54515fa2
push esi
call dword [0x54542850]
pop edi
xor eax, eax
pop esi
add esp, 0x18
ret
push edi
call dword [0x54542850]
push esi
call dword [0x54542850]
pop edi
mov eax, 1
pop esi
add esp, 0x18
ret
Function at 0x545160f0
Capabilities:
Get socket status

Disassembly:
mov eax, 0x2108
call fcn.545173a0
mov eax, dword [0x5454141c]
xor eax, esp
mov dword [esp + 0x2104], eax
mov eax, dword [esp + 0x210c]
push ebx
mov ebx, dword [eax]
push esi
push edi
mov edi, dword [eax + 4]
jmp 0x54516120
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 1
xor eax, eax
mov edi, edi
cmp dword [esp + eax*4 + 0x10], edi
je 0x5451613e
add eax, 1
cmp eax, 1
jb 0x54516130
cmp eax, 1
jne 0x5451614f
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], 2
push 0
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x545161f4
lea ecx, [esp + 0xc]
push ecx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x545161ab
push 0
push 0x2000
lea edx, [esp + 0x118]
push edx
push edi
call dword [0x54542c3c]
mov esi, eax
test esi, esi
jle 0x545161f4
push esi
lea eax, [esp + 0x114]
push eax
push ebx
call fcn.54515520
add esp, 0xc
cmp eax, esi
jne 0x545161f4
lea ecx, [esp + 0xc]
push ecx
push ebx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x54516120
push 0
push 0x2000
lea edx, [esp + 0x118]
push edx
push ebx
call dword [0x54542c3c]
mov esi, eax
test esi, esi
jle 0x545161f4
push esi
lea eax, [esp + 0x114]
push eax
push edi
call fcn.54515520
add esp, 0xc
cmp eax, esi
je 0x54516120
mov ecx, dword [esp + 0x2110]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.54516b6f
add esp, 0x2108
ret

Function at 0x545162b0
Capabilities:
Get file size

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
or edi, 0xffffffff
push eax
mov dword [esp + 0x30], edi
call dword [0x54542914]
mov esi, eax
cmp esi, edi
je 0x5451634c
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x54516345
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
mov ebp, dword [esp + 0x2c]
push 0
push 0
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x54516343
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
sub eax, ebp
sbb ecx, ebx
push ecx
push eax
push esi
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
call fcn.54515b80
mov edi, eax
add esp, 0x10
cmp edi, dword [esp + 0x10]
jne 0x5451633c
cmp edx, dword [esp + 0x14]
je 0x54516343
or edi, 0xffffffff
mov dword [esp + 0x1c], edi
pop ebp
pop ebx
push esi
call dword [0x54542850]
mov eax, edi
pop edi
pop esi
add esp, 0x10
ret

Function at 0x54516b6f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5454141c]
jne 0x54516b79
repz ret
jmp fcn.5451ab92
Function at 0x5451f81b
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x54542018]
je 0x5451f836
inc edi
cmp edi, 0x17
jb 0x5451f827
cmp edi, 0x17
jae 0x5451f9b6
push ebp
push 3
call fcn.54523af7
cmp eax, 1
pop ecx
je 0x5451f982
push 3
call fcn.54523af7
test eax, eax
pop ecx
jne 0x5451f86a
cmp dword [0x545453b4], 1
je 0x5451f982
cmp ebx, 0xfc
je 0x5451f9b5
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x545458f0
push ebp
call fcn.5451c0d1
add esp, 0xc
test eax, eax
je 0x5451f8a0
push esi
push esi
push esi
push esi
push esi
call fcn.545177a6
add esp, 0x14
push 0x104
mov esi, 0x54545909
push esi
push 0
mov byte [0x54545a0d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x5451f8e4
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.5451c0d1
add esp, 0xc
test eax, eax
je 0x5451f8e4
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.545177a6
add esp, 0x14
push esi
call fcn.5451c140
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x5451f929
push esi
call fcn.5451c140
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x54545c04
push 0x54536064
sub ecx, eax
push ecx
push eax
call fcn.54521dd6
add esp, 0x14
test eax, eax
je 0x5451f929
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.545177a6
add esp, 0x14
jmp 0x5451f92b
xor esi, esi
push 0x54536060
push ebx
push ebp
call fcn.54521d15
add esp, 0xc
test eax, eax
je 0x5451f94b
push esi
push esi
push esi
push esi
push esi
call fcn.545177a6
add esp, 0x14
push dword [edi*8 + str._b_ST_b]
push ebx
push ebp
call fcn.54521d15
add esp, 0xc
test eax, eax
je 0x5451f96d
push esi
push esi
push esi
push esi
push esi
call fcn.545177a6
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.5452393a
add esp, 0xc
jmp 0x5451f9b5
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x5451f9b5
cmp ebp, 0xffffffff
je 0x5451f9b5
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + str._b_ST_b]
push dword [esi]
call fcn.5451c140
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x5452393a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.54519a83
xor ebx, ebx
cmp dword [0x54545d90], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x54523a10
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x54523af0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x54523af0
push eax
call fcn.54519a15
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x54545d90], eax
call esi
push eax
call fcn.54519a15
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x54545d94], eax
call esi
push eax
call fcn.54519a15
mov dword [0x54545d98], eax
lea eax, [ebp - 0xc]
push eax
call fcn.5451ef50
test eax, eax
pop ecx
pop ecx
je 0x545239de
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.545177a6
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x54523a10
push 0x545371c0
push edi
call esi
push eax
call fcn.54519a15
cmp eax, ebx
pop ecx
mov dword [0x54545da0], eax
je 0x54523a10
push 0x545371a8
push edi
call esi
push eax
call fcn.54519a15
pop ecx
mov dword [0x54545d9c], eax
mov eax, dword [0x54545d9c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x54523a95
cmp dword [0x54545da0], ecx
je 0x54523a95
push eax
call fcn.54519a8c
push dword [0x54545da0]
mov esi, eax
call fcn.54519a8c
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x54523a95
cmp edi, ebx
je 0x54523a95
call esi
cmp eax, ebx
je 0x54523a62
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x54523a62
test byte [ebp - 0x18], 1
jne 0x54523a95
lea eax, [ebp - 0x10]
push eax
call fcn.5451ef87
test eax, eax
pop ecx
je 0x54523a7d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.545177a6
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x54523a8c
or dword [ebp + 0x10], 0x200000
jmp 0x54523ad0
or dword [ebp + 0x10], 0x40000
jmp 0x54523ad0
mov eax, dword [0x54545d94]
cmp eax, dword [ebp - 8]
je 0x54523ad0
push eax
call fcn.54519a8c
cmp eax, ebx
pop ecx
je 0x54523ad0
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x54523ad0
mov eax, dword [0x54545d98]
cmp eax, dword [ebp - 8]
je 0x54523ad0
push eax
call fcn.54519a8c
cmp eax, ebx
pop ecx
je 0x54523ad0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x54545d90]
call fcn.54519a8c
cmp eax, ebx
pop ecx
je 0x54523af0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x54523af2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x856380
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa99deb
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0xb196ec]
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 dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x470]
inc eax
push eax
call fcn.00a77370
mov ebx, eax
add esp, 4
mov dword [ebp - 0x21c], ebx
test ebx, ebx
je 0x856523
mov ecx, dword [edi + 0x470]
inc ecx
push ecx
push 0
push ebx
call fcn.00a7ffb0
mov edx, dword [edi + 0x470]
inc edx
add esp, 0xc
push edx
lea esi, [edi + 0x47c]
push str.WinHttpReadData___u_
mov edx, esi
call fcn.00853e40
add esp, 8
cmp dword [0xb53f4c], 0
je 0x856423
push esi
push 0xaa8700
push 0
call fcn.0096a780
add esp, 0xc
mov eax, dword [edi + 0x470]
lea ecx, [eax + 1]
add dword [edi + 0x454], ecx
mov ecx, dword [edi + 0x454]
push ecx
inc eax
push eax
lea edx, [edi + 0x350]
push str.HttpReadData___u___Total:__u_
push edx
call fcn.0096a780
add esp, 0x10
call fcn.0098dbb0
mov eax, dword [edi + 0x470]
mov ecx, dword [edi + 0x46c]
push 0
push eax
push ebx
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x85653c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push ebx
push esi
push str._s:_Error__d_encountered.
lea edx, [ebp - 0x218]
call fcn.00853e40
add esp, 0xc
xor edx, edx
lea eax, [ebp - 0x218]
mov word [ebp - 0x234], dx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x8564b6
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x238]
call fcn.0085d720
push 0xffffffffffffffff
mov byte [ebp - 4], 1
push 0
lea ecx, [edi + 0x230]
mov eax, esi
mov dword [edi + 0x22c], 1
call fcn.0085d4c0
cmp dword [ebp - 0x220], 8
mov dword [edi + 0x228], ebx
jb 0x856514
mov eax, dword [ebp - 0x234]
push eax
call fcn.00a7a9b9
add esp, 4
mov ecx, dword [ebp - 0x21c]
push ecx
call fcn.00a7a976
add esp, 4
xor al, al
jmp 0x85653e
mov al, 1
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.00a78f21
mov esp, ebp
pop ebp
ret
Function at 0x8599c0
Capabilities:
Create thread

Disassembly:
sub esp, 0xa38
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0xa34], eax
push ebp
mov ebp, dword [esp + 0xa44]
push esi
mov esi, ecx
test esi, esi
je 0x859acf
cmp byte [esi], 0
je 0x859acf
push 0xa30
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00a7ffb0
lea edx, [esp + 0x1c]
add esp, 0xc
mov eax, esi
sub edx, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x859a10
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + str.MONITOR]
mov byte [esp + eax + 0x218], cl
inc eax
test cl, cl
jne 0x859a20
lea edx, [esp + 0x420]
mov eax, edi
sub edx, edi
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x859a40
test ebx, ebx
je 0x859a6a
cmp byte [ebx], cl
je 0x859a6a
lea edx, [esp + 0x628]
mov eax, ebx
sub edx, ebx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x859a60
mov ecx, dword [esp + 0xa44]
mov dword [esp + 8], 0
mov dword [esp + 0xa38], ecx
test ebp, ebp
je 0x859a9f
cmp byte [ebp], 0
je 0x859a9f
lea edx, [esp + 0x830]
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x859a95
lea edx, [esp + 8]
push edx
push 0
push fcn.00859830
call fcn.00a791b2
add esp, 0xc
cmp dword [esp + 8], 0
mov dword [esp + 0xc], eax
jne 0x859acf
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call esi
cmp dword [esp + 8], 0
je 0x859ac4
mov ecx, dword [esp + 0xa3c]
pop esi
pop ebp
xor ecx, esp
call fcn.00a78f21
add esp, 0xa38
ret
Function at 0x85ef10
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0xb196ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x61c]
xor ebx, ebx
push str.SOFTWAREMicroWorldFBackUpFBCache
push eax
xor esi, esi
mov dword [ebp - 0x620], ebx
mov dword [ebp - 0x624], ebx
call fcn.00a78f30
add esp, 8
lea ecx, [ebp - 0x620]
push ecx
push 0x20019
push ebx
lea edx, [ebp - 0x61c]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, ebx
jne 0x85f178
push 0x103
lea eax, [ebp - 0x107]
push ebx
push eax
mov byte [ebp - 0x108], bl
call fcn.00a7ffb0
push 0x40f
lea ecx, [ebp - 0x517]
push ebx
push ecx
mov byte [ebp - 0x518], bl
call fcn.00a7ffb0
mov eax, dword [ebp - 0x620]
add esp, 0x18
push 0x104
lea edx, [ebp - 0x108]
push edx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x85f0f5
nop
cmp byte [ebp - 0x108], bl
je 0x85f0f5
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0x518]
push 0xaac2e4
push eax
call fcn.00a78f30
add esp, 0x10
cmp byte [ebp - 0x518], bl
je 0x85f172
lea ecx, [ebp - 0x518]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [ebp - 0x518]
dec edx
cmp byte [eax + edx], 0x5c
je 0x85f172
cmp dword [0xb32da4], 0xffffffff
jne 0x85f04b
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0xb32da4
xor ebx, ebx
xor edx, edx
xor ecx, ecx
call fcn.009691d0
add esp, 0x20
cmp dword [0xb32da4], ebx
jne 0x85f134
lea eax, [ebp - 0x518]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edi, eax
cmp edi, 2
jne 0x85f083
lea ecx, [ebp - 0x518]
push ecx
call fcn.00989f40
cmp eax, 1
jne 0x85f083
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, ebx
jne 0x85f172
inc dword [ebp - 0x624]
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x103
lea ecx, [ebp - 0x107]
push ebx
push ecx
mov byte [ebp - 0x108], bl
call fcn.00a7ffb0
push 0x40f
lea edx, [ebp - 0x517]
push ebx
push edx
mov byte [ebp - 0x518], bl
call fcn.00a7ffb0
mov ecx, dword [ebp - 0x620]
add esp, 0x18
push 0x104
lea eax, [ebp - 0x108]
push eax
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x85efd0
mov eax, dword [ebp - 0x620]
cmp eax, ebx
je 0x85f10c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x620], ebx
push 0x80000002
xor eax, eax
mov edi, str.SOFTWAREMicroWorldFBackUpFBCache
call fcn.0095fbe0
mov eax, dword [ebp - 0x624]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
push ebx
lea edx, [ebp - 0x518]
push edx
push 0x80000002
call fcn.0095f730
mov edi, eax
add esp, 0xc
cmp edi, 2
jne 0x85f163
lea eax, [ebp - 0x518]
push eax
call fcn.00989f40
cmp eax, 1
jne 0x85f163
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, ebx
je 0x85f092
inc esi
jmp 0x85f098
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00a78f21
mov esp, ebp
pop ebp
ret