joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4877db
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x338
mov eax, dword [0x48dc38]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x338], ebx
mov dword [ebp - 0x32c], ebx
push edi
push 4
pop edi
mov dword [ebp - 0x334], edi
test esi, esi
je 0x487934
lea eax, [ebp - 0x324]
push eax
push 0x20019
push ebx
push 0x405f38
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x487934
push 0x114
lea eax, [ebp - 0x318]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x320], 0x11c
mov dword [ebp - 0x31c], 6
push 2
push 2
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
push 2
lea eax, [ebp - 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x4878ee
push 0x200
lea eax, [ebp - 0x204]
mov dword [ebp - 0x328], ebx
push ebx
push eax
mov esi, ebx
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
push ebx
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x330], 0x100
push ecx
push ebx
lea ecx, [ebp - 0x330]
mov eax, esi
push ecx
lea ecx, [ebp - 0x204]
inc esi
push ecx
push eax
push dword [ebp - 0x324]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4878e5
cmp dword [ebp - 0x328], edi
je 0x48791d
cmp eax, 0x103
jne 0x4878a7
jmp 0x48791f
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x338]
push eax
lea eax, [ebp - 0x32c]
push eax
push ebx
push esi
push dword [ebp - 0x324]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48791f
cmp dword [ebp - 0x32c], edi
jne 0x48791f
mov bl, 1
cmp dword [ebp - 0x324], 0
je 0x487934
push dword [ebp - 0x324]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047c8b0
leave
ret 4
Function at 0x487a6a
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x48dc38]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x487a8f
xor eax, eax
jmp 0x487b3d
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LocaleNameToLCID]
mov edi, eax
test edi, edi
je 0x487b3a
cmp edi, 0x7f
je 0x487b3a
push 2
push edi
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jne 0x487ae0
cmp edi, 4
jne 0x487ac7
push 1
push 0x804
jmp 0x487ad6
cmp edi, 0x7c04
jne 0x487b3a
push 1
push 0x404
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x487b3a
push 0x20
lea eax, [ebp - 0x44]
push eax
push 0x1004
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x487b3a
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
push 2
push esi
push 0x405eac
mov edi, eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0x10
test eax, eax
jne 0x487b4d
mov esi, 0x405eb4
test ebx, ebx
je 0x487bbb
push 0x405ec4
push ebx
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x487bbb
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0047c8b0
leave
ret 8
push 2
push esi
push 0x405ed4
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x487b69
mov esi, 0x405edc
jmp 0x487bbb
push 2
push esi
push 0x405eec
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x487b85
mov esi, 0x405ef4
jmp 0x487bbb
push 2
push esi
push 0x405f00
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x487ba1
mov esi, 0x405f08
jmp 0x487bbb
push 2
push esi
push 0x405f18
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x487bc9
mov esi, 0x405f20
push esi
call fcn.004877db
test al, al
je 0x487b3a
test edi, edi
je 0x487bfe
cmp edi, 0xfde9
je 0x487bfe
push 2
lea eax, [ebp - 0x64]
push eax
push edi
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
test eax, eax
je 0x487b3a
push edi
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x487b3a
push dword [ebp - 0x64]
jmp 0x487c04
test ebx, ebx
je 0x487c12
push 1
push ebx
call fcn.0048798f
test eax, eax
je 0x487b3a
xor eax, eax
inc eax
jmp 0x487b3c
Function at 0x487c42
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.00487580
mov eax, dword [0x48dc38]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x2008], ebx
push edi
mov edi, eax
test esi, esi
jne 0x487c7f
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x487daf
push 0x1000
push eax
lea eax, [ebp - 0x2004]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2004]
push esi
push 0x1000
push eax
push 0x405fac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
cmp eax, 0xffe
jne 0x487cb9
xor edx, edx
push 0x6f
jmp 0x487c74
xor eax, eax
lea esi, [ebp - 0x2004]
mov ecx, eax
cmp word [ebp + ecx*2 - 0x2004], ax
jne 0x487cdb
cmp word [ebp + ecx*2 - 0x2002], ax
je 0x487daf
cmp ecx, 0xfff
jae 0x487daf
movzx eax, word [esi]
mov edx, eax
test ax, ax
jne 0x487cf8
add esi, 2
inc ecx
movzx edx, word [esi]
mov eax, esi
mov dword [ebp - 0x200c], eax
test dx, dx
je 0x487d10
xor edx, edx
add esi, 2
inc ecx
cmp word [esi], dx
jne 0x487d07
test ebx, ebx
je 0x487d19
cmp edi, dword [ebp + 8]
je 0x487d23
push 0
cmp eax, esi
pop eax
je 0x487cc3
inc edi
jmp 0x487cc3
push 0x3d
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
mov ebx, eax
mov eax, dword [ebp - 0x200c]
pop ecx
pop ecx
test ebx, ebx
je 0x487d3c
mov esi, ebx
sub esi, eax
sar esi, 1
cmp esi, dword [ebp + 0x10]
jb 0x487d49
push 0x7a
jmp 0x487da5
push esi
push eax
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x2008]
push eax
call fcn.0041a168
mov eax, dword [ebp - 0x2008]
xor ecx, ecx
push 0x8000000
push eax
mov word [eax + esi*2], cx
call dword [sym.imp.KERNEL32.dll_LocaleNameToLCID]
and eax, 0x3ff
je 0x487d98
cmp ax, 0x7f
je 0x487d98
test ebx, ebx
je 0x487daf
lea eax, [ebx + 2]
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
mov edi, eax
pop ecx
or edi, 0x10000000
jmp 0x487daf
mov eax, dword [ebp - 0x2008]
xor ecx, ecx
push 0x57
mov word [eax], cx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov edi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047c8b0
leave
ret 0x10
Function at 0x401030
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x401099
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [esp + 0xc]
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401050
sub eax, edx
add eax, 1
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov cl, byte [esi]
mov byte [eax], cl
add esi, 1
add eax, 1
test cl, cl
jne 0x401073
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
ret

Function at 0x402dd0
Capabilities:
Create thread

Disassembly:
mov al, byte [esp + 4]
push esi
push edi
mov esi, ecx
lea edi, [esi + 4]
push edi
push 0
push esi
push 0x401e40
push 0
push 0
mov byte [esi + 0xc], al
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
mov eax, dword [edi]
pop edi
pop esi
ret 4
Function at 0x403d20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4baf48
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
mov eax, dword [0x4e5a68]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor edx, edx
mov dword [esp + 8], edx
xor eax, eax
mov dword [esp + 0xe], eax
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov word [esp + 0x1a], ax
mov eax, dword [ecx + 0x30]
test eax, eax
mov dword [esp + 0x54], edx
mov word [esp + 0xc], dx
je 0x403e9e
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
test eax, eax
mov edx, dword [esp + 8]
jl 0x403e9e
test edx, edx
je 0x403e9e
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x403dfe
push eax
lea ecx, [esp + 0x20]
call fcn.00402980
mov ecx, dword [esp + 0x68]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 1
call fcn.00402980
mov edx, dword [esp + 0x64]
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 2
call fcn.00402980
mov edx, dword [esp + 0x60]
lea eax, [esp + 0xc]
push eax
push 3
lea ecx, [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 0
call fcn.00401480
push 0x402970
push 3
push 0x10
lea eax, [esp + 0x28]
push eax
call fcn.004325ec
jmp 0x403e52
mov eax, dword [esp + 0x68]
test eax, eax
je 0x403e21
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0xc]
push ecx
push eax
mov eax, dword [esp + 0x68]
push edx
push eax
lea ecx, [esp + 0x18]
call fcn.004033c0
jmp 0x403e52
mov eax, dword [esp + 0x64]
test eax, eax
je 0x403e3f
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0xc]
push ecx
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.004013e0
jmp 0x403e52
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x10]
call fcn.00401310
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esi], edx
mov edx, dword [esp + 0x18]
mov dword [esi + 4], eax
mov eax, dword [esp + 8]
test eax, eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [esp + 0x54], 0xffffffff
je 0x403ed1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x50
ret 0x14
test edx, edx
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esi], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov dword [esp + 0x54], 0xffffffff
je 0x403ed1
mov eax, dword [edx]
mov ecx, dword [eax + 8]
push edx
call ecx
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x50
ret 0x14
Function at 0x406470
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1008
call fcn.00432dc0
mov eax, dword [0x4e5a68]
xor eax, esp
mov dword [esp + 0x1004], eax
push esi
call fcn.0045cfd0
push 0xffe
mov dword [esp + 8], eax
lea eax, [esp + 0xe]
push 0
push eax
mov word [esp + 0x14], 0
call fcn.00432df0
push 0x4bf8d0
push str._adbkey
call fcn.004332ee
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4064df
push esi
push 0x1000
lea ecx, [esp + 0x10]
push 1
push ecx
call fcn.0043320f
push esi
call fcn.00432edc
add esp, 0x14
jmp 0x406506
mov edx, dword [str.IEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCqeYCvL8E1msay_nkQsGrt2hKfQvvLHC9bYGOGrSXOksF4VIFeghoD62DqQR2JcThwQGQzDku9A4SYI_nW0erznW4xKgyDKk75GJ9oiMTUmOJDK2yBT3tOJTATVf_kkthjta_xnbGpHb6anc_nevpJbCXfcF3Je26ECPRvWoY6MxiXQmf1pkVwhTzwXeWnL2nujHy_6Ha5AH9jdCgc_nQvrL08MKKumOuGrfmxhBzdKVTzNc9kdTDSUYct62QkoqQxXHE0sE0TjlwLviJ_nNfAlOVWpIcjFw3nBXJgFR5xZUtw02_CuvqTXQleYal1qtOhl8ZlXeqM4u_Fb01x_n1jSHggBfAgMBAAECggEAcKRoS1maqPjkYglE592TxHIcT463RsNkyydsLiQGToQc_nJU2UXOOtjE6QStp6uQR1vE2ZeQpAwSdJNhruzJoxvXqzWdgS5rVGbj5kPtgpvN0_nLyJ1FclVQNvaUZ0xAf2IGJ_iy87Qbxb6Lu5tdooDEQLNJ7Cn6vrF8kQFPa49aA_n3yvhiHAV_CM6nM4VwEU8rYDmlivAwI7oYe8wdC_quGa1nsj3cIHqvx7rSJ7Oodr1_nWXodILqNqMgd0pc8x7c1MsX6K6IU7HK4n9bfD28rK3_XjFyird4ewxmcqKedmRi_nV611CuEgwKPr2l67PISs0fWVnuw7iEr5s0Xv4sUwQKBgQDZa2kKxRRhfhIiCQE_ngK9NzRxKJBYEXryxLahe33IJ4JAQjjkrSxlHWBX3O2JdxROtQcIUHBU2WlZuEXLz_ngKmP9cLDbigXorugmqz4diVnSqHQYQ_nWnpFr4H7gKOLwt7x0CVkOA6w5FrcvuP_nA8zcQ0O4p_JyD9K_5n34wa4WwKBgQDIuY1LAfp9o21AbdLzkcjlO8lrq1WGp2W_n5cM4WbjkStgCil26azeU7OMwmJueeR01Vl00yhJTjxaQ3dEZmVk_Uv6Q8hklvhx_n4XwoT8qzWQCPqSFiFy66plTTB9SHHFKjoxZ0UOk6zUuaw2P9qCaDp_nlWMAYYTiN_njoLOtHM3TQKBgEtjFvUJCNwVHqzJZZO6Gw7bAghQxEY2EyHDE55I82Q8MJrYD5_ndTZrsJIdISpqXzxABM98PU6vXDCmFDmibyjfijzBQV2Qq4Ywm7E7JhTp8TdIuqR_nULxA8s0Fa9ITo2RFP_HUDiP_yhGojsgkjP9jsnEUiiCnAxmDDkLmxTpAoGAW7e9_ngjqjNOmKMFlxvMfC5dVVUf52FBNFfhi3crRmy8_yNlkvpvjR99aGQzJ5R77jVK_nXaa__QJy8zv8Ntr7FcxP_Ukftibt20uHKfxbyNuwT_SeVm31YkBCnjMDv8EHWdJZ_nnkiiacYI9y0MeG1x47ntw54qCs0ZipqRv1ZcDkCgYA8yOyzAw7jDQMrXvkOS7u_nG8lC0YO3_4P3Xm3kAf1u3cU0tGjNi_bC29VW2hCmeSSx097JGoDvRUftM3_UHX_nM_VtSyrHh1tiQhbcS4E0ajIMj76dMJ4BT2jM2AehdxBupR30prGuomEm8iX6rtvC_nwLUcnmrdtMmhbqI03o0Egg_n]
push str._____END_PRIVATE_KEY______n
push edx
push 0x49
push 0x4d
push str._____BEGIN_PRIVATE_KEY______n
lea eax, [esp + 0x1c]
push str._s_c_c_s_s
push eax
call fcn.00432b54
add esp, 0x1c
lea eax, [esp + 8]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406510
sub eax, edx
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.0045c350
push 0
push 0
lea edx, [esp + 0x14]
mov esi, eax
push edx
push esi
call fcn.0045b860
add esp, 0x18
test eax, eax
jne 0x406554
pop esi
mov ecx, dword [esp + 0x1004]
xor ecx, esp
call fcn.0043236c
add esp, 0x1008
ret
push esi
call fcn.0045ab40
mov ecx, dword [esp + 0x100c]
mov eax, dword [esp + 8]
add esp, 4
pop esi
xor ecx, esp
call fcn.0043236c
add esp, 0x1008
ret
Function at 0x4065c0
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
push 0x4bf8d0
push str._adbkey.pub
call fcn.004332ee
mov edi, dword [esp + 0x14]
mov esi, eax
add esp, 8
test esi, esi
je 0x4065ff
mov eax, dword [edi]
push esi
push 0x1000
push 1
push eax
call fcn.0043320f
mov ecx, dword [edi]
push esi
mov byte [eax + ecx], 0
call fcn.00432edc
add esp, 0x14
jmp 0x406615
mov ecx, dword [str.QAAAAGGkHyxfAIKHNNZxTW_F7KM6l1lxpeh06p1qWFeCV2T6ru8Ns03FJZnEcFmFzBecPFyCGpVTkl8DWJC5wOU40wdLEccWQipKQb_t6y2GUNEwd2XPNPFVKNwdhbH7ariO6SoKw9PLkIcKHRjfwC5dui_fIzuaSn5V3wPIVwRab1Z0KXGDM6hlpv9AiEbnvJXXDfJWxJnrcqenbkRrbGf9aO4YtSf5fNQFT4rT3FMi2MiSOSU2MiPp9YuQ7qQwyqMS4dc6rR1sIJvk40LvkMEMGBIcTl9gRpA62PqAh6BVIhRcs6VzSajgGtvXCsbwv9Cmh3a4GC5Gyxpo1wSvgHmqKc_vrRcX4glOTlnx4mqcKFNeP6rnnA6hb98HO7K2Q0W22apsFTDOR6rUDMyVrfnO18x89LUZR6dnXijWOWO61x5Pd1S6s2v20fOG0Hx6GARyH9All5nLg78ExG48wnjuUMvCU95AV5zzd437FDArza0WtA4IFlNb7UX_CsT5sNcjfTFZN0QaFJoYeAsC5hDMw_HbMLxEMbN4wIWv6qhxNtIkhAXd3G8NxlfpRljln_c3h5MzUvBjzsT8xKadKkph5rDiVGykFgcB6AYnC18m1WDvcKn1COSEWQ7LnWG_ct6OW3lTc4KJbB7_B6ZecULVlcKLGjdnjpDwSfmwGaQEAAQA_unknown_unknown]
mov edx, dword [edi]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x406607
mov eax, dword [str.QAAAAGGkHyxfAIKHNNZxTW_F7KM6l1lxpeh06p1qWFeCV2T6ru8Ns03FJZnEcFmFzBecPFyCGpVTkl8DWJC5wOU40wdLEccWQipKQb_t6y2GUNEwd2XPNPFVKNwdhbH7ariO6SoKw9PLkIcKHRjfwC5dui_fIzuaSn5V3wPIVwRab1Z0KXGDM6hlpv9AiEbnvJXXDfJWxJnrcqenbkRrbGf9aO4YtSf5fNQFT4rT3FMi2MiSOSU2MiPp9YuQ7qQwyqMS4dc6rR1sIJvk40LvkMEMGBIcTl9gRpA62PqAh6BVIhRcs6VzSajgGtvXCsbwv9Cmh3a4GC5Gyxpo1wSvgHmqKc_vrRcX4glOTlnx4mqcKFNeP6rnnA6hb98HO7K2Q0W22apsFTDOR6rUDMyVrfnO18x89LUZR6dnXijWOWO61x5Pd1S6s2v20fOG0Hx6GARyH9All5nLg78ExG48wnjuUMvCU95AV5zzd437FDArza0WtA4IFlNb7UX_CsT5sNcjfTFZN0QaFJoYeAsC5hDMw_HbMLxEMbN4wIWv6qhxNtIkhAXd3G8NxlfpRljln_c3h5MzUvBjzsT8xKadKkph5rDiVGykFgcB6AYnC18m1WDvcKn1COSEWQ7LnWG_ct6OW3lTc4KJbB7_B6ZecULVlcKLGjdnjpDwSfmwGaQEAAQA_unknown_unknown]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406620
sub eax, edx
add eax, 1
mov dword [edi + 4], eax
pop edi
mov eax, 1
pop esi
ret
Function at 0x407920
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4f0344]
sub esp, 0x14
test eax, eax
push esi
push edi
je 0x407943
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, 1
pop edi
pop esi
add esp, 0x14
ret
push 0x4c
call fcn.004321b4
add esp, 4
test eax, eax
je 0x407958
mov ecx, eax
call fcn.00407630
mov esi, dword [esp + 0x20]
test esi, esi
mov edi, dword [esp + 0x24]
je 0x40797c
mov ecx, dword [0x4f0344]
push edi
call fcn.00406640
test al, al
jne 0x40797c
xor eax, eax
pop edi
pop esi
add esp, 0x14
ret
push 0
push ecx
mov eax, esp
mov dword [esp + 0x10], esp
push 0
push 0
push str.AuthWin
push ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x280
mov dword [esp + 0x30], 0x1cc
mov dword [eax], 0
mov eax, esp
lea ecx, [esp + 0x24]
mov dword [eax], ecx
mov ecx, dword [0x4f0344]
mov dword [esp + 0x20], esp
push edi
add ecx, 0xc
call fcn.004078a0
mov edx, dword [0x4f0344]
mov eax, dword [edx + 0x10]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
je 0x407938
mov ecx, dword [0x4f0344]
call fcn.00406910
mov ecx, dword [0x4f0344]
mov eax, dword [ecx + 0x48]
pop edi
pop esi
add esp, 0x14
ret

Function at 0x407c41
Capabilities:
Create thread
Terminate thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
push 0
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x54]
test eax, eax
je 0x407c7b
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0x407ab0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x54], eax
xor eax, eax
pop esi
pop ecx
ret 0x10

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

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [0x4f0c50]
push esi
mov esi, dword [esp + 0xc]
push 0
push esi
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, esi
sete al
pop esi
ret
Function at 0x4088c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2024
call fcn.00432dc0
mov eax, dword [0x4e5a68]
xor eax, esp
mov dword [esp + 0x2020], eax
push ebx
push esi
push edi
push 0x1000
call fcn.00431acc
mov ebx, eax
mov eax, dword [0x4f0c50]
add esp, 4
push 0xc8
mov dword [esp + 0x24], ebx
xor edi, edi
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x4f0c9c], edi
je 0x4089db
mov ecx, dword [esp + 0x10]
push 0
push 0x1000
push ebx
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test esi, esi
jle 0x4089d1
cmp dword [0x4f0c9c], 0
je 0x4089d1
test esi, esi
je 0x4089c2
push esi
lea edx, [esp + edi + 0x2c]
push ebx
push edx
call fcn.00433730
add esi, edi
add esp, 0xc
cmp esi, 4
lea ebx, [esp + 0x28]
jl 0x4089a5
mov edi, edi
movzx ecx, word [ebx + 2]
movzx eax, byte [ebx]
push ecx
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx edi, ax
cmp edi, esi
jg 0x4089a5
mov eax, dword [esp + 0x14]
cmp eax, 0x45
je 0x408987
cmp eax, 0x46
jne 0x40899c
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
call fcn.00427c70
add esp, 4
sub esi, edi
add ebx, edi
cmp esi, 4
jge 0x408960
test esi, esi
jle 0x4089bc
push esi
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.00433730
add esp, 0xc
mov edi, esi
jmp 0x4089be
xor edi, edi
mov ebx, dword [esp + 0x20]
cmp dword [0x4f0c9c], 0
jne 0x408916
jmp 0x4089db
mov ecx, 0x4f0bb0
call fcn.0040e890
push ebx
call fcn.00432b0f
mov ecx, dword [esp + 0x2030]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043236c
mov esp, ebp
pop ebp
ret
Function at 0x4098b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bb5a8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
mov eax, dword [0x4e5a68]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor edx, edx
mov dword [esp + 8], edx
xor eax, eax
mov dword [esp + 0xe], eax
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov word [esp + 0x1a], ax
mov eax, dword [ecx + 0x30]
test eax, eax
mov dword [esp + 0x54], edx
mov word [esp + 0xc], dx
je 0x409a2e
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
test eax, eax
mov edx, dword [esp + 8]
jl 0x409a2e
test edx, edx
je 0x409a2e
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x40998e
push eax
lea ecx, [esp + 0x20]
call fcn.00402980
mov ecx, dword [esp + 0x68]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 1
call fcn.00402980
mov edx, dword [esp + 0x64]
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 2
call fcn.00402980
mov edx, dword [esp + 0x60]
lea eax, [esp + 0xc]
push eax
push 3
lea ecx, [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 0
call fcn.00401480
push 0x402970
push 3
push 0x10
lea eax, [esp + 0x28]
push eax
call fcn.004325ec
jmp 0x4099e2
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4099b1
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0xc]
push ecx
push eax
mov eax, dword [esp + 0x68]
push edx
push eax
lea ecx, [esp + 0x18]
call fcn.004033c0
jmp 0x4099e2
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4099cf
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0xc]
push ecx
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.004013e0
jmp 0x4099e2
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x10]
call fcn.00401310
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esi], edx
mov edx, dword [esp + 0x18]
mov dword [esi + 4], eax
mov eax, dword [esp + 8]
test eax, eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [esp + 0x54], 0xffffffff
je 0x409a61
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x50
ret 0x14
test edx, edx
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esi], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov dword [esp + 0x54], 0xffffffff
je 0x409a61
mov eax, dword [edx]
mov ecx, dword [eax + 8]
push edx
call ecx
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x50
ret 0x14
Function at 0x40a670
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x14
mov eax, dword [0x4f0348]
test eax, eax
push esi
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x1f7
mov dword [esp + 0x14], 0x189
jne 0x40a6f8
push 0x44
call fcn.004321b4
add esp, 4
test eax, eax
je 0x40a6b6
mov ecx, eax
call fcn.0040a490
mov esi, eax
jmp 0x40a6b8
xor esi, esi
push 0
push ecx
mov eax, esp
mov dword [esp + 0xc], esp
push 0
push 0
push str.BtWin
push ecx
mov dword [eax], 0
mov eax, esp
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], esp
mov dword [eax], ecx
push 0
lea ecx, [esi + 0xc]
call fcn.0040a5f0
mov edx, dword [esi + 0x10]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
add esp, 0x14
ret
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
pop esi
add esp, 0x14
ret

Function at 0x40be60
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x4e5a68]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
mov esi, dword [esp + 0xa0]
test esi, esi
jne 0x40be8d
mov eax, dword [0x4f0350]
test eax, eax
jne 0x40bfe1
push 0x94
lea eax, [esp + 8]
push 0
push eax
call fcn.00432df0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x40beda
mov dword [0x4f0350], 0
xor eax, eax
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0043236c
add esp, 0x98
ret
mov eax, dword [esp + 0x14]
sub eax, 1
je 0x40bf93
sub eax, 1
jne 0x40beb8
mov eax, dword [esp + 8]
cmp eax, 4
jbe 0x40beb8
cmp eax, 5
jne 0x40bf65
cmp dword [esp + 0xc], 0
jne 0x40bf26
mov dword [0x4f0350], 4
mov eax, 4
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0043236c
add esp, 0x98
ret
test esi, esi
je 0x40beb8
lea eax, [esp + 0x18]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x40bf34
mov dword [0x4f0350], 5
mov eax, 5
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0043236c
add esp, 0x98
ret
cmp eax, 6
jne 0x40bf8c
cmp dword [esp + 0xc], 0
jne 0x40bf8c
mov dword [0x4f0350], eax
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0043236c
add esp, 0x98
ret
mov eax, 7
jmp 0x40bfdc
mov eax, dword [esp + 8]
cmp eax, 4
ja 0x40bfd7
jne 0x40bfb2
mov eax, dword [esp + 0xc]
cmp eax, 0x5a
jae 0x40bfd7
test eax, eax
jbe 0x40bfb2
mov eax, 2
jmp 0x40bfdc
mov dword [0x4f0350], 1
mov eax, 1
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0043236c
add esp, 0x98
ret
mov eax, 3
mov dword [0x4f0350], eax
mov ecx, dword [esp + 0x98]
pop esi
xor ecx, esp
call fcn.0043236c
add esp, 0x98
ret