joyce8/EMBER2024-capa huggingface dataset:
Function at 0x537574
Capabilities:
Inspect section memory permissions

Disassembly:
sub eax, eax
sub ebx, ebx
bt ecx, 0xa
jae 0x537583
or eax, 0x80
bt ecx, 0x17
jae 0x53758c
or eax, 0x40
bt ecx, 0xd
jae 0x537595
or eax, 0x20
bt ecx, 0x10
jae 0x53759e
or eax, 0x10
bt ecx, 7
jae 0x5375a7
or eax, 8
bt ecx, 3
jae 0x5375b0
or eax, 4
bt ecx, 5
jae 0x5375b9
or eax, 2
bt ecx, 0x1c
jae 0x5375c2
or eax, 1
bt ecx, 9
jae 0x5375cd
or eax, 0x8000
bt ecx, 2
jae 0x5375d8
or eax, 0x4000
bt ecx, 0x13
jae 0x5375e3
or eax, 0x2000
bt ecx, 0xe
jae 0x5375ee
or eax, 0x1000
bt ecx, 0x11
jae 0x5375f9
or eax, 0x800
bt ecx, 0x15
jae 0x537604
or eax, 0x400
bt ecx, 0xc
jae 0x53760f
or eax, 0x200
bt ecx, 4
jae 0x53761a
or eax, 0x100
bt ecx, 0x1e
jae 0x537625
or eax, 0x800000
bt ecx, 0
jae 0x537630
or eax, 0x400000
bt ecx, 8
jae 0x53763b
or eax, 0x200000
bt ecx, 1
jae 0x537646
or eax, 0x100000
bt ecx, 0x1d
jae 0x537651
or eax, 0x80000
bt ecx, 0x14
jae 0x53765c
or eax, 0x40000
bt ecx, 0xb
jae 0x537667
or eax, 0x20000
bt ecx, 6
jae 0x537672
or eax, 0x10000
bt edx, 0xf
jae 0x53767d
or eax, 0x80000000
bt edx, 0x14
jae 0x537688
or eax, 0x40000000
bt edx, 0x19
jae 0x537693
or eax, 0x20000000
bt edx, 3
jae 0x53769e
or eax, 0x10000000
bt edx, 9
jae 0x5376a9
or eax, 0x8000000
bt edx, 0x11
jae 0x5376b4
or eax, 0x4000000
bt edx, 0x1a
jae 0x5376bf
or eax, 0x2000000
bt edx, 0
jae 0x5376ca
or eax, 0x1000000
bt edx, 0x15
jae 0x5376d6
or ebx, 0x80
bt edx, 0xb
jae 0x5376df
or ebx, 0x40
bt edx, 7
jae 0x5376e8
or ebx, 0x20
bt edx, 8
jae 0x5376f1
or ebx, 0x10
bt edx, 0xc
jae 0x5376fa
or ebx, 8
bt edx, 0x17
jae 0x537703
or ebx, 4
bt edx, 1
jae 0x53770c
or ebx, 2
bt edx, 0x10
jae 0x537715
or ebx, 1
bt edx, 6
jae 0x537721
or ebx, 0x8000
bt edx, 0x13
jae 0x53772d
or ebx, 0x4000
bt edx, 0xa
jae 0x537739
or ebx, 0x2000
bt edx, 0xe
jae 0x537745
or ebx, 0x1000
bt edx, 0x16
jae 0x537751
or ebx, 0x800
bt edx, 4
jae 0x53775d
or ebx, 0x400
bt edx, 0x1b
jae 0x537769
or ebx, 0x200
bt edx, 0x18
jae 0x537775
or ebx, 0x100
ret

Function at 0x537780
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
call fcn.005370c0
test eax, eax
je 0x5377d4
mov ecx, dword [esi + 8]
call fcn.00537100
cmp eax, 0x65
je 0x5377ba
cmp eax, 0x6b
je 0x5377ba
cmp eax, 0x6c
je 0x5377ba
cmp eax, 0xa
je 0x5377ba
cmp eax, 7
je 0x5377ba
cmp eax, 0x19
je 0x5377ba
cmp eax, 0x1a
jne 0x5377cb
push str.Data_files_damaged.__Need_to_rewrite.
push 3
push 0x64
call fcn.004edf50
add esp, 0xc
mov ecx, dword [esi + 8]
pop esi
jmp fcn.005370a0
pop esi
ret
Function at 0x551f20
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push ebp
push esi
mov esi, edx
mov eax, esi
mov ebp, ecx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x551f30
sub eax, edx
inc eax
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x551f89
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x551f56
sub ecx, edi
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x551f8f
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
pop ebp
xor eax, eax
pop ebx
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x551fb0
Capabilities:
Open clipboard

Disassembly:
sub esp, 8
push ecx
mov dword [esp + 4], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x551fca
add esp, 8
ret
push esi
push 1
call dword [0x639178]
mov esi, eax
test esi, esi
je 0x551ffd
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
lea edx, [ecx + 1]
push ebx
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x551fe6
sub ecx, edx
pop ebx
mov dword [esp + 8], ecx
jne 0x55200a
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
pop esi
add esp, 8
ret
mov edx, eax
lea ecx, [esp + 4]
call fcn.004ea010
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 4]
pop esi
add esp, 8
ret

Function at 0x5529e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
push 0
lea eax, [esp + 0xc]
push eax
mov esi, ecx
mov edx, dword [esi + 8]
push 2
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esi + 8]
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ax, word [esp + 4]
cmp al, 0xff
pop esi
jne 0x552a26
cmp ah, 0xfe
jne 0x552a26
mov eax, 1
add esp, 8
ret
xor eax, eax
add esp, 8
ret
Function at 0x552d70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
push esi
push edi
push eax
mov esi, ecx
call fcn.0051b770
lea ecx, [esp + 8]
mov dword [esi], 0x6138f8
call fcn.00506890
mov ecx, dword [esp + 0x1c]
push 0x3a
push ecx
lea ecx, [esp + 0x10]
call fcn.005067d0
mov edx, dword [esp + 0x10]
push 0x3a
push edx
lea ecx, [esp + 0x10]
call fcn.005067d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x552df2
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x552df2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push 0
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
lea ecx, [esp + 8]
call fcn.005066c0
pop edi
mov eax, esi
pop esi
add esp, 0xc
ret 8

Function at 0x552f80
Capabilities:
Initialize winsock library

Disassembly:
mov eax, 0x190
call fcn.005e6090
push esi
lea eax, [esp + 4]
push eax
push 0x101
mov esi, ecx
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x552fb9
mov eax, dword [esi + 0x60]
mov ecx, dword [eax]
push str.WinSock_failed_nto_initialize_
push eax
call dword [ecx + 0x48]
add esp, 8
pop esi
add esp, 0x190
ret
mov ax, word [esp + 4]
cmp al, 1
jne 0x552fd0
cmp ah, al
jne 0x552fd0
xor eax, eax
pop esi
add esp, 0x190
ret
call fcn.005f3ed6
mov eax, dword [esi + 0x60]
mov edx, dword [eax]
push str.WinSock_1.1_failed_
push eax
call dword [edx + 0x48]
add esp, 8
pop esi
add esp, 0x190
ret

Function at 0x5530e0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
push eax
lea ecx, [esp + 0x10]
call fcn.004e1d10
lea ecx, [esp + 0xc]
call fcn.004e1b90
lea ecx, [esp + 0xc]
mov edi, eax
call fcn.004e1ba0
mov esi, eax
test esi, esi
jbe 0x55312a
mov ecx, dword [ebx + 8]
push 0
push esi
push edi
push ecx
call sub.WSOCK32.dll_send
cmp eax, 0xffffffff
je 0x55313e
sub esi, eax
add edi, eax
test esi, esi
ja 0x553110
lea ecx, [esp + 0xc]
call fcn.004e1cc0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 8
lea ecx, [esp + 0xc]
call fcn.004e1cc0
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret 8
Function at 0x5535a0
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x14
push ebx
mov ebx, edx
push ebp
mov ebp, ecx
lea ecx, [ebx + 2]
mov eax, 0xaaaaaaab
mul ecx
mov ecx, edx
shr ecx, 1
shl ecx, 2
lea edx, [ecx + 0x47]
mov eax, 0x38e38e39
mul edx
push esi
shr edx, 4
lea ecx, [ecx + edx*2 + 1]
push edi
xor esi, esi
xor edi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], ecx
call fcn.004dc4c0
mov ecx, eax
mov eax, ebx
xor edx, edx
mov ebx, 3
div ebx
test eax, eax
mov dword [esp + 0x1c], edx
jbe 0x553697
mov dword [esp + 0x18], eax
jmp 0x553600
mov al, byte [edi + ebp]
mov dl, byte [edi + ebp + 1]
inc edi
mov bl, byte [edi + ebp + 1]
movzx eax, al
inc edi
mov byte [esp + 0x13], bl
mov ebx, eax
shr ebx, 2
mov bl, byte [ebx + 0x62d6f0]
mov byte [ecx + esi], bl
movzx ebx, dl
and eax, 3
shl eax, 4
mov edx, ebx
shr edx, 4
or edx, eax
mov al, byte [edx + 0x62d6f0]
mov byte [ecx + esi + 1], al
movzx eax, byte [esp + 0x13]
inc edi
inc esi
mov edx, eax
and ebx, 0xf
shr edx, 6
shl ebx, 2
or edx, ebx
mov dl, byte [edx + 0x62d6f0]
and eax, 0x3f
inc esi
mov byte [ecx + esi], dl
mov al, byte [eax + 0x62d6f0]
inc esi
mov byte [ecx + esi], al
mov eax, dword [esp + 0x14]
add eax, 4
mov dword [esp + 0x14], eax
add eax, 4
inc esi
cmp eax, 0x48
jbe 0x55368d
mov byte [ecx + esi], 0xd
inc esi
mov byte [ecx + esi], 0xa
inc esi
mov dword [esp + 0x14], 0
dec dword [esp + 0x18]
jne 0x553600
mov eax, dword [esp + 0x1c]
dec eax
je 0x5536e3
dec eax
jne 0x553710
mov al, byte [edi + ebp]
mov dl, byte [edi + ebp + 1]
movzx eax, al
mov edi, eax
shr edi, 2
mov bl, byte [edi + 0x62d6f0]
movzx edx, dl
and eax, 3
mov edi, edx
shl eax, 4
mov byte [ecx + esi], bl
shr edi, 4
or edi, eax
mov al, byte [edi + 0x62d6f0]
inc esi
mov byte [ecx + esi], al
inc esi
and edx, 0xf
mov dl, byte [edx*4 + 0x62d6f0]
mov byte [ecx + esi], dl
jmp 0x55370a
movzx eax, byte [edi + ebp]
mov edx, eax
shr edx, 2
mov dl, byte [edx + 0x62d6f0]
and eax, 3
mov byte [ecx + esi], dl
shl eax, 4
mov al, byte [eax + 0x62d6f0]
inc esi
mov byte [ecx + esi], al
inc esi
mov byte [ecx + esi], 0x3d
inc esi
mov byte [ecx + esi], 0x3d
inc esi
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov byte [ecx + esi], 0xd
inc esi
mov byte [ecx + esi], 0xa
mov byte [ecx + esi + 1], 0
pop edi
pop esi
mov dword [edx], ecx
mov ecx, dword [esp + 0x18]
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x14
ret 8
Function at 0x553920
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns
Set socket configuration

Disassembly:
mov eax, 0x20
call fcn.005e6090
push esi
mov esi, ecx
xor ecx, ecx
mov cx, word [esi + 0x30]
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov word [esp + 4], 2
push ecx
call sub.WSOCK32.dll_htons
mov edx, dword [esi + 0x24]
push edx
lea ecx, [esp + 0x18]
mov word [esp + 0xa], ax
call fcn.004e1d10
lea ecx, [esp + 0x14]
call fcn.004e1b90
push eax
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
jne 0x5539be
lea ecx, [esp + 0x14]
call fcn.004e1b90
push eax
call sub.WSOCK32.dll_gethostbyname
test eax, eax
jne 0x5539b7
call fcn.005f3ed6
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x60]
mov ecx, dword [eax]
push edx
push str.Unknown_Mail_Server_n_s_
push eax
call dword [ecx + 0x48]
add esp, 0xc
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004e1cc0
mov eax, esi
pop esi
add esp, 0x20
ret
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push 6
push 1
push 2
mov dword [esp + 0x14], eax
call sub.WSOCK32.dll_socket
cmp eax, 0xffffffff
mov dword [esi + 8], eax
jne 0x5539e1
call fcn.005f3ed6
push str.Failed_to_connect_nto_Mail_Socket_
jmp 0x5539fd
push 0x10
lea ecx, [esp + 8]
push ecx
push eax
call sub.WSOCK32.dll_connect
cmp eax, 0xffffffff
jne 0x553a1b
call fcn.005f3ed6
push str.Failed_to_connect_nto_Mail_Server_
mov esi, dword [esi + 0x60]
mov edx, dword [esi]
push esi
call dword [edx + 0x48]
add esp, 8
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004e1cc0
mov eax, esi
pop esi
add esp, 0x20
ret
lea ecx, [esp + 0x14]
call fcn.004e1cc0
xor eax, eax
pop esi
add esp, 0x20
ret

Function at 0x553bb0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 8]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x18], 0x10
call sub.WSOCK32.dll_getsockname
push 2
push 0x10
lea eax, [esp + 0x1c]
push eax
call sub.WSOCK32.dll_gethostbyaddr
test eax, eax
je 0x553be8
mov edx, dword [eax]
jmp 0x553bf4
mov ecx, dword [esp + 0x14]
push ecx
call sub.WSOCK32.dll_inet_ntoa
mov edx, eax
lea ecx, [esp + 8]
call fcn.004ea010
mov eax, dword [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x553c04
sub eax, edx
lea ecx, [eax + 0xa]
call fcn.004dc4c0
push str.ESMTP
push 0x724808
mov esi, eax
call fcn.005e61c0
add esp, 8
test eax, eax
je 0x553c39
mov edx, dword [esp + 8]
push edx
push str.EHLO__s_r_n
jmp 0x553c43
mov eax, dword [esp + 8]
push eax
push str.HELO__s_r_n
push esi
call fcn.005e6246
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x553c51
sub eax, edx
push eax
push esi
mov ecx, edi
call fcn.005530e0
cmp eax, 1
jne 0x553c6c
mov edi, eax
jmp 0x553c7a
push 0x613b4c
mov ecx, edi
call fcn.00553060
mov edi, eax
mov ecx, dword [esp + 8]
call fcn.004dc6a0
mov ecx, esi
call fcn.004dc6a0
mov eax, edi
pop edi
pop esi
add esp, 0x18
ret
Function at 0x554b00
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
push esi
push 0
mov esi, ecx
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
je 0x554b24
mov esi, dword [esi + 0x60]
mov eax, dword [esi]
push str.Could_not_connect_nto_Internet.
push esi
call dword [eax + 0x48]
add esp, 8
pop esi
pop ecx
ret
mov ecx, esi
call fcn.00552f80
cmp eax, 1
je 0x554b3c
mov ecx, esi
call fcn.00553920
cmp eax, 1
jne 0x554b44
mov eax, 1
pop esi
pop ecx
ret
push 0x613f84
mov ecx, esi
call fcn.00553060
cmp eax, 1
jne 0x554b69
mov esi, dword [esi + 0x60]
mov ecx, dword [esi]
push str.Mail_server_nconnection_nfailure_
push esi
call dword [ecx + 0x48]
add esp, 8
pop esi
pop ecx
ret
mov ecx, esi
call fcn.00553bb0
cmp eax, 1
jne 0x554b89
mov esi, dword [esi + 0x60]
mov edx, dword [esi]
push str.Mail_server_ndid_not_nhandshake_
push esi
call dword [edx + 0x48]
add esp, 8
pop esi
pop ecx
ret
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x554be2
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x554be2
push edi
lea edi, [ecx + 1]
jmp 0x554ba0
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x554ba0
sub ecx, edi
mov dword [esp + 8], ecx
pop edi
je 0x554be2
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x554bb3
sub eax, edx
mov dword [esp + 4], eax
je 0x554be2
mov ecx, esi
call fcn.00553ca0
cmp eax, 1
jne 0x554be2
mov esi, dword [esi + 0x60]
mov eax, dword [esi]
push str.Authentication_failed_
push esi
call dword [eax + 0x48]
add esp, 8
pop esi
pop ecx
ret
xor eax, eax
pop esi
pop ecx
ret
Function at 0x554f40
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x555072
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
jne 0x555072
push eax
push eax
push eax
push eax
push 0x602fd8
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 0x10], eax
jne 0x554f9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x555072
mov edx, dword [esi + 0x14]
push edx
push str.Could_not_Open_Internet_Connection:__s
jmp 0x555064
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x24]
push 0
push 0
push 1
push ecx
xor ecx, ecx
mov cx, word [esi + 0x20]
push edx
mov edx, dword [esi + 0x1c]
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [esi + 0xc], eax
jne 0x55500a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 4]
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0xc]
test eax, eax
mov dword [esi + 0x10], 0
jne 0x555072
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 4]
push eax
push str.Could_not_Connect_to_Internet:__s
push 0
push ecx
call fcn.00559d40
add esp, 0x10
mov eax, 1
pop esi
ret 8
mov edx, dword [esp + 8]
mov ecx, dword [esi + 0x2c]
push 0
push 2
push edx
push ecx
push eax
call dword [sym.imp.WININET.dll_FtpOpenFileA]
test eax, eax
mov dword [esi + 8], eax
jne 0x55507b
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [edx + 4], eax
mov eax, dword [esi + 0xc]
push eax
call edi
mov ecx, dword [esi + 0x10]
push ecx
call edi
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
pop edi
jne 0x555072
mov edx, dword [esi + 0x14]
push edx
push str.Could_not_Open_File_on_Server:__s
mov eax, dword [esi + 4]
push 0
push eax
call fcn.00559d40
add esp, 0x10
mov eax, 1
pop esi
ret 8
xor eax, eax
pop esi
ret 8
Function at 0x555310
Capabilities:
Parse url

Disassembly:
mov eax, 0x40
call fcn.005e6090
push ebx
mov ebx, dword [esp + 0x48]
push ebp
push esi
push edi
mov ebp, ecx
xor eax, eax
push eax
mov ecx, 0xf
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
mov esi, 1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x5c]
push ecx
push ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x3c
mov dword [esp + 0x2c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], esi
call edi
mov eax, dword [esp + 0x10]
cmp eax, esi
ja 0x55538a
lea ecx, [ebp + 0x14]
mov edx, ebx
call fcn.004ea010
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4
lea ecx, [eax + 1]
call fcn.004dc4c0
push 0
lea edx, [esp + 0x14]
push edx
push eax
lea esi, [ebp + 0x14]
push ebx
mov dword [esi], eax
call edi
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
mov byte [ecx + eax], 0
mov ecx, dword [esi]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5553b3
lea edx, [esp + 0x14]
push edx
push 0
sub eax, edi
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x55545a
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5553e8
mov edx, dword [esp + 0x18]
push eax
lea ecx, [ebp + 0x18]
call fcn.004ea050
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5553fd
mov edx, dword [esp + 0x24]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004ea050
mov ax, word [esp + 0x2c]
test ax, ax
mov word [ebp + 0x20], ax
jne 0x555411
mov word [ebp + 0x20], 0x15
mov eax, dword [esp + 0x34]
test eax, eax
je 0x555426
mov edx, dword [esp + 0x30]
push eax
lea ecx, [ebp + 0x24]
call fcn.004ea050
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x55543b
mov edx, dword [esp + 0x38]
push eax
lea ecx, [ebp + 0x28]
call fcn.004ea050
mov eax, dword [esp + 0x44]
test eax, eax
je 0x555470
mov edx, dword [esp + 0x40]
push eax
lea ecx, [ebp + 0x2c]
call fcn.004ea050
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4
mov ecx, dword [esi]
call fcn.004dc6a0
mov ecx, esi
mov edx, ebx
mov dword [esi], 0
call fcn.004ea010
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4
Function at 0x574d90
Capabilities:
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
xor esi, esi
xor edi, edi
mov dword [esp + 0x18], edx
mov ebp, ecx
xor ebx, ebx
cmp ebx, 3
ja case.default.0x574da8
jmp dword [ebx*4 + 0x574f1c]
lea edi, [ebp + 0x400]
jmp case.default.0x574da8
mov edi, ebp
jmp case.default.0x574da8
lea edi, [ebp + 0xc48]
jmp case.default.0x574da8
lea edi, [ebp + 0x800]
mov eax, ebx
shl eax, 0xa
xor ecx, ecx
add eax, 0x615c08
mov edx, dword [eax]
mov dword [edi + ecx*4], edx
inc ecx
add eax, 4
cmp ecx, 0x100
jl 0x574dd5
inc ebx
cmp ebx, 4
jl 0x574da3
mov ebx, dword [esp + 0x20]
lea ecx, [ebp + 0xc00]
xor eax, eax
mov dword [esp + 0x10], 0x615bc0
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x18]
movzx ecx, byte [eax + edx]
shl esi, 8
or ecx, esi
inc eax
cmp eax, ebx
jl 0x574e18
xor eax, eax
movzx esi, byte [eax + edx]
shl ecx, 8
or esi, ecx
inc eax
cmp eax, ebx
jl 0x574e28
xor eax, eax
movzx ecx, byte [eax + edx]
shl esi, 8
or ecx, esi
inc eax
cmp eax, ebx
jl 0x574e38
xor eax, eax
movzx esi, byte [eax + edx]
shl ecx, 8
or esi, ecx
inc eax
cmp eax, ebx
jl 0x574e48
xor eax, eax
mov edx, dword [esp + 0x10]
mov ecx, dword [edx]
mov edx, dword [esp + 0x14]
xor ecx, esi
mov dword [edx], ecx
mov ecx, dword [esp + 0x10]
add ecx, 4
add edx, 4
cmp ecx, 0x615c08
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
jl 0x574e04
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], eax
lea esi, [ebp + 0xc04]
mov ebx, 9
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x24]
mov ecx, ebp
call fcn.005749d0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov dword [esi - 4], eax
mov dword [esi], ecx
add esi, 8
dec ebx
jne 0x574e85
xor ebx, ebx
lea ebx, [ebx]
cmp ebx, 3
ja case.default.0x574eb5
jmp dword [ebx*4 + 0x574f2c]
lea edi, [ebp + 0x400]
jmp case.default.0x574eb5
mov edi, ebp
jmp case.default.0x574eb5
lea edi, [ebp + 0xc48]
jmp case.default.0x574eb5
lea edi, [ebp + 0x800]
xor esi, esi
jmp 0x574ee0
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x24]
mov ecx, ebp
call fcn.005749d0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov dword [edi + esi*4], eax
mov dword [edi + esi*4 + 4], ecx
add esi, 2
cmp esi, 0x100
jl 0x574ee0
inc ebx
cmp ebx, 4
jl 0x574eb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x57d5c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x14]
mov ebp, dword [esi + 0x38]
push edi
mov edi, ecx
mov ecx, dword [eax + 0xc]
and ecx, 0x3f
cmp cl, 5
mov dword [esp + 0x10], edi
jne 0x57d5f0
mov esi, eax
mov eax, dword [esi + 0x14]
mov edx, dword [eax + 0xc]
and edx, 0x3f
cmp dl, 5
je 0x57d5e0
mov ecx, dword [esi + 0x40]
test ecx, ecx
mov eax, esi
je 0x57d610
lea esp, [esp]
mov eax, dword [ecx]
mov ecx, dword [eax + 0x40]
test ecx, ecx
jne 0x57d600
lea esp, [esp]
mov ecx, dword [edi + 0x64]
mov ebx, dword [eax + 0xb4]
push eax
call fcn.00576d20
test ebx, ebx
mov eax, ebx
je 0x57d635
mov cl, byte [ebx + 0x98]
test cl, 0x20
je 0x57d635
test cl, 0x10
je 0x57d610
mov ecx, esi
call fcn.004ecf40
mov edi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov ecx, dword [ebp + 0x60]
push esi
mov dword [esp + 0x1c], eax
call fcn.0054c310
dec dword [ebp + 0x6c]
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
test edi, edi
mov esi, dword [esp + 0x1c]
je 0x57d697
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x3c]
cmp ax, word [esp + 0x18]
jne 0x57d697
mov ecx, dword [edi + 0x70]
dec ecx
test esi, esi
mov dword [edi + 0x70], ecx
jne 0x57d68a
push 0x100
mov ecx, edi
call fcn.004eb1f0
mov ecx, edi
call fcn.004ecf40
mov edi, eax
test edi, edi
jne 0x57d665
test esi, esi
jne 0x57d6c7
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x78]
test ecx, ecx
je 0x57d6c7
call fcn.004e66c0
mov esi, eax
test esi, esi
je 0x57d6c7
push 1
mov ecx, esi
call fcn.004eb1f0
mov ecx, esi
call fcn.004ecf40
mov esi, eax
test esi, esi
jne 0x57d6b1
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret 8
Function at 0x589360
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x24
call fcn.005e6090
xor al, al
mov byte [esp + 4], al
mov byte [esp + 3], al
mov eax, dword [esp + 0x2c]
mov ecx, eax
shl ecx, 0xb
movsx edx, cx
sar edx, 0xb
mov byte [esp + 5], 0x10
mov byte [esp + 6], 0x18
mov byte [esp + 7], 0x20
mov byte [esp + 8], 0x28
mov byte [esp + 9], 0x30
mov byte [esp + 0xa], 0x38
mov byte [esp + 0xb], 0x40
mov byte [esp + 0xc], 0x48
mov byte [esp + 0xd], 0x50
mov byte [esp + 0xe], 0x58
mov byte [esp + 0xf], 0x60
mov byte [esp + 0x10], 0x68
mov byte [esp + 0x11], 0x70
mov byte [esp + 0x12], 0x78
mov byte [esp + 0x13], 0x80
mov byte [esp + 0x14], 0x88
mov byte [esp + 0x15], 0x90
mov byte [esp + 0x16], 0x98
mov byte [esp + 0x17], 0xa0
mov byte [esp + 0x18], 0xa8
mov byte [esp + 0x19], 0xb0
mov byte [esp + 0x1a], 0xb8
mov byte [esp + 0x1b], 0xc0
mov byte [esp + 0x1c], 0xc8
mov byte [esp + 0x1d], 0xd0
mov byte [esp + 0x1e], 0xd8
mov byte [esp + 0x1f], 0xe0
mov byte [esp + 0x20], 0xe8
mov byte [esp + 0x21], 0xf0
mov byte [esp + 0x22], 0xf8
mov byte [esp + 0x23], 0xff
mov cl, byte [esp + edx + 4]
mov edx, eax
mov byte [esp], cl
shl edx, 6
movsx ecx, dx
sar ecx, 0xb
mov dl, byte [esp + ecx + 4]
add eax, eax
movsx ecx, ax
mov eax, dword [esp + 0x28]
sar ecx, 0xb
mov byte [esp + 1], dl
mov dl, byte [esp + ecx + 4]
mov byte [esp + 2], dl
mov ecx, dword [esp]
mov dword [eax], ecx
add esp, 0x24
ret 8