joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1120260
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
push 0x43601
push 0
push 0
push 0
push 0
push 0
push 0x420
mov esi, dword [ebp + 8]
push 0x2c7
push 0xaf
push 0x2d
push 0
push 0
push 0x1080330
push 0x111f3a0
push 0x107c450
push 0x10e5df0
push 0
mov eax, 0x3c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov eax, dword [eax]
mov ecx, dword [eax + 0xf34]
mov edx, dword [eax + 0x185c]
push 0
push 0
mov dword [ebp - 0x38], ecx
mov ecx, dword [eax + 0x1e28]
push 0
push 0x16
mov dword [ebp - 0x34], edx
mov edx, dword [eax + 0x16d0]
mov dword [ebp - 0x30], ecx
mov ecx, dword [eax + 0x1860]
push 0xa
mov dword [ebp - 0x2c], edx
mov edx, dword [eax + 0x1e2c]
mov eax, dword [eax + 0x1e30]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x24], edx
push 7
lea edx, [ebp - 0x38]
push edx
push esi
mov dword [ebp - 0x18], 0x71
mov dword [ebp - 0x14], 0xe6
mov dword [ebp - 0x10], 0x3f
mov dword [ebp - 0xc], 0x70
mov dword [ebp - 8], 0x32
mov dword [ebp - 0x20], eax
call fcn.0105f7e0
mov dword [eax + 0x4ac], 0
mov dword [eax + 0x498], 0x1c
mov dword [eax + 0x49c], 0
mov dword [eax + 0x4a0], 2
mov ecx, dword [esi + 0x88]
cmp dword [ecx], 0
jne 0x1120369
mov dword [ecx], eax
jmp 0x1120372
mov ecx, dword [ecx + 4]
mov dword [ecx + 0x4c8], eax
mov edx, dword [esi + 0x88]
mov dword [edx + 4], eax
mov ecx, dword [esi]
lea edx, [ebp + 8]
push edx
push 0
push esi
push fcn.010ee260
push 0
mov dword [ecx + 0x2883c], eax
mov edi, dword [esi + 4]
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x11203a9
push eax
mov eax, dword [edi + 0x1c8]
call eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1120cb0
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push ebx
push esi
mov dword [ebp - 4], 0
call fcn.010b9df0
push 0x80
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
mov ecx, dword [ebp + 0xc]
push 0
push 0
lea eax, [ebp + 0x10]
push eax
push ecx
push esi
call fcn.01120af0
mov edi, eax
test edi, edi
jne 0x1120d0f
push eax
push 1
lea edx, [ebp + 0x10]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
push edx
push eax
push esi
call fcn.01120af0
mov edi, eax
test edi, edi
je 0x1120dbb
mov ecx, dword [ebp + 0x10]
push 0
push 0
push 0
push ecx
push edi
push ebx
push esi
call fcn.01109750
test eax, eax
jne 0x1120d39
mov edx, dword [ebp + 0x10]
push eax
push 1
push eax
push edx
push edi
push ebx
push esi
call fcn.01109750
test eax, eax
je 0x1120da7
push 0
push 0
lea eax, [ebp + 0xc]
push eax
push ebx
push esi
call fcn.01120af0
test eax, eax
je 0x1120da7
mov ecx, dword [ebp + 0x10]
mov edx, edi
mov esi, eax
cmp ecx, 4
jb 0x1120d6c
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x1120d97
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x1120d58
test ecx, ecx
je 0x1120d90
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x1120d97
cmp ecx, 1
jbe 0x1120d90
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x1120d97
cmp ecx, 2
jbe 0x1120d90
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
jne 0x1120d97
mov dword [ebp - 4], 1
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
test edi, edi
je 0x1120dbb
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1121b00
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_CreateEventW]
push 0
push 0
push 1
push 0
call edi
push 0
push 0
push 0
push 0
mov dword [esi + 0x2fb70], eax
call edi
cmp dword [esi + 0x2fb70], 0
mov dword [esi + 0x2fb74], eax
je 0x1121b66
test eax, eax
je 0x1121b66
lea eax, [ebp + 8]
push eax
push 0
push esi
push 0x11219b0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 0x2fb78], eax
test eax, eax
je 0x1121b66
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_SetThreadPriority]
pop edi
pop esi
pop ebp
ret 4

Function at 0x11244e0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push esi
push 0x213
push 8
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
test esi, esi
je 0x112455f
mov ecx, dword [ebp + 0xc]
push edi
test ecx, ecx
je 0x112451d
mov edi, 0x210
sub ecx, esi
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
sub edi, 1
jne 0x1124512
mov eax, dword [ebp + 8]
mov dword [esi + 0x20c], eax
mov edi, dword [eax]
lea eax, [ebp + 0xc]
push eax
push 0
push esi
push 0x1124460
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x1124552
mov ecx, dword [edi + 0x1c8]
push eax
call ecx
pop edi
pop esi
pop ebx
pop ebp
ret 8
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1125f00
Capabilities:
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x1125f5b
mov esi, dword [ebp + 0x10]
push 0x100d224
push esi
call fcn.0102d810
test eax, eax
je 0x1125f2d
cmp dword [edi + 0x54], 0
jne 0x1125f5b
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.01125b80
mov ebx, eax
test ebx, ebx
je 0x1125f5e
mov eax, dword [ebp + 0x10]
push ebx
push eax
push edi
push esi
call fcn.01095130
push ebx
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
jmp 0x1125f5e
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov edx, dword [edi + 0x20]
push ecx
push ebx
push 0x1f
push edi
push esi
call edx
add esp, 0x14
cmp dword [edi + 0x44], 0
je 0x11260d8
cmp dword [edi + 0x48], 0
je 0x1125fa7
push ebx
push esi
call fcn.0102fd00
mov ebx, eax
test ebx, ebx
je 0x1125fa7
push ebx
push edi
push esi
call fcn.010949f0
push ebx
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.msvcrt.dll__wtoi64]
mov ebx, edx
add esp, 4
mov esi, eax
mov dword [ebp - 0xc], ebx
test ebx, ebx
jl 0x11260d8
jg 0x1125fcd
test esi, esi
jbe 0x11260d8
mov ecx, dword [ebp + 0x14]
push 0x3a
push ecx
call fcn.0102d940
test eax, eax
je 0x11260d8
add eax, 2
push eax
call dword [sym.imp.msvcrt.dll__wtoi64]
add esp, 4
mov dword [ebp - 8], eax
test edx, edx
jl 0x11260d8
jg 0x1126002
test eax, eax
jbe 0x11260d8
cmp dword [edi + 0x100d0], 0
je 0x1126029
mov ebx, dword [edi + 0x100d0]
mov edx, dword [ebp - 0xc]
xor eax, eax
push eax
push ebx
push edx
push esi
mov dword [ebp - 0x14], eax
call fcn.01197320
mov ecx, dword [ebp - 0x14]
push ecx
push ebx
jmp 0x112603e
push 0
push 0x10000
push ebx
push esi
call fcn.01197320
push 0
push 0x10000
push edx
push eax
call fcn.01197280
mov ecx, dword [edi + 0x100cc]
mov ebx, eax
mov eax, dword [ebp - 8]
sub eax, ebx
add eax, esi
push eax
push ebx
push edx
push 4
push ecx
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov dword [ebp + 0x14], eax
test eax, eax
je 0x11260d8
mov eax, dword [ebp - 8]
add eax, 2
push eax
call fcn.0102ae30
mov edi, eax
test edi, edi
je 0x11260ce
mov eax, dword [ebp - 8]
push eax
sub esi, ebx
add esi, dword [ebp + 0x14]
add eax, 2
push esi
push eax
push edi
call fcn.01197a8b
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 8]
add esp, 0x10
lea edx, [ebp + 0xc]
push edx
push eax
push edi
push ebx
call fcn.0104b490
mov esi, eax
test esi, esi
je 0x11260c1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push 0
push ecx
push esi
push edx
push ebx
call fcn.01109970
push esi
call fcn.0102add0
jmp 0x11260c8
mov dword [ebp + 0xc], 0
push edi
call fcn.0102add0
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1127a80
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push 0xd
push 8
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
test esi, esi
je 0x1127b3b
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x1127aaf
xor eax, eax
jmp 0x1127ac4
cmp word [ecx], 0
mov eax, ecx
je 0x1127ac0
add eax, 2
cmp word [eax], 0
jne 0x1127ab7
sub eax, ecx
sar eax, 1
push eax
push ecx
mov dword [esi + 8], eax
call fcn.0102da20
mov dword [esi + 4], eax
test eax, eax
je 0x1127b2f
mov edi, dword [ebp + 8]
push ebx
lea ebx, [edi + 0x944]
push ebx
mov dword [esi], edi
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
mov edi, dword [edi]
lea eax, [ebp + 0xc]
push eax
push 0
push esi
push fcn.011278a0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x1127b1b
mov ecx, dword [edi + 0x1c8]
push eax
call ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
pop ebx
pop edi
pop esi
pop ebp
ret 8
push esi
call fcn.011278a0
push ebx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
pop ebx
pop edi
pop esi
pop ebp
ret 8
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop edi
pop esi
pop ebp
ret 8

Function at 0x1128660
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push eax
call fcn.010d3220
test eax, eax
jne 0x11286be
mov ecx, dword [esi]
push ecx
call fcn.010d3220
test eax, eax
jne 0x11286be
push edi
mov edi, dword [esi]
cmp dword [edi + 0x8af4], 0x1771
jb 0x112869a
push eax
push eax
push esi
call fcn.010d9fe0
jmp 0x11286bd
lea edx, [ebp + 8]
push edx
push 0
push edi
push 0x10da340
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x11286bd
push eax
mov eax, dword [edi + 0x1c8]
call eax
pop edi
mov ecx, dword [esi]
mov eax, dword [ecx + 0x35b0]
test eax, eax
je 0x1128720
push 0
add eax, 0x70
push eax
push esi
call fcn.010ca4b0
mov edx, dword [esi]
mov eax, dword [edx + 0x35b0]
push 0
add eax, 0x70
push eax
push esi
call fcn.010ca4b0
mov eax, dword [esi]
mov ecx, dword [eax + 0x35b0]
push 0
push 0
push 0
push 0x1001e10
add ecx, 0x4ac
push ecx
push 0
push 1
push eax
call fcn.010ca200
mov edx, dword [esi]
push 0x1018d10
push connect
push edx
call fcn.010bb7c0
pop esi
pop ebp
ret 4
Function at 0x1128890
Capabilities:
Persist via run registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x314
push ebx
push esi
push 0x803
push 8
mov ebx, 3
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
test esi, esi
je 0x1128a65
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
push 0x3ff
push esi
push eax
push 0
push ecx
call fcn.010bd1e0
cmp eax, 2
je 0x11288f9
mov edx, dword [ebp + 0x10]
mov eax, dword [edi]
push 0x3ff
push esi
push edx
push 0
push eax
call fcn.010bd1e0
cmp eax, ebx
jne 0x1128a54
mov edx, dword [edi]
lea ecx, [ebp + 0x10]
push ecx
push 0
push 0
push 0
push 0
push 0x22e078
push edx
call fcn.01096ff0
mov eax, dword [ebp + 0x20]
mov ecx, dword [edi]
push esi
push eax
push ecx
call fcn.01120cb0
test eax, eax
je 0x1128a23
mov ebx, dword [ebp + 0xc]
push esi
push ebx
push edi
call fcn.010cafa0
test eax, eax
je 0x1128a23
push ebx
push edi
call fcn.010caf20
cmp dword [ebp + 0x18], 0
je 0x11289b1
push 0x20a
lea edx, [ebp - 0x314]
push 0
push edx
call sub.msvcrt.dll_memset
push 0x1001e40
push esi
push 0x1020d20
lea eax, [ebp - 0x314]
push 0x103
push eax
call fcn.0102d9e0
add esp, 0x20
lea ecx, [ebp - 0x314]
push ecx
call fcn.0102d5e0
mov ecx, dword [edi]
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x314]
push eax
push 1
push 0x1019014
push 0x101d430
push connect
push ecx
call fcn.010bae20
xor ebx, ebx
jmp 0x1128a54
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
je 0x1128a0a
push 0x105
lea edx, [ebp - 0x108]
push 0
push edx
call sub.msvcrt.dll_memset
push ebx
push 0x1001dc8
push 0x1001e44
push 0x1020d0c
lea eax, [ebp - 0x108]
push 0x103
push eax
call fcn.0102c510
mov edx, dword [edi]
add esp, 0x24
push 5
push 0x3e8
lea ecx, [ebp - 0x108]
push ecx
push esi
push edx
call fcn.0102e5e0
xor ebx, ebx
jmp 0x1128a54
mov eax, dword [edi]
push 5
push 0x3e8
push 0x1001e44
push esi
push eax
call fcn.0102e5e0
xor ebx, ebx
jmp 0x1128a54
mov ecx, dword [edi]
push ecx
call fcn.010ba030
test eax, eax
je 0x1128a36
mov ebx, 2
jmp 0x1128a54
cmp dword [ebp + 0x14], 0
je 0x1128a43
mov ebx, 1
jmp 0x1128a54
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x20]
push edx
push esi
push eax
push edi
call fcn.010cb050
mov ebx, eax
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x1129220
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, dword [ebp + 8]
push 1
lea eax, [edi + 0x9f8]
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
test eax, eax
jne 0x11292b6
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 4], esi
mov dword [ebp + 8], esi
call ebx
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 4]
push edx
push edi
mov dword [ebp - 8], eax
call fcn.01128ec0
test eax, eax
je 0x11292c0
inc esi
cmp esi, 0xf
jg 0x112928a
call ebx
sub eax, dword [ebp - 8]
cmp eax, 0x7530
ja 0x112928a
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 4]
push ecx
push edi
call fcn.01128ec0
test eax, eax
jne 0x1129266
test esi, esi
je 0x11292a0
mov edx, dword [edi]
push edi
mov dword [edx + 0x16128], 1
call fcn.01118be0
mov eax, dword [edi]
push eax
call fcn.010cc5d0
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1129a10
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
push 1
push edi
call fcn.0109aed0
mov eax, dword [edi]
mov ecx, dword [eax + 0x3598]
push 0
push ecx
push eax
call fcn.01119c30
mov eax, dword [edi]
mov ecx, dword [eax + 0x3598]
test ecx, ecx
je 0x1129a46
push ecx
push eax
call fcn.01054540
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor eax, eax
test esi, esi
jbe 0x1129a5f
mov dl, al
sub dl, 0x40
xor byte [eax + ecx], dl
inc eax
cmp eax, esi
jb 0x1129a52
push esi
push ecx
push edi
call fcn.0110ebf0
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1129a80
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6c8
push ebx
push esi
push edi
xor ebx, ebx
push 0x6c0
lea eax, [ebp - 0x6c8]
push ebx
push eax
mov dword [ebp - 4], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
lea esi, [ebp - 0x644]
mov dword [ebp - 8], ebx
mov eax, dword [ebx + 0x11a1e44]
push eax
mov eax, dword [ebp + 8]
push 0x100c124
add eax, 0x3c86
push eax
call fcn.01085230
mov edi, eax
test edi, edi
je 0x1129b57
mov eax, dword [ebx + 0x11a1e44]
lea ecx, [esi - 0x84]
test ecx, ecx
je 0x1129afc
test eax, eax
je 0x1129afc
push 0x3f
push eax
lea edx, [esi - 0x84]
push edx
call dword [sym.imp.msvcrt.dll_wcsncpy]
add esp, 0xc
mov eax, dword [ebp + 8]
push 0
push edi
push eax
call fcn.01120830
cmp eax, 0x400000
jae 0x1129b47
mov ecx, dword [ebp + 8]
push 0
push 1
lea ebx, [esi + 4]
push ebx
push edi
push ecx
call fcn.01120af0
mov dword [esi], eax
test eax, eax
je 0x1129b44
mov edx, dword [ebx]
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ecx + 0x91e0]
push eax
push 0xffffffffffffffff
push edx
call fcn.010314c0
xor eax, 0x10cc4ac
mov dword [esi + 8], eax
mov ebx, dword [ebp - 8]
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
add ebx, 4
add esi, 0x90
mov dword [ebp - 8], ebx
cmp ebx, 0x30
jb 0x1129ab1
xor ecx, ecx
lea eax, [ebp - 0x640]
lea edx, [ecx + 2]
cmp dword [eax - 4], 0
je 0x1129b86
mov esi, dword [eax]
lea ecx, [ecx + esi + 0x90]
cmp dword [eax + 0x8c], 0
je 0x1129b9c
mov esi, dword [eax + 0x90]
lea ecx, [ecx + esi + 0x90]
cmp dword [eax + 0x11c], 0
je 0x1129bb2
mov esi, dword [eax + 0x120]
lea ecx, [ecx + esi + 0x90]
cmp dword [eax + 0x1ac], 0
je 0x1129bc8
mov esi, dword [eax + 0x1b0]
lea ecx, [ecx + esi + 0x90]
cmp dword [eax + 0x23c], 0
je 0x1129bde
mov esi, dword [eax + 0x240]
lea ecx, [ecx + esi + 0x90]
cmp dword [eax + 0x2cc], 0
je 0x1129bf4
mov esi, dword [eax + 0x2d0]
lea ecx, [ecx + esi + 0x90]
add eax, 0x360
sub edx, 1
jne 0x1129b77
test ecx, ecx
je 0x1129c62
lea edi, [ecx + 4]
test edi, edi
je 0x1129c9c
lea eax, [edi + 1]
push eax
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov dword [ebp - 4], eax
test eax, eax
je 0x1129c62
mov esi, eax
mov dword [esi], 0x53435257
add esi, 4
push esi
push 0xc
lea ecx, [ebp - 0x6c8]
push ecx
call fcn.010544c0
lea ecx, [edi - 4]
xor eax, eax
test ecx, ecx
jbe 0x1129c5d
mov edi, edi
mov dl, al
sub dl, 0x40
xor byte [eax + esi], dl
inc eax
cmp eax, ecx
jb 0x1129c50
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov ebx, dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
lea esi, [ebp - 0x644]
mov edi, 0xc
mov eax, dword [esi]
test eax, eax
je 0x1129c85
push eax
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
add esi, 0x90
sub edi, 1
jne 0x1129c73
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 4], 0
jmp 0x1129c62
Function at 0x112ab00
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
lea edx, [ebp + 8]
push edx
push 0
mov dword [eax + 0x1f5dc], 1
mov ecx, dword [esi]
mov eax, dword [ecx + 0x35b0]
or dword [eax + 0x138], 0x10
mov edi, dword [esi]
push esi
push 0x112a410
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x112ab4a
push eax
mov eax, dword [edi + 0x1c8]
call eax
mov edx, dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0
push 0
push 0
push 0
push 0x22e038
push edx
call fcn.01096ff0
pop edi
pop esi
pop ebp
ret 4
Function at 0x112b0e0
Capabilities:
Delete directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
sub eax, 0
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
je 0x112b1fa
sub eax, 1
jne 0x112b2a0
mov ecx, dword [esi + 8]
lea eax, [edi + 0xee0]
test eax, eax
je 0x112b12b
test ecx, ecx
je 0x112b12b
push 0x103
push ecx
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
add esp, 0xc
mov edx, dword [esi + 8]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
lea ecx, [ebp + 0x10]
push ecx
mov ecx, dword [esi + 4]
push 0x20019
push 0
push edx
mov edx, dword [eax + 0x1f0]
push ecx
call edx
test eax, eax
jne 0x112b1ef
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + 0x204]
push ecx
call edx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x112b194
push eax
mov eax, dword [esi + 8]
push 0
push eax
push edi
call fcn.01110c50
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [ebx]
push edx
push eax
push ecx
call fcn.010bbb60
inc dword [edi + 0x10fc]
jmp 0x112b2a0
mov edx, dword [esi + 8]
push 0
push 0
push edx
push edi
call fcn.01110c50
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
mov edx, dword [ebx]
push 0
push 0
push 0
push eax
push ecx
push edx
call fcn.010bb690
mov edx, dword [esi + 8]
mov eax, dword [ebx]
push 0
lea ecx, [ebp + 0x10]
push ecx
mov ecx, dword [esi + 4]
push 0
push 0xf003f
push 0
push 0
push 0
push edx
mov edx, dword [eax + 0x2c4]
push ecx
call edx
test eax, eax
jne 0x112b1ef
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + 0x204]
push ecx
call edx
inc dword [edi + 0x10fc]
jmp 0x112b2a0
mov eax, dword [esi + 4]
push eax
call fcn.010625a0
test eax, eax
je 0x112b2a0
mov ecx, dword [esi + 4]
lea eax, [edi + 0xee0]
test eax, eax
je 0x112b22c
test ecx, ecx
je 0x112b22c
push 0x103
push ecx
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
add esp, 0xc
mov ecx, dword [esi + 4]
mov ebx, dword [ebp + 8]
mov edx, dword [ebx]
push 0
push 0
push ecx
push edx
call fcn.01109650
cmp eax, 0xffffffff
je 0x112b29a
push 0
test al, 0x10
je 0x112b262
mov eax, dword [esi + 4]
push 0
push eax
push edi
call fcn.01110c50
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
jmp 0x112b29a
mov edx, dword [esi + 4]
mov eax, dword [ebx]
push edx
push eax
call fcn.01120830
mov ecx, dword [esi + 4]
push 0
push eax
push ecx
push edi
mov dword [ebp - 4], eax
call fcn.01110c50
mov edx, dword [esi + 0xc]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0xc]
push edx
mov edx, dword [esi + 4]
push ecx
push edx
push ebx
call fcn.01110fa0
test eax, eax
jne 0x112b29a
mov dword [ebp - 4], eax
inc dword [edi + 0x10f8]
mov eax, dword [ebp - 4]
add dword [edi + 0x10f0], eax
adc dword [edi + 0x10f4], 0
cmp dword [edi + 0x10f4], 0
ja 0x112b2cf
jb 0x112b2c7
cmp dword [edi + 0x10f0], 0x6400000
jae 0x112b2cf
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x112fd10
Capabilities:
Delete directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi + 0x25c]
lea eax, [ebp - 4]
push eax
push 0x102176c
push ecx
mov dword [ebp - 4], 0
call fcn.0102d410
cmp dword [edi + 0x238], 0
mov esi, eax
je 0x112fe95
push ebx
lea esp, [esp]
test esi, esi
je 0x112fe94
cmp word [esi], 0
mov eax, esi
je 0x112fd69
add eax, 2
cmp word [eax], 0
jne 0x112fd60
sub eax, esi
sar eax, 1
je 0x112fe1b
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
call fcn.0112fc80
push esi
push edi
push ebx
call fcn.0112fc80
push esi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
lea eax, [edi + 0x28]
test eax, eax
je 0x112fda4
push 0x103
push esi
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
add esp, 0xc
mov esi, dword [edi + 0x10]
mov ebx, dword [edi]
test esi, esi
je 0x112fe1b
test ebx, ebx
je 0x112fe1b
push esi
push ebx
call fcn.0105b550
test eax, eax
je 0x112fe1b
push 1
lea edx, [ebx + 0x1c]
push edx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
push 1
lea eax, [esi + 0x4a8]
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
push esi
call fcn.0105b490
test eax, eax
je 0x112fde7
push 1
push 0
jmp 0x112fe14
cmp dword [esi], 0x10
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
jne 0x112fdfe
add eax, 0x32
add eax, ecx
mov ecx, dword [esi + 0x10]
add ecx, edx
push 0
lea edx, [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 8], ecx
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [edi]
inc dword [edi + 0x240]
push edi
push ecx
call fcn.0107b1c0
push 0x4e2
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov esi, dword [ebp - 4]
test esi, esi
je 0x112fe87
mov eax, esi
mov ecx, 0x102176c
mov dx, word [ecx]
add ecx, 2
cmp dx, word [eax]
jne 0x112fe53
add eax, 2
jmp 0x112fe3e
cmp word [ecx], 0
jne 0x112fe43
sub eax, esi
sar eax, 1
cmp word [esi + eax*2], 0
lea esi, [esi + eax*2]
je 0x112fe80
push 0x102176c
push esi
call fcn.0102d3c0
test eax, eax
je 0x112fe84
xor ecx, ecx
mov word [eax], cx
add eax, 2
jmp 0x112fe84
xor esi, esi
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [edi + 0x238], 0
jne 0x112fd50
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8