joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001288a
Capabilities:
Capture webcam image
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, ecx
cmp edi, ebx
je 0x10012a50
cmp dword [edi + 0xc], 0x140
jne 0x100128bf
mov ecx, dword [esi + 0x3a4]
push ebx
push 0x10022208
call fcn.1000a2de
cmp dword [edi + 0xc], 0x141
jne 0x10012a4b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xc]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push eax
push 0x419
push dword [esi + 4]
call edi
lea ecx, [ebp - 0x1c]
push ecx
push eax
push 0x41d
push dword [esi + 4]
call edi
lea eax, [ebp - 0x1c]
push 2
push eax
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0xb
xor eax, eax
pop ecx
lea edi, [ebp - 0x64]
mov dword [ebp - 0x68], ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp - 4], eax
lea eax, [esi + 0x7ce]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea eax, [ebp - 0x38]
push 0x1a
mov dword [ebp - 0x60], ebx
push eax
push 0x10021acc
mov ebx, str.search
push str.current
push ebx
mov dword [ebp - 0x68], 0x30
mov dword [ebp - 0x64], 0x1b
call edi
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [ebp - 8], eax
pop ecx
lea eax, [esi + 0x7ce]
push eax
lea eax, [ebp - 0x38]
push 0x1a
push eax
push 0x10021acc
push 0x10021ac8
push ebx
call edi
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
mov dword [ebp - 0xc], eax
push 1
pop ecx
cmp eax, ecx
mov dword [ebp + 0xc], ecx
jl 0x10012a0f
jmp 0x1001299a
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 8]
jne 0x100129a8
mov dword [ebp - 0x5c], 8
jmp 0x100129ac
and dword [ebp - 0x5c], 0
push ecx
lea eax, [ebp - 0x38]
push str.text_d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [esi + 0x7ce]
push eax
lea eax, [ebp - 0xac]
push 0x41
push eax
lea eax, [ebp - 0x38]
push 0x10022238
push eax
push ebx
call edi
lea eax, [ebp - 0xac]
and dword [ebp - 0x54], 0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 0x1388]
mov dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x68]
push ecx
push 1
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_InsertMenuItemA]
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0xc]
jle 0x10012997
mov ebx, dword [ebp - 4]
xor edi, edi
cmp ebx, edi
je 0x10012a50
mov esi, dword [esi + 4]
push edi
push esi
push edi
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push edi
push ebx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
test eax, eax
push ebx
jne 0x10012a39
call dword [sym.imp.USER32.dll_DestroyMenu]
jmp 0x10012a50
mov esi, dword [sym.imp.USER32.dll_DestroyMenu]
call esi
push ebx
call esi
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
jmp 0x10012a50
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc
Function at 0x10012d07
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push esi
mov esi, ecx
cmp byte [esi + 0xb65], 0
je 0x10012d4d
and byte [esi + 0xb65], 0
lea eax, [ebp - 0x80]
push 0x7f
push eax
push dword [esi + 0x3f4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esi + 0x3a4]
lea eax, [ebp - 0x80]
push 1
push eax
call fcn.1000a2de
mov byte [esi + 0xb65], 1
xor eax, eax
pop esi
leave
ret 0x10
Function at 0x100138f3
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
movzx eax, word [ebp + 0xc]
push ebx
push esi
add eax, 0xffffec78
push edi
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
mov dword [ebp + 0xc], eax
push eax
lea eax, [ebp - 0x1c]
push 0x10021ad0
mov esi, ecx
push eax
call edi
add esp, 0xc
lea eax, [esi + 0x7ce]
mov ebx, str.search
push eax
lea eax, [ebp - 0x1c]
push eax
push str.current
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push dword [ebp + 0xc]
lea eax, [ebp - 0x38]
push str.text_d
push eax
call edi
add esp, 0xc
lea eax, [esi + 0x7ce]
push eax
lea eax, [ebp - 0x1c]
push 0x1a
push eax
lea eax, [ebp - 0x38]
push 0x10022238
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x58], 0x20
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x58]
push eax
push 0x141
push 0x442
mov dword [ebp - 0x54], 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, esi
call fcn.10016dee
push 0xffffffffffffffff
mov ecx, esi
call fcn.10012e0d
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10016dee
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push esi
mov esi, ecx
cmp dword [esi + 0x3f4], 0
je 0x10016f84
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x10]
push edi
push eax
mov edi, 0x41d
push 1
push edi
push dword [esi + 4]
call ebx
mov eax, dword [ebp - 8]
mov edx, 0xc8
sub eax, dword [ebp - 0x10]
cmp eax, edx
jl 0x10016e33
cmp eax, 0x258
jle 0x10016e93
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], 0x20
add eax, 0x64
mov dword [ebp - 0x2c], 0x40
cmp ax, 0x258
mov word [ebp - 0x1e], ax
jbe 0x10016e61
mov word [ebp - 0x1e], 0x258
cmp word [ebp - 0x1e], dx
jae 0x10016e6b
mov word [ebp - 0x1e], dx
lea eax, [ebp - 0x30]
push eax
push 0x140
push 0x442
push dword [esi + 4]
call ebx
lea eax, [ebp - 0x10]
push eax
push 1
push 0x41d
push dword [esi + 4]
call ebx
mov edi, 0x41d
mov eax, dword [ebp - 0x10]
push 0x16
pop ecx
add eax, 0x18
mov dword [ebp - 4], ecx
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
sub eax, dword [ebp - 0x10]
push 0
push ecx
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [esi + 0x3ac]
call dword [sym.imp.USER32.dll_MoveWindow]
lea eax, [ebp - 0x10]
push eax
push 1
push edi
push dword [esi + 4]
call ebx
mov eax, dword [ebp - 8]
add dword [ebp - 0x10], 0x18
push 0x17
sub eax, 0xd
pop ecx
mov dword [ebp - 8], eax
sub eax, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
sub ecx, dword [ebp - 0xc]
push 0
push ecx
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [esi + 0x3f4]
call dword [sym.imp.USER32.dll_MoveWindow]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x344]
inc eax
inc eax
push eax
push edi
push dword [esi + 4]
call ebx
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x50]
mov edi, 0x141
push eax
mov eax, dword [esi + 0x344]
add eax, edi
mov dword [ebp - 0x50], 0x20
push eax
push 0x442
push dword [esi + 4]
mov dword [ebp - 0x4c], 0x40
mov word [ebp - 0x3e], 0xa
call ebx
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x344]
add eax, edi
push eax
push 0x41d
push dword [esi + 4]
call ebx
push 0x16
pop eax
mov dword [ebp - 4], eax
sub eax, dword [ebp - 0xc]
push 0
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [esi + 0x358]
call dword [sym.imp.USER32.dll_MoveWindow]
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100170da
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
add ecx, 0x7ce
lea eax, [ebp - 0x1c]
push ecx
push 0x1a
push eax
push 0x10021acc
push 0x10021ac8
push str.search
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
leave
ret
Function at 0x100176d9
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebx, str.iescroll
lea eax, [esi + 0x9d6]
push eax
lea eax, [ebp - 0x20]
push 0x18
push eax
push 0x10021acc
push 0x1002280c
push ebx
call edi
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
test eax, eax
pop ecx
mov dword [ebp - 4], eax
jg 0x10017722
xor eax, eax
jmp 0x10017833
lea eax, [ebp - 8]
push eax
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
call dword [sym.imp.MSVCRT.dll_rand]
cdq
idiv dword [ebp - 4]
push 0x18
lea eax, [ebp - 0x20]
push 0
push eax
inc edx
mov dword [ebp - 4], edx
call sub.MSVCRT.dll_memset
push dword [ebp - 4]
lea eax, [ebp - 0x20]
push str.text_d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x20
lea ecx, [esi + 0x9d6]
lea eax, [esi + 0x201]
push ecx
push 0x41
push eax
lea eax, [ebp - 0x20]
push 0x100227f4
push eax
push ebx
call edi
push 0x18
lea eax, [ebp - 0x20]
push 0
push eax
call sub.MSVCRT.dll_memset
push dword [ebp - 4]
lea eax, [ebp - 0x20]
push str.url_d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x18
lea ecx, [esi + 0x9d6]
lea eax, [esi + 0x242]
push ecx
push 0x100
push eax
lea eax, [ebp - 0x20]
push str.http:__www.58wb.com__actionerrtoplink
push eax
push ebx
call edi
lea edi, [esi + 0x242]
push 0x100222f4
push edi
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
je 0x100177df
push str.mac
jmp 0x100177e4
push str._mac
push edi
call sub.MSVCRT.dll_strcat
pop ecx
lea eax, [esi + 0x180]
pop ecx
push eax
push edi
call sub.MSVCRT.dll_strcat
lea eax, [esi + 0x201]
pop ecx
mov dword [ebp - 0x28], eax
pop ecx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x20
push eax
mov eax, dword [esi + 0x344]
add eax, 0x142
mov dword [ebp - 0x3c], 2
push eax
push 0x442
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10017aa4
Capabilities:
Initialize iwebbrowser2
Read .ini file

Disassembly:
mov eax, 0x1001b9ec
call fcn.1001a990
sub esp, 0x13c
or word [ebp - 0x2c], 0xffff
push ebx
push esi
mov esi, ecx
mov word [ebp - 0x34], 0xb
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push 0x1001d31c
push 0x15
push ebx
push 0x1001d2fc
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
mov eax, dword [ebp - 0x10]
jl 0x10017bfc
cmp eax, ebx
je 0x10017c06
push edi
mov edi, dword [eax]
lea ecx, [ebp - 0x34]
call fcn.10008f47
push eax
push dword [ebp - 0x10]
call dword [edi + 0xa4]
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x147]
mov byte [ebp - 0x148], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x10021024]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.10017d29
movzx eax, word [ebp + 0xc]
sub eax, 0x7d0
push eax
lea eax, [ebp - 0x14]
push str.url_d
push eax
call fcn.1000c21f
add esp, 0xc
add esi, 0x9d6
lea eax, [ebp - 0x148]
push esi
push 0x104
push eax
push ebx
push dword [ebp - 0x14]
push str.iescroll
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x44]
mov word [ebp - 0x24], bx
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x148]
lea ecx, [ebp + 0xc]
push eax
mov word [ebp - 0x44], 8
call fcn.10008e73
mov eax, dword [eax]
pop edi
cmp eax, ebx
je 0x10017b9c
mov eax, dword [eax]
jmp 0x10017b9e
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
cmp ecx, ebx
je 0x10017bb0
call fcn.10008efa
mov dword [ebp + 0xc], ebx
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x10]
push edx
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x44]
push edx
push eax
call dword [ecx + 0xd0]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x44]
push eax
call esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.100018ba
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x34]
push eax
call esi
jmp 0x10017c14
cmp eax, ebx
je 0x10017c06
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x10017c1e
push eax
call fcn.1001a794
mov ecx, dword [ebp - 0xc]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x1001a395
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50c
and byte [ebp - 0x10c], 0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x10b]
mov esi, 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10c]
push esi
push eax
push dword [0x100229bc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
and byte [ebp - 4], 0
xor eax, eax
and byte [ebp - 0x30c], al
lea edi, [ebp - 3]
push 0x3f
and byte [ebp - 0x40c], 0
stosw word es:[edi], ax
pop ebx
lea edi, [ebp - 0x30b]
mov ecx, ebx
and byte [ebp - 0x50c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x40b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x50b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x50c]
push eax
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.MSVCRT.dll__splitpath]
push esi
lea eax, [ebp - 0x10c]
push 0
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10c]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x10c]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x10c]
push str.winskydata.ini
push eax
call sub.MSVCRT.dll_strcat
and byte [ebp - 0x20c], 0
add esp, 0x38
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x20b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10c]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
mov ebx, 0x100
lea eax, [ebp - 0x20c]
push ebx
push eax
push 0x100213cc
mov edi, str.urlsearch
push str.action
push edi
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x10021acc
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
je 0x1001a4eb
xor al, al
jmp 0x1001a55c
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x20c]
push ebx
push eax
push str.mbcs
push str.encode
push edi
call esi
lea eax, [ebp - 0x20c]
push eax
push str.utf8
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
mov eax, dword [ebp - 8]
pop ecx
jne 0x1001a528
mov byte [eax + 0x20], 1
jmp 0x1001a52c
and byte [eax + 0x20], 0
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x20c]
push ebx
push eax
push str.http:__www.baidu.com_s_tnwbank12345_pgwdkey
push 0x10022274
push edi
call esi
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp - 8]
lea ecx, [eax + 0x1c]
call fcn.10001adb
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b1d7
Capabilities:
Extract http body

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 8]
push eax
push 0x96
push 2
xor esi, esi
push esi
push esi
push dword [0x46e728]
push dword [ebp + 0xc]
call dword [0x45d420]
test eax, eax
je 0x40b290
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x12c]
cmp eax, esi
je 0x40b290
lea ecx, [ebp - 4]
push ecx
push esi
push 0x45f450
push dword [ebp - 8]
mov dword [ebp - 4], esi
call eax
test eax, eax
jl 0x40b283
mov eax, dword [ebp - 4]
lea edx, [ebp + 8]
push edx
mov dword [ebp + 8], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x40b276
mov eax, dword [ebp + 8]
cmp eax, esi
je 0x40b283
lea edx, [ebp + 0xc]
push edx
mov dword [ebp + 0xc], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xf0]
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
call fcn.0041ccd2
call fcn.0041cf89
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0041d009
push dword [ebp + 0xc]
call dword [0x45d34c]
mov eax, dword [ebp + 8]
cmp eax, esi
je 0x40b283
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x40b290
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop esi
leave
ret 8
Function at 0x410982
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x138
push esi
push edi
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x4109a7
push esi
call dword [fcn.0045d4a8]
test eax, eax
je 0x410b45
mov eax, dword [ebx + 0x44]
cmp eax, edi
je 0x4109bb
test byte [ebx + 0x58], 2
jne 0x4109bb
push eax
call dword [0x45d568]
test byte [ebx + 0x84], 2
mov dword [ebx + 0x44], esi
jne 0x410b42
mov esi, dword [fcn.0045d3e0]
push edi
push edi
push 0xb
push dword [ebx + 4]
call esi
push edi
push edi
push 0x418
push dword [ebx + 4]
call esi
cmp eax, edi
jle 0x410a00
mov dword [esp + 0xc], eax
push edi
push edi
push 0x416
push dword [ebx + 4]
call esi
dec dword [esp + 0xc]
jne 0x4109ee
mov eax, dword [ebx + 0x44]
cmp eax, edi
je 0x410b23
push eax
call dword [0x45d490]
cmp eax, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
jle 0x410b23
lea esi, [esp + 0x28]
call fcn.0041be92
lea eax, [esp + 0x78]
mov dword [esp + 0x4c], eax
mov eax, esi
push eax
push 1
push dword [esp + 0x14]
mov dword [esp + 0x38], 0x15
push dword [ebx + 0x44]
mov dword [esp + 0x40], edi
mov dword [esp + 0x60], 0x64
call dword [0x45d48c]
lea eax, [esp + 0x78]
push eax
call dword [fcn.0045d0e0]
cmp eax, 0x63
jle 0x410a8a
mov eax, esi
push eax
push 1
push dword [esp + 0x14]
mov dword [esp + 0x3c], 4
push dword [ebx + 0x44]
call dword [0x45d488]
xor eax, eax
mov word [esp + 0x78], ax
xor eax, eax
mov esi, dword [esp + 0xc]
lea edi, [esp + 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
test byte [esp + 0x34], 3
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
setne cl
push 0xffffffffffffffff
dec cl
push 0x443
push dword [ebx + 4]
and cl, 4
mov dword [esp + 0x28], esi
mov byte [esp + 0x2c], cl
mov byte [esp + 0x2d], 0x18
call dword [fcn.0045d3e0]
push 7
pop ecx
xor eax, eax
lea edi, [esp + 0x5c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x58]
push eax
push esi
push 0x440
push dword [ebx + 4]
mov dword [esp + 0x68], 0x20
mov dword [esp + 0x6c], 2
call dword [fcn.0045d3e0]
inc esi
xor edi, edi
cmp esi, dword [esp + 0x10]
mov dword [esp + 0xc], esi
jl 0x410a22
mov esi, dword [fcn.0045d3e0]
push edi
push 1
push 0xb
push dword [ebx + 4]
call esi
push 1
push edi
push dword [ebx + 4]
call dword [fcn.0045d5ac]
push dword [ebx + 4]
call dword [fcn.0045d494]
xor eax, eax
inc eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41ed83
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push esi
push edi
xor edi, edi
mov esi, eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
cmp dword [ebp + 8], edi
je 0x41edf8
push 0x208
lea eax, [ebp - 0x214]
push eax
push edi
call dword [fcn.0045d19c]
push 0x466128
push 0x80000002
mov eax, 0x2001f
lea ecx, [ebp - 0xc]
call fcn.0041bc83
cmp dword [ebp - 0xc], edi
je 0x41ee46
push 0x46578c
lea eax, [esi + 0x13c]
lea ecx, [ebp + 8]
call fcn.0040f0de
pop ecx
push dword [eax]
lea eax, [ebp - 0x214]
push eax
push 0x46617c
lea ecx, [ebp - 0xc]
call fcn.0041bc37
jmp 0x41ee33
push 0x466188
push 0x80000002
mov eax, 0x2001f
lea ecx, [ebp - 0xc]
call fcn.0041bd21
cmp dword [ebp - 0xc], edi
je 0x41ee46
push 0x46578c
lea eax, [esi + 0x13c]
lea ecx, [ebp + 8]
call fcn.0040f0de
pop ecx
push dword [eax]
push dword [ebp - 0xc]
call dword [0x46cfdc]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0041d009
lea esi, [ebp - 0xc]
call fcn.0041bd5f
lea esi, [ebp - 0xc]
call fcn.0041bd5f
pop edi
pop esi
leave
ret 4
Function at 0x4248a9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa10
push ebx
push esi
call dword [0x45d4bc]
mov esi, eax
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x220], ax
lea eax, [esp + 0x222]
push eax
call fcn.004284f0
add esp, 0xc
push 0x400
lea eax, [esp + 0x21c]
push eax
push esi
call dword [0x45d57c]
cmp esi, dword [0x46e944]
inc ebp
add byte [ebx], bh
xor eax, 0x46e944
jne 0x424913
lea eax, [esp + 0x218]
push eax
push dword [0x46e950]
call dword [0x45d108]
test eax, eax
je 0x424989
call fcn.0042478e
lea eax, [esp + 0x218]
push eax
push 0x46e950
mov dword [0x46e944], esi
call fcn.0041ccac
push dword [0x46e8b0]
lea ebx, [esp + 0x14]
push esi
call fcn.0041d66b
pop ecx
pop ecx
mov eax, ebx
push eax
call dword [0x45d388]
mov eax, ebx
push eax
push 0x46e94c
call fcn.0041ccac
push 0x46e93c
call 0x2800000
jp 0x4248f1
inc esp
and al, 0xc
push eax
mov eax, ebx
push eax
mov dword [esp + 0x14], 0x104
call dword [0x46cfbc]
mov eax, ebx
push eax
push 0x46e948
call fcn.0041ccac
xor eax, eax
inc eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43c730
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x43c75f
push esi
call fcn.0043ceb0
add esp, 4
cmp byte [esi + 0x40], 0
je 0x43c758
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x43c7d9
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x43c7c9
mov eax, dword [esi + 8]
test eax, eax
je 0x43c784
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x190]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x43c7c5
cmp eax, 2
je 0x43c7c9
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43c775
cmp eax, 3
je 0x43c7ac
cmp eax, 1
jne 0x43c775
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x43c775
mov edx, dword [esi + 0x11c]
add dword [eax + 8], edx
jmp 0x43c775
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.0043c5c0
pop esi
ret
cmp eax, 0xcc
je 0x43c7fb
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.0043c5c0
pop esi
ret
Function at 0x445000
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, dword [esp + 0x20]
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1a8]
mov dword [esp + 0x18], esi
jne 0x445027
mov dword [esp + 8], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x445033
mov dword [esp + 8], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [esp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push edi
call eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp dword [edi + 0x64], ecx
mov dword [esp + 0xc], ecx
jle 0x445129
push ebx
lea edx, [esi + 0x20]
push ebp
mov dword [esp + 0x18], edx
jmp 0x44507c
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [edx]
cdq
idiv ebp
cmp dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
je 0x44509d
mov eax, dword [esi + 0x18]
add dword [eax + ecx*4], 0xff
lea eax, [eax + ecx*4]
mov edx, dword [esi + 0x18]
mov edi, dword [edx + ecx*4]
dec ebp
mov ecx, ebp
xor eax, eax
xor ebx, ebx
call fcn.00444e70
mov ecx, eax
xor esi, esi
cmp esi, ecx
jle 0x4450c7
inc ebx
mov ecx, ebp
mov eax, ebx
call fcn.00444e70
mov ecx, eax
cmp esi, ecx
jg 0x4450b7
mov al, byte [esp + 0x1c]
imul bl
mov byte [esi + edi], al
inc esi
cmp esi, 0xff
jle 0x4450b3
cmp dword [esp + 0x10], 0
je 0x44510c
mov eax, 1
lea ecx, [edi - 1]
jmp 0x4450f0
movzx edx, byte [edi]
mov byte [ecx], dl
movzx edx, byte [edi + 0xff]
mov byte [edi + eax + 0xff], dl
inc eax
dec ecx
cmp eax, 0xff
jle 0x4450f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add dword [esp + 0x18], 4
inc eax
cmp eax, dword [ecx + 0x64]
mov dword [esp + 0x14], eax
jl 0x445070
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x14
ret