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

Disassembly:
sub esp, 0x134
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.GetSystemDirectoryA
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.lstrcatA
push str.KERNEL32.dll
mov ebx, eax
call esi
push eax
call edi
push str.lstrcpyA
push str.KERNEL32.dll
mov ebp, eax
call esi
push eax
call edi
mov esi, eax
lea eax, [esp + 0x40]
push 0x104
push eax
call ebx
mov al, 0x65
mov dl, 0x74
mov byte [esp + 0x1c], al
mov byte [esp + 0x21], dl
mov byte [esp + 0x22], al
mov byte [esp + 0x25], al
mov byte [esp + 0x26], dl
mov byte [esp + 0x2e], al
mov byte [esp + 0x32], al
mov byte [esp + 0x38], al
mov byte [esp + 0x3a], al
mov byte [esp + 0x3c], al
mov cl, 0x72
mov bl, 0x6c
mov dl, 0x78
xor al, al
mov byte [esp + 0x10], 0x5c
mov byte [esp + 0x11], 0x50
mov byte [esp + 0x12], cl
mov byte [esp + 0x13], 0x6f
mov byte [esp + 0x14], 0x67
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], 0x61
mov byte [esp + 0x17], 0x6d
mov byte [esp + 0x18], 0x20
mov byte [esp + 0x19], 0x46
mov byte [esp + 0x1a], 0x69
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x1e], 0x5c
mov byte [esp + 0x1f], 0x49
mov byte [esp + 0x20], 0x6e
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], 0x6e
mov byte [esp + 0x27], 0x20
mov byte [esp + 0x28], 0x45
mov byte [esp + 0x29], dl
mov byte [esp + 0x2a], 0x70
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], 0x6f
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2f], cl
mov byte [esp + 0x30], 0x5c
mov byte [esp + 0x31], 0x69
mov byte [esp + 0x33], dl
mov byte [esp + 0x34], 0x70
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 0x6f
mov byte [esp + 0x37], cl
mov byte [esp + 0x39], 0x2e
mov byte [esp + 0x3b], dl
mov byte [esp + 0x3d], al
mov byte [esp + 0x42], al
lea ecx, [esp + 0x10]
lea edx, [esp + 0x40]
push ecx
push edx
call ebp
mov ecx, dword [esp + 0x148]
lea eax, [esp + 0x40]
push eax
push ecx
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x134
ret

Function at 0x404270
Capabilities:
Packed with generic packer

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
mov dword [ebp], 0
mov dword [eax], 0
mov eax, dword [esp + 0x24]
push edi
mov dword [ecx], 0
xor bl, bl
mov dword [edx], 0
push esi
mov dword [eax], 0
mov byte [esp + 0x1c], bl
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
push edi
call sub.MFC42.DLL_operatornew
mov ecx, edi
mov edi, eax
mov edx, ecx
push 0x7c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp], eax
call fcn.00405ef0
add esp, 0xc
test eax, eax
je 0x40434f
lea esi, [eax + 1]
push 0x7c
push esi
mov byte [eax], bl
call fcn.00405ef0
add esp, 8
test eax, eax
je fcn.004042fe
jmp loc.0040f2de

Function at 0x40551e
Capabilities:
Packed with generic packer

Disassembly:
cmp edi, 0xffffffff
je fcn.0040552a
push edi
jmp loc.0040f704
Function at 0x4055a0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4055be
or eax, eax
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0xc], eax
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [esp + 4]
push 0x10
push edx
push esi
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4055ff
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x405ef0
Capabilities:
Packed with generic packer

Disassembly:
lea eax, [edx - 1]
pop ebx
ret
xor eax, eax
mov al, byte [esp + 8]
push ebx
mov ebx, eax
shl eax, 8
mov edx, dword [esp + 8]
test edx, 3
je 0x405f1b
mov cl, byte [edx]
inc edx
cmp cl, bl
je 0x405ee0
test cl, cl
je 0x405f64
test edx, 3
jne 0x405f08
or ebx, eax
push edi
mov eax, ebx
shl ebx, 0x10
push esi
or ebx, eax
mov ecx, dword [edx]
mov edi, 0x7efefeff
mov eax, ecx
mov esi, edi
xor ecx, ebx
add esi, eax
add edi, ecx
xor ecx, 0xffffffff
xor eax, 0xffffffff
xor ecx, edi
xor eax, esi
add edx, 4
and ecx, 0x81010100
jne 0x405f68
jmp 0x40fa2c
pop esi
pop edi
pop ebx
xor eax, eax
ret
mov eax, dword [edx - 4]
cmp al, bl
je 0x405fa5
test al, al
je 0x405f62
cmp ah, bl
je 0x405f9e
test ah, ah
je 0x405f62
shr eax, 0x10
cmp al, bl
je 0x405f97
test al, al
je 0x405f62
cmp ah, bl
je 0x405f90
test ah, ah
je 0x405f62
jmp 0x405f26
pop esi
pop edi
lea eax, [edx - 1]
pop ebx
ret
lea eax, [edx - 2]
pop esi
pop edi
pop ebx
ret
lea eax, [edx - 3]
pop esi
pop edi
pop ebx
ret
lea eax, [edx - 4]
pop esi
pop edi
pop ebx
ret
Function at 0x4036f0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x180c
call fcn.0040ea00
mov eax, dword [0x2ba0c04]
mov ecx, dword [0x2ba0b78]
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x403814
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x2ba0c04], 0x959
jne 0x4037fa
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0x402db4
push 0
push 0
call edi
push 0
lea ecx, [esp + 0xc1c]
push ecx
push 0
call ebx
push 0
push 0
call esi
push 0x402dd0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
push 0
lea edx, [esp + 0x420]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea eax, [esp + 0x101c]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0x402e14
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
push 0x402e1c
push 0x402e50
call esi
push 0
push 0x402eac
push 0x402ec4
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00403530
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403734
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x180c
ret
Function at 0x40628b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x446aac]
jne 0x406295
repz ret
jmp fcn.0040b10c

Function at 0x40c06b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00408a68
and dword [ebp - 4], 0
cmp dword [0x44a0b0], 0
mov ebx, eax
jne 0x40c11c
push 0x401c2c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c1cd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401c20
push edi
call esi
test eax, eax
je 0x40c1cd
push eax
call fcn.004089f6
mov dword [esp], 0x401c10
push edi
mov dword [0x44a0b0], eax
call esi
push eax
call fcn.004089f6
mov dword [esp], 0x401bfc
push edi
mov dword [0x44a0b4], eax
call esi
push eax
call fcn.004089f6
mov dword [esp], 0x401be0
push edi
mov dword [0x44a0b8], eax
call esi
push eax
call fcn.004089f6
pop ecx
mov dword [0x44a0c0], eax
test eax, eax
je 0x40c11c
push 0x401bc8
push edi
call esi
push eax
call fcn.004089f6
pop ecx
mov dword [0x44a0bc], eax
mov eax, dword [0x44a0bc]
cmp eax, ebx
je 0x40c174
cmp dword [0x44a0c0], ebx
je 0x40c174
push eax
call fcn.00408a71
push dword [0x44a0c0]
mov esi, eax
call fcn.00408a71
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c174
test edi, edi
je 0x40c174
call esi
test eax, eax
je 0x40c16b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c16b
test byte [ebp - 0xc], 1
jne 0x40c174
or dword [ebp + 0x10], 0x200000
jmp 0x40c1ad
mov eax, dword [0x44a0b4]
cmp eax, ebx
je 0x40c1ad
push eax
call fcn.00408a71
pop ecx
test eax, eax
je 0x40c1ad
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c1ad
mov eax, dword [0x44a0b8]
cmp eax, ebx
je 0x40c1ad
push eax
call fcn.00408a71
pop ecx
test eax, eax
je 0x40c1ad
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44a0b0]
call fcn.00408a71
pop ecx
test eax, eax
je 0x40c1cd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c1cf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4010ab
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x401104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4010f5
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x4010f1
cmp esi, ecx
jae 0x4010f5
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec edx
jne 0x4010e1
cmp esi, ecx
jb 0x4010f9
xor eax, eax
jmp 0x401103
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x401391
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0x238
mov eax, 0x40d866
call fcn.0040c4bd
xor esi, esi
lea ecx, [ebp + 8]
mov dword [ebp - 4], esi
call fcn.004017ae
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x4014b8
mov dword [ebp - 0x244], 0x22c
mov dword [ebp - 0x14], esi
call fcn.004011da
push eax
lea ecx, [ebp - 0x14]
call fcn.004018d9
lea eax, [ebp - 0x244]
xor ebx, ebx
push eax
inc ebx
push edi
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x40149e
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x4013fe
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.004019fe
lea ecx, [ebp - 0x14]
call fcn.004017ae
mov edx, dword [eax]
mov eax, dword [ebp - 0x14]
lea esi, [edx - 0x10]
lea ecx, [eax - 0x10]
mov dword [ebp - 0x18], ecx
cmp esi, ecx
je 0x40146b
cmp dword [ecx + 0xc], 0
jl 0x40145c
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x40145c
mov ecx, esi
call fcn.00401ab5
mov ecx, dword [ebp - 0x18]
mov esi, eax
call fcn.004011be
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], eax
jmp 0x40146b
push dword [edx - 0xc]
lea ecx, [ebp - 0x14]
push edx
call fcn.004019fe
mov eax, dword [ebp - 0x14]
xor esi, esi
cmp dword [ebp + 8], esi
je 0x401490
cmp dword [eax - 0xc], esi
jl 0x401490
push dword [ebp + 8]
push eax
call fcn.00402382
pop ecx
pop ecx
test eax, eax
je 0x401490
sub eax, dword [ebp - 0x14]
sar eax, 1
cmp eax, 0xffffffff
jne 0x4014cd
lea eax, [ebp - 0x244]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4013f5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.004011be
mov ebx, esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004011be
mov eax, ebx
call fcn.0040c47b
ret
push dword [ebp - 0x23c]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x401504
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
jmp 0x401506
xor ebx, ebx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.004011be
jmp 0x4014ba
Function at 0x407592
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00405baa
mov dword [ebp - 0x14], eax
cmp dword [0x4160ac], esi
jne 0x407685
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x407612
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x407765
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x407765
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x407765
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4160ac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4160b0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4160b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4160bc], eax
test eax, eax
je 0x407682
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4160b8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4076aa
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40769d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4076bf
push 4
pop eax
jmp 0x407767
cmp dword [ebp - 0x14], esi
je 0x4076bf
push dword [0x4160ac]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4076a4
mov eax, dword [0x4160b8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40771d
cmp dword [0x4160bc], edi
je 0x40771d
push eax
call ebx
push dword [0x4160bc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40771d
test eax, eax
je 0x40771d
call ecx
test eax, eax
je 0x407712
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x407712
test byte [ebp - 8], 1
jne 0x40771d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40774d
mov eax, dword [0x4160b0]
cmp eax, edi
je 0x40774a
push eax
call ebx
test eax, eax
je 0x40774a
call eax
mov esi, eax
test esi, esi
je 0x40774a
mov eax, dword [0x4160b4]
cmp eax, edi
je 0x40774a
push eax
call ebx
test eax, eax
je 0x40774a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4160ac]
call ebx
test eax, eax
je 0x407765
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x407767
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401dcd
mov esp, ebp
pop ebp
ret
Function at 0x1e00333f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x3c]
invalid
dec ebp

Function at 0x1e0033ef
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword fs:[0x18]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
add edx, 0xc
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
je 0x1e003466
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x30]
push eax
call fcn.1e002e7f
add esp, 4
cmp dword [ebp + 8], eax
jne 0x1e00345c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x18]
jmp 0x1e003468
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 4], eax
jmp 0x1e003432
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1e009700
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x2814]
mov ecx, dword [ebx + 0x10]
push esi
push edi
push eax
push ecx
lea edi, [ebx + 0x14]
push 1
push edi
call dword [sym.imp.MSVCR90.dll_fwrite]
mov esi, eax
mov eax, dword [ebx + 0x10]
add esp, 0x10
cmp esi, eax
jne 0x1e009758
mov dword [ebx + 0x10], 0
test esi, esi
jbe 0x1e00974f
mov edx, dword [ebx + 0x2814]
push edx
call dword [sym.imp.MSVCR90.dll_fflush]
add esp, 4
test eax, eax
jne 0x1e009771
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub eax, esi
push eax
lea edx, [esi + ebx + 0x14]
push edx
push edi
call dword [sym.imp.MSVCR90.dll_memmove]
sub dword [ebx + 0x10], esi
add esp, 0xc
test esi, esi
jne 0x1e009739
mov eax, dword [ebx + 0xc]
push eax
call sym.python27.dll_PyString_AsString
mov ecx, dword [sym.python27.dll_PyExc_IOError]
add esp, 4
push eax
push ecx
call sym.python27.dll_PyErr_SetFromErrnoWithFilename
add esp, 8
call fcn.1e009f90
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1e0113e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [ecx + 0x9c8], 0x270
jl 0x1e01149e
xor edx, edx
push esi
mov eax, dword [ecx + edx*4 + 0xc]
xor eax, dword [ecx + edx*4 + 8]
inc edx
and eax, 0x7fffffff
xor eax, dword [ecx + edx*4 + 4]
mov esi, eax
shr eax, 1
and esi, 1
xor eax, dword [esi*4 + 0x1e26a9d8]
xor eax, dword [ecx + edx*4 + 0x638]
cmp edx, 0xe3
mov dword [ecx + edx*4 + 4], eax
jl 0x1e0113f3
cmp edx, 0x26f
jge 0x1e011463
mov edi, edi
mov eax, dword [ecx + edx*4 + 0xc]
xor eax, dword [ecx + edx*4 + 8]
inc edx
and eax, 0x7fffffff
xor eax, dword [ecx + edx*4 + 4]
mov esi, eax
shr eax, 1
and esi, 1
xor eax, dword [esi*4 + 0x1e26a9d8]
xor eax, dword [ecx + edx*4 - 0x388]
cmp edx, 0x26f
mov dword [ecx + edx*4 + 4], eax
jl 0x1e011430
mov eax, dword [ecx + 0x9c4]
xor eax, dword [ecx + 8]
pop esi
and eax, 0x7fffffff
xor eax, dword [ecx + 0x9c4]
mov edx, eax
and edx, 1
mov edx, dword [edx*4 + 0x1e26a9d8]
xor edx, dword [ecx + 0x638]
shr eax, 1
xor edx, eax
mov dword [ecx + 0x9c4], edx
mov dword [ecx + 0x9c8], 0
mov eax, dword [ecx + 0x9c8]
mov edx, dword [ecx + eax*4 + 8]
inc eax
mov dword [ecx + 0x9c8], eax
mov eax, edx
shr eax, 0xb
xor edx, eax
mov ecx, edx
and ecx, 0xff3a58ad
shl ecx, 7
xor edx, ecx
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
ret

Function at 0x1e011570
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
lea ecx, [esi + 8]
mov dword [ecx], eax
mov eax, 1
push edi
jmp 0x1e011580
mov edx, dword [ecx]
mov edi, edx
shr edi, 0x1e
xor edi, edx
imul edi, edi, 0x6c078965
add edi, eax
mov dword [ecx + 4], edi
inc eax
add ecx, 4
cmp eax, 0x270
jl 0x1e011580
mov dword [esi + 0x9c8], eax
pop edi
ret

Function at 0x1e041a20
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [sym.python27.dll_Py_IgnoreEnvironmentFlag], 0
push ebx
push esi
push edi
jne 0x1e041abf
push str.PYTHONSTARTUP
call dword [sym.imp.MSVCR90.dll_getenv]
mov esi, eax
add esp, 4
test esi, esi
je 0x1e041abf
cmp byte [esi], 0
je 0x1e041abf
push 0x1e1f4d0c
push esi
call dword [sym.imp.MSVCR90.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x1e041a88
mov eax, dword [ebp + 8]
push eax
push 0
push esi
push edi
call sym.python27.dll_PyRun_SimpleFileExFlags
call sym.python27.dll_PyErr_Clear
push edi
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.MSVCR90.dll__errno]
call edi
mov ebx, dword [eax]
push str.Could_not_open_PYTHONSTARTUP_n
call sym.python27.dll_PySys_WriteStderr
add esp, 4
call edi
mov dword [eax], ebx
mov ecx, dword [sym.python27.dll_PyExc_IOError]
push esi
push ecx
call sym.python27.dll_PyErr_SetFromErrnoWithFilename
push 1
call sym.python27.dll_PyErr_PrintEx
add esp, 0xc
call sym.python27.dll_PyErr_Clear
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1e045e90
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [0x1e25e9a0]
push eax
call sym.python27.dll_PyObject_Malloc
add esp, 4
test eax, eax
jne 0x1e045ea9
call sym.python27.dll_PyErr_NoMemory
jmp 0x1e045eb6
mov dword [eax + 4], 0x1e25e990
mov dword [eax], 1
test eax, eax
jne 0x1e045ebb
ret
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0x67452301
mov dword [eax + 0x14], 0xefcdab89
mov dword [eax + 0x18], 0x98badcfe
mov dword [eax + 0x1c], 0x10325476
ret

Function at 0x1e049460
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], eax
push edi
mov edi, ecx
mov ecx, dword [ebp - 8]
xor eax, eax
cmp edx, ecx
jne 0x1e04947d
mov eax, dword [ebp + 8]
xor cl, cl
jmp 0x1e049480
mov cl, byte [ebp - 1]
mov esi, dword [ebp - 8]
cmp edx, esi
je 0x1e04948b
mov eax, edi
mov cl, 1
mov edx, dword [ebp - 8]
xor esi, esi
test edx, edx
jle 0x1e0494a8
push ebx
mov dl, byte [edi]
mov bl, byte [eax]
xor dl, bl
or cl, dl
mov edx, dword [ebp - 8]
inc esi
inc edi
inc eax
cmp esi, edx
jl 0x1e049495
pop ebx
xor eax, eax
test cl, cl
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1e057ea0
Capabilities:
Hash data using sha256

Disassembly:
xor ecx, ecx
mov dword [eax + 0x70], 1
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x74], ecx
mov dword [eax + 0x78], 0x20
ret

Function at 0x1e057f00
Capabilities:
Hash data using sha224

Disassembly:
xor ecx, ecx
mov dword [eax + 0x70], 1
mov dword [eax + 8], 0xc1059ed8
mov dword [eax + 0xc], 0x367cd507
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0xf70e5939
mov dword [eax + 0x18], 0xffc00b31
mov dword [eax + 0x1c], 0x68581511
mov dword [eax + 0x20], 0x64f98fa7
mov dword [eax + 0x24], 0xbefa4fa4
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x74], ecx
mov dword [eax + 0x78], 0x1c
ret
Function at 0x1e05e530
Capabilities:
Hash data using sha256

Disassembly:
xor ecx, ecx
mov dword [eax + 0xd0], 1
mov dword [eax + 8], 0xf3bcc908
mov dword [eax + 0xc], 0x6a09e667
mov dword [eax + 0x10], 0x84caa73b
mov dword [eax + 0x14], 0xbb67ae85
mov dword [eax + 0x18], 0xfe94f82b
mov dword [eax + 0x1c], 0x3c6ef372
mov dword [eax + 0x20], 0x5f1d36f1
mov dword [eax + 0x24], 0xa54ff53a
mov dword [eax + 0x28], 0xade682d1
mov dword [eax + 0x2c], 0x510e527f
mov dword [eax + 0x30], 0x2b3e6c1f
mov dword [eax + 0x34], 0x9b05688c
mov dword [eax + 0x38], 0xfb41bd6b
mov dword [eax + 0x3c], 0x1f83d9ab
mov dword [eax + 0x40], 0x137e2179
mov dword [eax + 0x44], 0x5be0cd19
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd4], ecx
mov dword [eax + 0xd8], 0x40
ret

Function at 0x1e05e5d0
Capabilities:
Hash data using sha224

Disassembly:
xor ecx, ecx
mov dword [eax + 0xd0], 1
mov dword [eax + 8], 0xc1059ed8
mov dword [eax + 0xc], 0xcbbb9d5d
mov dword [eax + 0x10], 0x367cd507
mov dword [eax + 0x14], 0x629a292a
mov dword [eax + 0x18], 0x3070dd17
mov dword [eax + 0x1c], 0x9159015a
mov dword [eax + 0x20], 0xf70e5939
mov dword [eax + 0x24], 0x152fecd8
mov dword [eax + 0x28], 0xffc00b31
mov dword [eax + 0x2c], 0x67332667
mov dword [eax + 0x30], 0x68581511
mov dword [eax + 0x34], 0x8eb44a87
mov dword [eax + 0x38], 0x64f98fa7
mov dword [eax + 0x3c], 0xdb0c2e0d
mov dword [eax + 0x40], 0xbefa4fa4
mov dword [eax + 0x44], 0x47b5481d
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd4], ecx
mov dword [eax + 0xd8], 0x30
ret
Function at 0x1e06a080
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test ecx, ecx
jne 0x1e06a08b
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
pop ebp
jmp fcn.1e06a0a0