joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001750
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, dword [esp + 8]
cmp word [ebp], 0x5a4d
je 0x1001763
xor eax, eax
pop ebp
ret 4
push ebx
mov ebx, dword [ebp + 0x3c]
add ebx, ebp
cmp dword [ebx], 0x4550
je 0x1001778
pop ebx
xor eax, eax
pop ebp
ret 4
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x34]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 4
push 0x2000
push eax
push ecx
call esi
mov edi, eax
test edi, edi
jne 0x10017af
mov edx, dword [ebx + 0x50]
push 4
push 0x2000
push edx
push eax
call esi
mov edi, eax
test edi, edi
je 0x1001859
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
xor eax, eax
push 4
mov dword [esi + 4], edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x50]
push 0x1000
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebx + 0x54]
push 4
push 0x1000
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, dword [ebx + 0x54]
add edx, dword [ebp + 0x3c]
mov dword [esp + 0x14], eax
push edx
push ebp
push eax
call fcn.01019d30
mov eax, dword [ebp + 0x3c]
mov ecx, dword [esp + 0x20]
add esp, 0xc
push esi
add eax, ecx
push ebx
mov dword [esi], eax
push ebp
mov dword [eax + 0x34], edi
call fcn.010011b0
mov eax, edi
sub eax, dword [ebx + 0x34]
je 0x100182e
push eax
mov eax, esi
call fcn.01001320
push esi
call fcn.010013a0
test eax, eax
je 0x1001859
push esi
call fcn.01001260
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
add esp, 4
test eax, eax
je 0x1001869
add eax, edi
je 0x1001859
push 0
push 1
push edi
call eax
test eax, eax
jne 0x1001862
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
ret 4
mov dword [esi + 0x10], 1
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x1001880
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x84
mov eax, dword [0x102806c]
xor eax, esp
mov dword [esp + 0x80], eax
push esi
push edi
mov esi, edx
mov edi, ecx
mov cl, byte [esi]
cmp cl, 0x2e
lea eax, [esp + 8]
je 0x10018b9
movsx cx, cl
add esi, 1
mov word [eax], cx
mov cl, byte [esi]
add eax, 2
cmp cl, 0x2e
jne 0x10018a5
movsx dx, byte [esi]
mov word [eax], dx
add eax, 2
mov word [eax], 0x64
add eax, 2
mov word [eax], 0x6c
add eax, 2
mov word [eax], 0x6c
lea ecx, [esp + 8]
mov word [eax + 2], 0
call fcn.01001560
test eax, eax
jne 0x1001902
pop edi
pop esi
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0100fd07
add esp, 0x84
ret
mov cl, byte [esi + 1]
lea edx, [esi + 1]
xor esi, esi
test cl, cl
je 0x1001921
mov edi, edi
movsx ecx, cl
rol esi, 7
add edx, 1
xor esi, ecx
mov cl, byte [edx]
test cl, cl
jne 0x1001910
push esi
push eax
mov ecx, edi
call fcn.01001950
mov ecx, dword [esp + 0x88]
pop edi
pop esi
xor ecx, esp
call fcn.0100fd07
add esp, 0x84
ret
Function at 0x1001950
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
push ebx
push ebp
mov ebp, dword [ecx]
xor ebp, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x3c]
add ecx, eax
push esi
push edi
mov edi, dword [ecx + 0x78]
mov edx, dword [edi + eax + 0x24]
add edx, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + eax + 0x20]
mov dword [esp + 0x24], edx
mov edx, dword [edi + eax + 0x1c]
add edx, eax
xor ebp, 0xab34cd77
add ecx, eax
cmp dword [edi + eax + 0x18], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], 0
jbe 0x10019f0
mov edx, dword [esp + 0x20]
mov edx, dword [ecx + edx*4]
mov bl, byte [edx + eax]
add edx, eax
xor esi, esi
test bl, bl
je 0x10019c6
movsx ebx, bl
rol esi, 7
add edx, 1
xor esi, ebx
mov bl, byte [edx]
test bl, bl
jne 0x10019b5
cmp ebp, esi
je 0x10019e7
mov edx, dword [esp + 0x20]
add edx, 1
cmp edx, dword [edi + eax + 0x18]
mov dword [esp + 0x20], edx
jb 0x10019a3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 8
mov ecx, dword [esp + 0x20]
cmp ecx, 0xffffffff
jne 0x10019fc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 8
mov edx, dword [esp + 0x24]
movzx ecx, word [edx + ecx*2]
cmp ecx, dword [edi + eax + 0x14]
ja 0x10019f0
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + ecx*4]
mov esi, dword [esp + 0x14]
mov edx, ecx
sub edx, edi
cmp edx, dword [esi + 0x7c]
jae 0x1001a34
lea edx, [ecx + eax]
mov ecx, dword [esp + 0x18]
call fcn.01001880
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
pop edi
pop esi
pop ebp
add eax, ecx
pop ebx
add esp, 0xc
ret 8

Function at 0x1001f80
Capabilities:
Create mailslot

Disassembly:
sub esp, 0x20c
mov eax, dword [0x102806c]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x210]
test eax, eax
jne 0x1001fb6
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0100fd07
add esp, 0x20c
ret 4
push eax
push str..mailslot_s
lea edx, [esp + 8]
call fcn.0100fba0
add esp, 8
push 0
push 0xffffffffffffffff
push 0x190
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMailslotW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [esi], eax
mov eax, ecx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0100fd07
add esp, 0x20c
ret 4

Function at 0x1002090
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [0x102afc8]
test eax, eax
jne 0x10020a7
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x102afc8], eax
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x102afc4], 0
jne 0x10020e1
push 0x12
call fcn.01012314
add esp, 4
test eax, eax
je 0x10020da
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov word [eax + 0x10], cx
jmp 0x10020dc
xor eax, eax
mov dword [0x102afc4], eax
mov eax, dword [0x102afc8]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x102afc4]
ret
Function at 0x1002180
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push esi
push edi
mov edi, eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x10021c9
cmp dword [esp + 8], 0
jle 0x10021c9
mov ecx, dword [esi]
push ecx
push 0x1024ca4
push 0x104
push edi
call fcn.0100fef0
add esp, 0x10
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
pop edi
pop esi
pop ecx
ret
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x10021f0
Capabilities:
Create process on windows
Read file on windows
Terminate process
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x484
mov eax, dword [0x102806c]
xor eax, esp
mov dword [esp + 0x480], eax
mov edx, dword [esp + 0x490]
mov ecx, dword [esp + 0x48c]
mov eax, dword [esp + 0x488]
push ebx
push esi
mov dword [esp + 0x6c], edx
push 0x104
lea edx, [esp + 0x7c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x4a0]
mov dword [esp + 0x6c], ecx
mov cx, word [esp + 0x4a4]
push edx
or ebx, 0xffffffff
push 0
mov dword [esp + 0x7c], eax
mov word [esp + 0x80], cx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetModuleBaseNameW
lea eax, [esp + 0x78]
push eax
lea esi, [esp + 0x10]
call fcn.01001f80
test eax, eax
je 0x1002390
lea eax, [esp + 0x280]
call fcn.01002180
push 0x44
lea ecx, [esp + 0x24]
push 0
push ecx
call fcn.01016120
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0x10
push 0
push 0
push 0
lea ecx, [esp + 0x2a0]
push ecx
push 0
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x74], 1
mov word [esp + 0x78], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x100237b
mov edx, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
push edx
call ebx
mov esi, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x10]
push eax
push 0x12
lea ecx, [esp + 0x74]
push ecx
push esi
call ebp
test eax, eax
je 0x1002311
cmp dword [esp + 0xc], 0
ja 0x100231b
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10022f5
push esi
call ebx
mov edx, dword [esp + 0x14]
push 0x3a98
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x14]
push eax
call ebx
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov dword [edi], ecx
mov ecx, dword [esp + 0x74]
mov dword [edi + 4], edx
mov dx, word [esp + 0x78]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
push 0xffffffffffffffff
mov word [edi + 0x10], dx
call ebx
push 0xffffffffffffffff
call ebx
pop ebp
mov ecx, dword [esp + 0x488]
pop esi
pop ebx
xor ecx, esp
call fcn.0100fd07
add esp, 0x484
ret 0x14
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
push ebx
call esi
push ebx
call esi
jmp 0x1002362
lea ecx, [esp + 0x78]
push ecx
lea esi, [esp + 0xc]
call fcn.01002000
test eax, eax
push 0
jne 0x10023aa
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, dword [esp + 0xc]
lea edx, [esp + 0xc]
push edx
push 0x12
lea eax, [esp + 0x70]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1003c90
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x10219fb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x102806c]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, dword [0x102afd0]
test eax, eax
jne 0x1003cc8
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x102afd0], eax
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x102afcc], 0
jne 0x1003d08
push 4
call fcn.01012314
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x10], 0
je 0x1003d01
mov edx, dword [esp + 0x18]
mov ecx, eax
call fcn.01003b40
jmp 0x1003d03
xor eax, eax
mov dword [0x102afcc], eax
mov eax, dword [0x102afd0]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x102afcc]
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
Function at 0x1003d30
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x1021e1b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x102806c]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x102806c]
xor eax, esp
push eax
lea eax, [esp + 0x24c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x25c]
lea esi, [esp + 0x14]
mov dword [esp + 0x24], eax
call fcn.01002cd0
push 0x208
lea ecx, [esp + 0x40]
push ecx
push 0
mov dword [esp + 0x260], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x3c]
mov ecx, esi
call fcn.01002400
test eax, eax
jne 0x1003de5
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1003dbc
push eax
call fcn.01010bef
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1003dcd
push eax
call fcn.01010bef
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1003dde
push eax
call fcn.01010bef
add esp, 4
xor eax, eax
jmp 0x1003ea2
call fcn.01002090
mov edx, dword [eax + 0xc]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ebx, dword [eax + 8]
mov ax, word [eax + 0x10]
sub esp, 0x14
mov ecx, esp
mov dword [ecx], esi
mov dword [esp + 0x48], edx
mov dword [ecx + 4], edi
mov byte [esp + 0x48], 0x88
mov ebp, dword [esp + 0x48]
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebp
mov word [esp + 0x4c], ax
mov word [ecx + 0x10], ax
call fcn.01002100
mov byte [esp + 0x39], al
mov eax, dword [esp + 0x14]
mov cx, word [esp + 0x38]
mov dword [eax + 0x28], esi
mov dword [eax + 0x2c], edi
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], ebp
push 0x104
lea edx, [esp + 0x40]
mov word [eax + 0x38], cx
mov eax, dword [esp + 0x28]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
lea ecx, [esp + 0x3c]
lea esi, [esp + 0x14]
call fcn.01002e50
mov esi, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1003e7e
push eax
call fcn.01010bef
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1003e8f
push eax
call fcn.01010bef
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1003ea0
push eax
call fcn.01010bef
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0100fd07
add esp, 0x244
ret 4

Function at 0x10041e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, eax
lea ebx, [esi + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [edi]
test al, al
mov dl, 0x55
mov ecx, edi
je 0x1004203
add ecx, 1
xor dl, al
mov al, byte [ecx]
test al, al
jne 0x10041f8
movsx ecx, word [esi + 4]
movzx eax, dl
cdq
idiv ecx
mov eax, dword [esi]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x100422d
mov ecx, dword [esi]
push edi
push ecx
call fcn.0100fea0
add esp, 8
test eax, eax
je 0x100422d
mov esi, dword [esi + 0x11]
test esi, esi
jne 0x1004216
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop esi
pop ebx
ret
Function at 0x1004240
Capabilities:
Encode data using xor

Disassembly:
push ebx
lea ebx, [esi + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi]
mov al, byte [ecx]
test al, al
mov dl, 0x55
je 0x1004260
add ecx, 1
xor dl, al
mov al, byte [ecx]
test al, al
jne 0x1004255
movsx ecx, word [esi + 4]
movzx eax, dl
cdq
idiv ecx
mov eax, dword [esi]
mov ecx, dword [eax + edx*4]
mov dword [edi + 0x11], ecx
mov dword [edi + 0x15], 0
mov ecx, dword [eax + edx*4]
test ecx, ecx
lea eax, [eax + edx*4]
je 0x1004286
mov dword [ecx + 0x15], edi
mov dword [eax], edi
add dword [esi + 8], 1
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
ret

Function at 0x10042a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
lea ebx, [edi + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi]
mov al, byte [ecx]
test al, al
mov dl, 0x55
je 0x10042c0
add ecx, 1
xor dl, al
mov al, byte [ecx]
test al, al
jne 0x10042b5
movsx ecx, word [edi + 4]
movzx eax, dl
cdq
idiv ecx
mov eax, dword [edi]
lea ecx, [eax + edx*4]
mov eax, dword [esi + 0x15]
test eax, eax
je 0x10042de
mov ecx, dword [esi + 0x11]
mov dword [eax + 0x11], ecx
jmp 0x10042e3
mov edx, dword [esi + 0x11]
mov dword [ecx], edx
mov eax, dword [esi + 0x11]
test eax, eax
je 0x10042f0
mov ecx, dword [esi + 0x15]
mov dword [eax + 0x15], ecx
add dword [edi + 8], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
ret
Function at 0x1005f80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, ecx
cmp dword [edi + 4], 0
mov ebx, esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ebx
je 0x10060a1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test esi, esi
mov dword [esp + 0x1c], eax
ja 0x1005fc8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 8
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x1c]
cmp eax, 0x7530
ja 0x10060a1
cmp ebx, 0x400
jbe 0x1005fea
mov ebx, 0x400
mov esi, dword [edi + 4]
call fcn.010014c0
mov edi, eax
mov ecx, str.ws2_32.dll
call fcn.01001560
test eax, eax
je 0x100600f
push 0xe797764
push eax
mov ecx, edi
call fcn.01001950
push 0
push ebx
push ebp
push esi
call eax
cmp eax, 0xffffffff
je 0x100602d
sub dword [esp + 0x18], eax
add ebp, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], eax
jmp 0x100607e
call fcn.010014c0
mov edi, eax
mov ecx, str.ws2_32.dll
call fcn.01001560
test eax, eax
je 0x100604f
push 0x8e878072
push eax
mov ecx, edi
call fcn.01001950
call eax
cmp eax, 0x2747
jne 0x1006096
call fcn.010014c0
mov edi, eax
mov ecx, str.kernel32.dll
call fcn.01001560
test eax, eax
je 0x100607a
push 0x3d9972f5
push eax
mov ecx, edi
call fcn.01001950
push 0x64
call eax
cmp dword [esp + 0x18], 0
ja 0x1005fc0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 8
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
Function at 0x10085f0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1021858
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x102806c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0x1000
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], 0x1000
call fcn.01011158
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
push eax
lea esi, [esp + 0x18]
call fcn.01001ea0
cmp dword [esp + 0x18], 0
jbe 0x100868c
push 0x1025130
mov edi, 1
call fcn.01001ea0
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008691
sub eax, edx
push ebx
mov edi, eax
lea esi, [esp + 0x18]
call fcn.01001ea0
push 0x1025134
mov edi, 1
call fcn.01001ea0
mov eax, dword [ebp + 0xc]
push eax
call fcn.01008760
add esp, 4
mov ebx, eax
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10086c8
sub eax, esi
push ebx
mov edi, eax
lea esi, [esp + 0x18]
call fcn.01001ea0
push ebx
call fcn.01010bef
add esp, 4
push 0
call fcn.01001f10
mov edx, dword [esp + 0x14]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10086f8
mov ecx, dword [ebp + 8]
sub eax, esi
mov esi, dword [ecx]
push eax
push edx
mov edx, dword [esi + 8]
call edx
mov esi, dword [esp + 0x1c]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100872d
push eax
call fcn.01010bef
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1008760
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
mov esi, 0x1000
xor ebp, ebp
push esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebp
call fcn.01011158
mov edi, eax
mov eax, dword [esp + 0x3c]
add esp, 4
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1008796
sub eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebp
je 0x10088cf
nop
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov bl, byte [ecx + eax]
cmp bl, 0x30
jl 0x10087c5
cmp bl, 0x39
jle 0x10087d9
cmp bl, 0x61
jl 0x10087cf
cmp bl, 0x7a
jle 0x10087d9
cmp bl, 0x41
jl 0x100883c
cmp bl, 0x5a
jg 0x100883c
mov edx, dword [esp + 0x24]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add ebp, 1
cmp ebp, esi
jbe 0x1008818
mov esi, ebp
shr esi, 0xc
add esi, 1
shl esi, 0xc
push esi
push edi
call fcn.01011c97
mov edi, eax
add esp, 8
test edi, edi
jne 0x100882a
mov ecx, dword [esp + 0x24]
xor esi, esi
mov dword [esp + 0x20], esi
push ecx
jmp 0x10088ac
test edi, edi
jne 0x100882a
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], edi
push ecx
jmp 0x10088ac
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov byte [edi + eax], bl
mov dword [esp + 0x20], ebp
push ecx
jmp 0x10088ac
movsx edx, bl
push edx
push str.___2X
lea edx, [esp + 0x1c]
call fcn.0100fc00
mov eax, dword [esp + 0x2c]
add esp, 8
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ebx, [ebp + 3]
cmp ebx, esi
jbe 0x1008888
mov esi, ebx
shr esi, 0xc
add esi, 1
shl esi, 0xc
push esi
push edi
call fcn.01011c97
mov edi, eax
add esp, 8
test edi, edi
jne 0x1008892
xor esi, esi
mov dword [esp + 0x20], esi
jmp 0x10088a7
test edi, edi
jne 0x1008892
mov dword [esp + 0x20], edi
jmp 0x10088a7
mov cx, word [esp + 0x14]
mov word [edi + ebp], cx
mov dl, byte [esp + 0x16]
mov byte [edi + ebp + 2], dl
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
add eax, 1
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
jb 0x10087b0
mov ebx, dword [esp + 0x24]
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 1]
cmp eax, esi
jbe 0x10088f4
shr eax, 0xc
add eax, 1
shl eax, 0xc
push eax
push edi
call fcn.01011c97
add esp, 8
mov edi, eax
test edi, edi
je 0x10088fc
mov byte [edi + ebp], 0
mov ebp, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call ebp
push edi
call fcn.01011b95
add esp, 4
push 0xffffffffffffffff
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x1008926
push edi
call fcn.01010bef
add esp, 4
push ebx
call ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x10089f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x1021aac
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x102806c]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x102806c]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x12c]
mov edi, ecx
mov dword [esp + 0x14], edi
call fcn.01008970
xor esi, esi
push esi
push esi
mov dword [esp + 0x12c], esi
push esi
mov dword [edi], vtable.CTFC_HTTP_Form_Multipart.0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0x1000
mov dword [edi + 0x120], eax
mov dword [edi + 0x11c], esi
mov dword [edi + 0x118], esi
mov dword [edi + 0x12c], esi
mov dword [edi + 0x128], 0x1000
call fcn.01011158
add esp, 4
mov dword [edi + 0x124], eax
cmp ebp, esi
mov ebx, 1
mov byte [esp + 0x124], bl
je 0x1008ab9
mov eax, dword [edi + 8]
cmp eax, esi
je 0x1008aad
push eax
call fcn.01010bef
add esp, 4
mov dword [edi + 8], esi
push ebp
call fcn.01011b95
add esp, 4
mov dword [edi + 8], eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov word [edi + 4], bx
lea ebx, [edi + 0x18]
call ebp
movzx eax, ax
shr eax, 2
push eax
call ebp
movzx ecx, ax
push ecx
push str.____________________________4x_4x
mov edx, ebx
call fcn.0100fbe0
push ebx
push str.multipart_form_data__boundary_s
lea edx, [esp + 0x2c]
call fcn.0100fbe0
mov eax, dword [edi + 0xc]
add esp, 0x14
lea edx, [esp + 0x18]
push edx
push str.Content_Type
call fcn.010046e0
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov eax, edi
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0100fd07
add esp, 0x114
ret 4