joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a9f0
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100513c0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x10069070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x28], 0x64005c
push 0x2800
push eax
push 0x10070c78
mov dword [ebp - 0x24], 0x650073
mov dword [ebp - 0x20], 0x750074
mov dword [ebp - 0x1c], 0x2e0070
mov dword [ebp - 0x18], 0x6c0064
mov dword [ebp - 0x14], 0x6c
call fcn.1002d810
add esp, 0xc
push 0x10070c78
call fcn.1000b240
test al, al
je 0x1000ac68
mov ecx, 0x10070c78
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000aa71
sub ecx, edx
sar ecx, 1
je 0x1000ac68
push 0x10071478
call fcn.1000ae00
test al, al
je 0x1000ac68
mov ecx, 0x10071478
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000aaa0
sub ecx, edx
sar ecx, 1
je 0x1000ac68
push 0x10071c78
call fcn.1000b470
test al, al
je 0x1000ac68
mov ecx, 0x10071c78
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000aad0
sub ecx, edx
sar ecx, 1
je 0x1000ac68
push 0x10072478
call fcn.1000b5c0
test al, al
je 0x1000ac68
mov ecx, 0x10072478
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000ab00
sub ecx, edx
sar ecx, 1
je 0x1000ac68
push 0x10072c78
lea eax, [ebp - 0x28]
push eax
call fcn.1000a850
test al, al
je 0x1000ac68
mov eax, 0x10072c78
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000ab33
sub eax, edx
sar eax, 1
je 0x1000ac68
push 0x10070c78
lea ecx, [ebp - 0x40]
call fcn.10008970
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1000a3f0
push eax
mov ecx, 0x10073478
call fcn.10002b20
lea ecx, [ebp - 0x58]
call fcn.10002ab0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10008930
push 0x10071478
lea ecx, [ebp - 0x40]
call fcn.10008970
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1000a3f0
push eax
mov ecx, 0x10073490
call fcn.10002b20
lea ecx, [ebp - 0x58]
call fcn.10002ab0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10008930
push 0x10071c78
lea ecx, [ebp - 0x40]
call fcn.10008970
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1000a3f0
push eax
mov ecx, 0x100734a8
call fcn.10002b20
lea ecx, [ebp - 0x58]
call fcn.10002ab0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10008930
push 0x10072478
lea ecx, [ebp - 0x70]
call fcn.10008970
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.1000a3f0
push eax
mov ecx, 0x100734c0
call fcn.10002b20
lea ecx, [ebp - 0x88]
call fcn.10002ab0
lea ecx, [ebp - 0x70]
call fcn.10008930
push 0
push 0
push 0x1000a970
call fcn.10034bc6
add esp, 0xc
mov al, 1
jmp 0x1000ac6a
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002a506
mov esp, ebp
pop ebp
ret
Function at 0x1000d1f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
sub dword [ebp + 0xc], 1
jne 0x1000d2d9
push esi
mov esi, dword [ebp + 8]
mov dword [0x1006cc20], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
mov dword [0x1006cc24], 0
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
mov esi, eax
mov dword [ebp - 0xc], 0xc
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
push 1
push str.D:P_D_OICI_GA___BG__D_OICI_GA___AN_
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x1000d26c
push dword [ebp - 8]
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_SetKernelObjectSecurity]
test eax, eax
jne 0x1000d274
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_Sleep]
push str._GL2UseGameGuard__3HA
push str.core.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x1000d2bb
lea eax, [ebp + 0xc]
push eax
push 4
push 1
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1000d2bb
lea eax, [ebp + 0xc]
mov byte [esi], 0
push eax
push dword [ebp + 0xc]
push 1
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1000d2c3
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
push 0x10001fd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1000d3f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10051528
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10069070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, str.Initializing_extender
call fcn.10007420
push eax
call fcn.10007700
add esp, 4
cmp dword [0x1006cc1c], 0
jne 0x1000d4e9
mov dword [0x1006cc1c], 1
call fcn.100113c0
test al, al
je 0x1000d4e9
mov edx, str.PHX_created
call fcn.10007420
push eax
call fcn.10007700
add esp, 4
call fcn.1000a9f0
test al, al
je 0x1000d4e9
mov edx, str.HWID_created
call fcn.10007420
push eax
call fcn.10007700
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.10003b30
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x1000d496
mov eax, dword [eax]
push eax
call dword [0x10073570]
lea ecx, [ebp - 0x28]
mov dword [0x1006c814], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10002ab0
cmp dword [0x1006c814], 0
je 0x1000d4e9
mov edx, str.ENGINE_created
call fcn.10007420
push eax
call fcn.10007700
push 0
push 0
push 0x1000d2f0
call fcn.10034bc6
push 0
push 0
push 0x1000d510
call fcn.10034bc6
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002a506
mov esp, ebp
pop ebp
ret
Function at 0x1000e250
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10051563
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x10069070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x78]
push eax
call fcn.10003650
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0x10
jb 0x1000e296
mov edx, dword [edx]
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
cmp byte [edx], 0
jne 0x1000e2b4
xor ecx, ecx
jmp 0x1000e2c9
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000e2c0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x90]
call fcn.10002d00
lea edx, [ebp - 0x90]
mov byte [ebp - 4], 1
call fcn.10007180
push eax
call fcn.10007700
add esp, 4
lea ecx, [ebp - 0x90]
call fcn.10002ab0
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
call fcn.10002ab0
lea eax, [ebp - 0x78]
push eax
call fcn.10003650
cmp dword [eax + 0x14], 0x10
jb 0x1000e319
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
lea ecx, [ebp - 0x78]
mov esi, eax
call fcn.10002ab0
test esi, esi
je 0x1000e360
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
test ecx, ecx
je 0x1000e360
movzx eax, byte [ecx + 3]
push eax
movzx eax, byte [ecx + 2]
push eax
movzx eax, byte [ecx + 1]
push eax
movzx eax, byte [ecx]
push eax
lea eax, [ebp - 0x60]
push str._u._u._u._u
push eax
call fcn.1000e1e0
add esp, 0x18
lea esi, [ebp - 0x60]
jmp 0x1000e365
mov esi, 0x10061c81
mov edx, str.getHostAddress__
call fcn.10007420
push eax
call fcn.10007700
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002a506
mov esp, ebp
pop ebp
ret

Function at 0x100105c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
jmp 0x100105dc
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
push eax
push dword [ebp + 8]
lea ecx, [ebx + 0x100]
mov dword [ebx + 0x110], eax
push ecx
call fcn.1002d290
add esp, 0xc
xor eax, eax
nop dword [eax]
mov byte [eax + ebx], al
inc eax
cmp eax, 0x100
jl 0x10010600
xor edi, edi
mov dword [ebx + 0x114], 0
mov dword [ebx + 0x118], 0
xor esi, esi
mov dword [ebp + 0xc], edi
nop word [eax + eax]
mov dl, byte [esi + ebx]
movzx eax, byte [ebx + edi + 0x100]
add eax, dword [ebp + 0xc]
movzx ecx, dl
add ecx, eax
movzx ecx, cl
mov dword [ebp + 0xc], ecx
mov al, byte [ecx + ebx]
mov byte [esi + ebx], al
lea eax, [edi + 1]
mov byte [ecx + ebx], dl
inc esi
cdq
idiv dword [ebx + 0x110]
mov edi, edx
cmp esi, 0x100
jl 0x10010630
jmp 0x10010679
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10013f70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10051d48
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10069070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x1001409f
cmp byte [ebx + 0x3d], 0
je 0x1001409f
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x10013fc9
xor al, al
jmp 0x100140a1
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10005e50
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x10014037
sub eax, 1
je 0x1001403b
sub eax, 2
je 0x10014091
lea ecx, [ebp - 0x28]
xor bl, bl
call fcn.10002ab0
mov al, bl
jmp 0x100140a1
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x10014073
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.1003923a
add esp, 0x10
cmp esi, eax
jne 0x10014029
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x10014091
test esi, esi
jne 0x10013ff4
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.10004450
jmp 0x10013fee
lea ecx, [ebp - 0x28]
mov bl, 1
call fcn.10002ab0
mov al, bl
jmp 0x100140a1
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 - 0x10]
xor ecx, ebp
call fcn.1002a506
mov esp, ebp
pop ebp
ret
Function at 0x10014260
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10051d76
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10069070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1002aab4
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.100172d3
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x10], ecx
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x34], esi
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov ecx, edi
mov eax, dword [edi + 0x20]
push 0
push dword [ebp + 8]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
call fcn.100140c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x10015510
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10051e66
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10069070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1002aab4
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.100172d3
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1004372e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100435ad

Function at 0x10046cec
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100469ac
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401012
mov eax, dword [0x785d2f]
shl eax, 2
mov dword [0x785d33], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.0069e654
pop edx
call fcn.0069e5b8
call fcn.0069e694
push 0
call fcn.006a9828
pop ecx
push 0x785cd8
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x785d37], eax
push 0
jmp fcn.006b1d84
Function at 0x42c7e4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea edx, [ebp - 0x38]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax - 0x18]
call fcn.00638a14
push ebp
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.0042c788
pop ecx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x10]
mov dl, 5
call fcn.00637aec
mov eax, dword [ebp + 0x14]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x10]
mov dl, 4
call fcn.00637ad0
mov eax, dword [ebp + 0x14]
mov eax, dword [eax - 0x14]
mov ecx, 0xfffffffd
cdq
idiv ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax - 0x14]
mov ecx, 3
cdq
idiv ecx
mov edx, dword [ebp + 0x14]
add eax, dword [edx - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax - 0x1c]
mov ecx, 0xfffffffd
cdq
idiv ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax - 0x1c]
mov ecx, 3
cdq
idiv ecx
mov edx, dword [ebp + 0x14]
add eax, dword [edx - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
xor esi, esi
mov ecx, 0x32
mov edx, dword [ebp + 0x10]
mov eax, esi
call fcn.0042c5c8
add al, byte [ebp - 4]
mov byte [ebp - 0xd], al
mov ecx, 0x32
mov edx, dword [ebp + 0xc]
mov eax, esi
call fcn.0042c5c8
mov ebx, eax
add bl, byte [ebp - 8]
mov ecx, 0x32
mov edx, dword [ebp + 8]
mov eax, esi
call fcn.0042c5c8
add al, byte [ebp - 0xc]
xor edx, edx
mov dl, byte [ebp - 0xd]
xor ecx, ecx
mov cl, bl
shl ecx, 8
or edx, ecx
and eax, 0xff
shl eax, 0x10
or edx, eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x14]
call fcn.00637cf4
mov eax, dword [ebp - 0x14]
imul esi
mov ecx, 0x64
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
imul esi
mov ebx, 0x64
cdq
idiv ebx
mov edx, dword [ebp - 0x24]
sub edx, ecx
push edx
mov edx, dword [ebp - 0x28]
sub edx, eax
push edx
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx - 0x18]
add eax, dword [ebp - 0x20]
xchg ecx, eax
call fcn.006383e4
inc esi
cmp esi, 0x33
jne 0x42c894
mov eax, dword [ebp + 0x14]
mov eax, dword [eax - 0x18]
mov eax, dword [eax + 0x10]
xor edx, edx
call fcn.00637aec
push ebp
lea eax, [ebp - 0x38]
call fcn.0042c788
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44629c
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb4
mov eax, 0x6a8c5b
mov dword [ebp - 8], edx
xor edx, edx
mov dword [ebp - 0x24], 0x79ebfc
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x28], eax
mov word [ebp - 0x1c], 0
mov dword [ebp - 0x10], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x2c]
mov dword fs:[0], eax
mov eax, 0x101
lea edx, [ebp - 0x1bc]
push edx
push eax
call sub.WSOCK32.DLL_WSAStartup
test eax, eax
jne 0x446356
push 0x7f
lea ecx, [ebp - 0x24c]
push ecx
call sub.WSOCK32.DLL_gethostname
test eax, eax
jne 0x446356
call sub.WSOCK32.DLL_WSACleanup
mov word [ebp - 0x1c], 8
lea edx, [ebp - 0x24c]
lea eax, [ebp - 4]
call fcn.006b5bd0
mov edx, eax
inc dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.006b5da4
mov eax, dword [ebp - 8]
mov edx, 2
mov word [ebp - 0x1c], 0x14
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0x10]
call fcn.006b5d74
pop eax
mov word [ebp - 0x1c], 8
inc dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x446360
mov ecx, dword [ebp - 0x2c]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4519cc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
mov byte [ebp - 0x2d], cl
mov dword [ebp - 4], edx
mov dword [ebp - 0x24], 0x7a2588
mov esi, eax
mov eax, 0x6a8c5b
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x28], eax
mov word [ebp - 0x1c], 0
xor edx, edx
mov dword [ebp - 0x10], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x2c]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 1
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.006b5c08
inc dword [ebp - 0x10]
mov word [ebp - 0x1c], 8
push 4
call fcn.0069dce4
pop ecx
mov ebx, eax
mov al, byte [ebp - 0x2d]
test al, al
je 0x451a69
mov word [ebp - 0x1c], 0x14
mov edx, 0x7a08ad
lea eax, [ebp - 8]
call fcn.006b5bd0
inc dword [ebp - 0x10]
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.006b5db8
dec dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 2
call fcn.006b5d74
push 0
push ebx
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x451a7b
mov eax, dword [ebp - 4]
mov edx, dword [eax - 4]
jmp 0x451a7d
xor edx, edx
push edx
mov eax, dword [ebp - 4]
test eax, eax
je 0x451a8a
mov ecx, dword [ebp - 4]
jmp 0x451a8f
mov ecx, 0x7a08af
push ecx
mov eax, dword [esi + 0x1c]
push eax
call sub.KERNEL32.DLL_WriteFile
push ebx
call fcn.0069dcb0
pop ecx
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 2
call fcn.006b5d74
mov ecx, dword [ebp - 0x2c]
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45bc3c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
mov byte [ebp - 0x2d], cl
mov dword [ebp - 4], edx
mov dword [ebp - 0x24], 0x7a64dc
mov esi, eax
mov eax, 0x6a8c5b
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x28], eax
mov word [ebp - 0x1c], 0
xor edx, edx
mov dword [ebp - 0x10], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x2c]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 1
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.006b5c08
inc dword [ebp - 0x10]
mov word [ebp - 0x1c], 8
push 4
call fcn.0069dce4
pop ecx
mov ebx, eax
mov al, byte [ebp - 0x2d]
test al, al
je 0x45bcd9
mov word [ebp - 0x1c], 0x14
mov edx, 0x7a46a5
lea eax, [ebp - 8]
call fcn.006b5bd0
inc dword [ebp - 0x10]
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.006b5db8
dec dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 2
call fcn.006b5d74
push 0
push ebx
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x45bceb
mov eax, dword [ebp - 4]
mov edx, dword [eax - 4]
jmp 0x45bced
xor edx, edx
push edx
mov eax, dword [ebp - 4]
test eax, eax
je 0x45bcfa
mov ecx, dword [ebp - 4]
jmp 0x45bcff
mov ecx, 0x7a46a7
push ecx
mov eax, dword [esi + 0x1c]
push eax
call sub.KERNEL32.DLL_WriteFile
push ebx
call fcn.0069dcb0
pop ecx
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 2
call fcn.006b5d74
mov ecx, dword [ebp - 0x2c]
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x462dd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc04
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0069ad68
mov eax, dword [ebp - 8]
call fcn.0069ad68
xor eax, eax
push ebp
push 0x462eb9
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00691af4
cmp dword [ebp - 0xc], 0
jne 0x462e21
lea eax, [ebp - 0xc]
call fcn.00691db4
lea eax, [ebp - 0x3f9]
push eax
push 0
push 0x462ec8
mov eax, dword [ebp - 0xc]
call fcn.0069ad78
push eax
call sub.KERNEL32.DLL_GetTempFileNameA
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x3f9]
call fcn.006920b4
mov eax, dword [ebp - 0x10]
call fcn.006919a4
cmp dword [ebp - 8], 0
je 0x462e69
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, 0x462ed4
call fcn.0069ac00
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push 0x462edc
lea eax, [ebx + 0xf8]
push eax
push 0
call fcn.0069b9e4
add esp, 0x18
mov eax, dword [ebp - 4]
call fcn.006919a4
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.006919bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462ec0
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0069a958
ret