joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1e13f790
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x1e283010]
test eax, eax
jne 0x1e13f7af
cmp dword [sym.python27.dll_Py_IgnoreEnvironmentFlag], eax
jne 0x1e13f7af
push str.PYTHONHOME
call dword [sym.imp.MSVCR90.dll_getenv]
add esp, 4
ret

Function at 0x1e13f8a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
push edi
push str.site
call sym.python27.dll_PyString_FromString
mov esi, eax
add esp, 4
test esi, esi
je 0x1e13f8db
push esi
call sym.python27.dll_PyImport_Import
add esp, 4
add dword [esi], 0xffffffff
mov edi, eax
jne 0x1e13f8d7
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x18]
push esi
call ecx
add esp, 4
test edi, edi
jne 0x1e13f8f2
push 1
call sym.python27.dll_PyErr_PrintEx
add esp, 4
call sym.python27.dll_Py_Finalize
push 1
call dword [sym.imp.MSVCR90.dll_exit]
add dword [edi], 0xffffffff
jne 0x1e13f903
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x18]
push edi
call eax
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1e13fc20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1e20e7d4
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1e13fc50
test dl, dl
je 0x1e13fc4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1e13fc50
add eax, 2
add ecx, 2
test dl, dl
jne 0x1e13fc30
xor eax, eax
jmp 0x1e13fc55
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1e13fc62
mov eax, 1
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 0
je 0x1e13fcc2
push esi
movzx esi, word [0x1e221c8c]
push edi
push ebx
xor edi, edi
call dword [sym.imp.MSVCR90.dll_ftell]
add esp, 4
test eax, eax
jne 0x1e13fcba
push ebx
push 2
lea eax, [ebp - 4]
push 1
push eax
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
cmp eax, 2
jne 0x1e13fcb0
mov ax, word [ebp - 4]
movzx ecx, ah
movzx edx, al
shl ecx, 8
or ecx, edx
cmp ecx, esi
jne 0x1e13fcb0
mov edi, 1
push ebx
call dword [sym.imp.MSVCR90.dll_rewind]
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1e141420
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.MSVCR90.dll___iob_func]
push edi
push ebx
push str.Fatal_Python_error:__s_n
call esi
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
call esi
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fflush]
mov eax, ebx
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1e141460
sub eax, edx
mov esi, eax
lea eax, [esi + esi + 2]
call fcn.1e149560
mov edi, esp
xor eax, eax
jmp 0x1e141480
movsx cx, byte [eax + ebx]
mov word [edi + eax*2], cx
inc eax
cmp eax, esi
jbe 0x1e141480
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.Fatal_Python_error:
call esi
push edi
call esi
push 0x1e213ad4
call esi
call dword [sym.imp.MSVCR90.dll_abort]
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1e148908
mov esp, ebp
pop ebp
ret
Function at 0x1e141ee0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x1e283018], 0
push ebx
push esi
jne 0x1e141fe1
cmp dword [sym.python27.dll_Py_HashRandomizationFlag], 0
mov dword [0x1e283018], 1
jne 0x1e141f1a
xor eax, eax
mov dword [sym.python27.dll__Py_HashSecret], eax
mov dword [0x1e2832fc], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [sym.python27.dll_Py_IgnoreEnvironmentFlag], 0
jne 0x1e141fcd
push str.PYTHONHASHSEED
call dword [sym.imp.MSVCR90.dll_getenv]
add esp, 4
test eax, eax
je 0x1e141fcd
cmp byte [eax], 0
je 0x1e141fcd
mov edx, str.random
mov ecx, eax
lea ecx, [ecx]
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0x1e141f70
test bl, bl
je 0x1e141f6c
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
jne 0x1e141f70
add ecx, 2
add edx, 2
test bl, bl
jne 0x1e141f50
xor ecx, ecx
jmp 0x1e141f75
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x1e141fcd
push 0xa
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.MSVCR90.dll_strtoul]
mov edx, dword [ebp - 4]
add esp, 0xc
cmp byte [edx], 0
mov esi, eax
jne 0x1e141fab
cmp esi, 0xffffffff
ja 0x1e141fab
call dword [sym.imp.MSVCR90.dll__errno]
cmp dword [eax], 0x22
jne 0x1e141fb8
cmp esi, 0xffffffff
jne 0x1e141fb8
push str.PYTHONHASHSEED_must_be__random__or_an_integer_in_range__0__4294967295_
call sym.python27.dll_Py_FatalError
add esp, 4
test esi, esi
je 0x1e141f08
mov eax, esi
call fcn.1e141df0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
mov eax, 8
mov ecx, sym.python27.dll__Py_HashSecret
call fcn.1e141d60
add esp, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1e147af0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x1e28257c], 0
jne 0x1e147b07
mov dword [0x1e28257c], 1
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 8
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x1e147b2b
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 4]
push edx
push 0
push esi
mov dword [esi], eax
mov eax, dword [0x1e2831e4]
push 0x1e147ac0
push eax
push 0
mov dword [esi + 4], ecx
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
test eax, eax
jne 0x1e147b79
call dword [sym.imp.MSVCR90.dll__errno]
push esi
push 0
mov dword [ebp - 4], 0xffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1e148908
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x1e148912
repz ret
jmp fcn.1e148fee
Function at 0x40800b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417400]
jne 0x408015
repz ret
jmp fcn.0040dc97

Function at 0x40ae1c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417400]
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.00406429
and dword [ebp - 0x14], 0
cmp dword [0x448d54], 0
mov dword [ebp - 0x18], eax
jne 0x40aecf
push 0x402228
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40af77
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40221c
push ebx
call edi
test eax, eax
je 0x40af77
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x40220c
push ebx
mov dword [0x448d54], eax
call edi
push eax
call esi
push 0x4021f8
push ebx
mov dword [0x448d58], eax
call edi
push eax
call esi
push 0x4021dc
push ebx
mov dword [0x448d5c], eax
call edi
push eax
call esi
mov dword [0x448d64], eax
test eax, eax
je 0x40aecf
push 0x4021c4
push ebx
call edi
push eax
call esi
mov dword [0x448d60], eax
mov eax, dword [0x448d60]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40af28
cmp dword [0x448d64], ecx
je 0x40af28
push eax
call esi
push dword [0x448d64]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40af28
test ebx, ebx
je 0x40af28
call edi
test eax, eax
je 0x40af1f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40af1f
test byte [ebp - 8], 1
jne 0x40af28
or dword [ebp + 0x10], 0x200000
jmp 0x40af5b
mov eax, dword [0x448d58]
cmp eax, dword [ebp - 0x18]
je 0x40af5b
push eax
call esi
test eax, eax
je 0x40af5b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40af5b
mov eax, dword [0x448d5c]
cmp eax, dword [ebp - 0x18]
je 0x40af5b
push eax
call esi
test eax, eax
je 0x40af5b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x448d54]
call esi
test eax, eax
je 0x40af77
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40af79
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040800b
leave
ret
Function at 0x4147b0
Capabilities:
Access the windows event log
Connect pipe
Delete directory
Delete file
Get common file path
Manipulate console buffer
Read pipe
Write pipe

Disassembly:
mov eax, 0x1414
call fcn.0040eb70
cmp dword [0x7f8834], 0x37
jne 0x414884
push 0x40347c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoA]
push 0
lea eax, [esp + 0xc18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0
lea ecx, [esp + 8]
push ecx
push 0
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [esp + 0x818]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x40348c
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTapePosition]
push 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push 0
lea edx, [esp + 0x418]
push edx
push 0x4034a0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
mov eax, dword [0x7f8c48]
mov edx, dword [0x7f8318]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1414
ret
Function at 0x414ec0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x7f8834]
sub esp, 0x484
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetDateFormatA]
mov ebp, 0x2443831
cmp eax, 0x47
jne 0x414f46
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x78]
push ecx
push 0x403770
mov dword [esp + 0x6c], 0
call esi
xor eax, eax
push eax
mov dword [esp + 0x56], eax
mov dword [esp + 0x5a], eax
mov dword [esp + 0x5e], eax
mov word [esp + 0x62], ax
lea eax, [esp + 0x94]
push eax
push 0x4037c4
xor edx, edx
lea ecx, [esp + 0x5c]
push ecx
push edx
push edx
mov word [esp + 0x68], dx
call edi
dec ebp
mov eax, dword [0x448408]
mov dword [0x7f8834], eax
jne 0x414ee5
mov dword [esp + 0x20], 0x764d11c7
mov dword [esp + 0x4c], 0x26b44f20
mov dword [esp + 0x24], 0x1f33c7de
mov dword [esp + 0x10], 0x2e56cff9
mov dword [esp + 0x28], 0x6cde8df8
mov dword [esp + 0x14], 0x796abd53
mov dword [esp + 0x34], 0x3ce56ad4
mov dword [esp + 0x1c], 0x581868fc
mov dword [esp + 0x18], 0xc596c70
mov dword [esp + 0x3c], 0x6d5e9115
mov dword [esp + 0x30], 0x22f372d9
mov dword [esp + 0x40], 0x2ad541d0
mov dword [esp + 0x38], 0x7a5f7c43
mov dword [esp + 0x2c], 0x28d520e
mov dword [esp + 0x48], 0x73f3bc07
mov dword [esp + 0x44], 0x51f578e1
add dword [esp + 0x4c], 0x73e38130
mov eax, 0x3a9c3a87
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add dword [esp + 0x24], 0x6b053f58
add dword [esp + 0x20], 0x2818faf9
add dword [esp + 0x4c], 0x3ab2fc3
sub dword [esp + 0x20], 0x30ad2d47
sub dword [esp + 0x20], 0x4442fc9b
sub dword [esp + 0x28], 0x2285667
add dword [esp + 0x4c], 0x262c99c6
sub dword [esp + 0x14], 0x4dc74448
mov eax, 0x53cf4e1b
mul dword [esp + 0x24]
mov eax, dword [esp + 0x24]
add dword [esp + 0x24], 0x1b067f32
mov eax, 0x67698c83
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
sub dword [esp + 0x28], 0x7674af1e
mov eax, 0x173863dd
mul dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov eax, 0x3d786fdd
mul dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
mov eax, 0x38471b91
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, 0x45f07edf
mul dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
add dword [esp + 0x18], 0x6fea1ecd
sub dword [esp + 0x34], 0x32f1f16e
add dword [esp + 0x34], 0x6e380599
sub dword [esp + 0x18], 0x3ca08c1e
add dword [esp + 0x30], 0x154e8e1
add dword [esp + 0x14], 0x53bb032d
sub dword [esp + 0x14], 0x11166d6c
sub dword [esp + 0x18], 0x2a6a1594
add dword [esp + 0x14], 0x4fb1fe05
mov eax, 0x4b3ce8e6
mul dword [esp + 0x34]
mov eax, dword [esp + 0x34]
add dword [esp + 0x3c], 0x1bc84bb6
sub dword [esp + 0x30], 0x687c0c2b
add dword [esp + 0x48], 0x36e578c2
sub dword [esp + 0x10], 0x7b5e58ec
mov eax, 0x38d0a1fb
mul dword [esp + 0x48]
mov eax, dword [esp + 0x48]
sub dword [esp + 0x40], 0x15793cf4
mov edx, dword [0x4483fc]
mov dword [0x7f8c48], edx
call fcn.00414af0
pop edi
xor eax, eax
pop esi
pop ebp
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43b652
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x43b3c1
mov ecx, 0xf1a010be
sub ecx, edi
call fcn.0043b691
sub edi, 0x1c6ccc2
or edi, edi
mov edi, 0xe84db703
xor dword [esi], ebx
mov ecx, ecx
add ecx, 0x3ae7126f
inc esi
or ecx, edi
cmp esi, eax
jne fcn.0043b652
sub edi, 0xedca7e73
or ecx, ecx
mov edi, 0x260a40a5
ret
Function at 0x40101f
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov edx, dword fs:[0x18]
xor eax, eax
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0xc]
mov esi, edx
add esi, 0x14
mov edx, dword [edx + 0x14]
cmp edx, esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], eax
je 0x401172
jmp 0x401127
mov eax, dword [ebp - 0x24]
mov cx, word [eax + 0x24]
mov edx, dword [eax + 0x28]
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x25]
and bh, bl
test bh, 1
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x2e], cx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
jne 0x40118f
jmp 0x40119c
xor eax, eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x1c]
cmp edx, esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
je 0x401172
jmp 0x401064
mov eax, dword [ebp - 0x3c]
mov ecx, eax
add ecx, 1
mov edx, dword [ebp - 0x34]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov word [ebp - 0x46], si
mov word [ebp - 0x48], bx
jb 0x4010f2
mov ax, word [ebp - 0x46]
mov word [ebp - 0x48], ax
mov ax, word [ebp - 0x48]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x40]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x4c]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov byte [ebp - 0x4d], bl
mov dword [ebp - 0x3c], esi
jne 0x4010b3
jmp 0x40117d
mov eax, dword [ebp - 0x14]
cmp eax, 0
sete cl
mov edx, dword [ebp - 0x10]
cmp edx, 0
setne ch
mov esi, dword [ebp - 0x18]
mov byte [ebp - 0x4e], cl
mov byte [ebp - 0x25], ch
mov dword [ebp - 0x24], esi
jmp 0x401064
xor eax, eax
mov cx, word [ebp - 0x2e]
shr cx, 1
movzx edx, cx
cmp cx, 0
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x3c], eax
je 0x401099
jmp 0x4010b3
mov eax, dword [ebp - 0x20]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, byte [ebp - 0x4d]
test al, 1
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x20], ecx
jne 0x401172
jmp 0x401099
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff8
mov dword [ebp - 0x20], eax
jmp 0x401172
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x401099
jmp 0x40114f
Function at 0x401741
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
lea ecx, str.ntdll.dll
xor edx, edx
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
call fcn.0040101f
mov ecx, dword [eax + 0x3c]
mov si, cx
cmp si, 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
je 0x4017d1
jmp 0x4017b7
mov eax, dword [ebp - 0x24]
mov ecx, eax
mov edx, dword [ebp - 0x28]
add ecx, edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x2d], bh
mov byte [ebp - 0x2e], cl
je 0x4018a7
jmp 0x401846
mov eax, dword [ebp - 0x1c]
add eax, 0xffff
and eax, 0xffff
add eax, 1
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov eax, dword [eax + 0x78]
mov edx, dword [ebp - 0x18]
add edx, dword [edx + eax + 0x20]
mov esi, dword [ebp - 0x18]
mov edi, dword [esi + eax + 0x18]
cmp edi, 0
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
je 0x4018b3
jmp 0x401875
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov esi, dword [ebp - 0x3c]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edx
jmp 0x401785
xor eax, eax
mov ecx, dword [ebp - 0x4c]
add ecx, 2
mov edx, dword [ebp - 0x50]
add edx, 1
mov esi, dword [ebp - 0x34]
cmp edx, esi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x40], eax
jb 0x401801
jmp 0x4018b3
mov al, byte [ebp - 0x2d]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x2c]
add edx, 1
mov ah, byte [ebp - 0x2e]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x24], edx
jne 0x401785
jmp 0x4018a7
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x38]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
jmp 0x401801
mov eax, dword [ebp - 0x4c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x38]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x18]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x40], edi
jmp 0x4018b3
mov al, byte [ebp - 0x2e]
test al, 1
jne 0x40188c
jmp 0x401820
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401c2c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 8]
mov ecx, dword [0x40441c]
mov edx, dword [eax + 0x28]
add ecx, 0x86a
mov word [edx], 0x5a4d
mov dword [edx + 0x3c], 0xd0
mov dword [edx + 0xd0], 0x4550
mov word [edx + 0xd4], 0x14c
mov word [edx + 0xd6], 3
mov word [edx + 0xe4], 0xe0
mov dword [edx + 0xf8], 0x40e0
mov word [edx + 0xe8], 0x10b
mov dword [0x404418], ecx
mov ecx, dword [eax + 0x2c]
mov esi, esp
mov dword [esi + 0xc], 4
mov dword [esi + 8], 0x1000
mov dword [esi + 4], 0x141000
mov dword [esi], 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
call ecx
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x10]
mov dword [esp + 4], ecx
mov dword [ebp - 0x14], eax
call fcn.004015d9
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x28]
mov esi, dword [ecx + 4]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], esi
mov dword [ebp - 0x18], eax
call fcn.00401588
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x3c]
mov di, cx
cmp di, 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
je 0x401d1f
mov eax, dword [ebp - 0x20]
add eax, 0xffff
and eax, 0xffff
add eax, 1
mov ecx, dword [ebp - 0x14]
add ecx, eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x20]
sub edx, dword [eax + 0x34]
mov esi, dword [ebp - 0x14]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [ebp - 0x24], eax
call fcn.00401d95
mov ecx, dword [ebp - 0x14]
mov dword [esp], ecx
mov edx, dword [ebp - 0xc]
mov dword [esp + 4], edx
mov dword [ebp - 0x28], eax
call fcn.004019a3
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x14]
mov dword [edx + 0x24], esi
mov dword [edx + 0x30], 3
mov dword [edx + 0x48], 0x40e0
mov dword [edx + 0x40], 0x141000
mov edi, dword [ebp - 0x24]
mov dword [edi + 0xcc], 0
mov dword [edi + 0xc8], 0
mov dword [ebp - 0x2c], eax
mov eax, ecx
add esp, 0x34
pop esi
pop edi
pop ebp
ret
Function at 0x401000
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0xc], 0
jne 0x40101b
mov eax, dword [ebp + 8]
push eax
call fcn.0042fa10
add esp, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0x1505
mov dword [ebp - 8], 0
jmp 0x401034
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0xc]
jae 0x401054
imul eax, dword [ebp - 4], 0x21
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx]
add edx, dword [ebp - 4]
mov dword [ebp - 4], edx
jmp 0x40102b
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x42f7b0
Capabilities:
Resolve function by djb2 hash

Disassembly:
push ebp
mov ebp, esp
push 0x5fbff0fb
mov eax, dword [0x48e904]
push eax
call fcn.0042fbe0
add esp, 8
mov dword [0x48e914], eax
push 0x8afb8c5a
mov ecx, dword [0x48e904]
push ecx
call fcn.0042fbe0
add esp, 8
mov dword [0x48e920], eax
push 0xc6580d02
mov edx, dword [0x48e904]
push edx
call fcn.0042fbe0
add esp, 8
mov dword [0x48e918], eax
push 0xc0b381da
mov eax, dword [0x48e900]
push eax
call fcn.0042fbe0
add esp, 8
mov dword [0x48e91c], eax
push 0x82962c8
mov ecx, dword [0x48e900]
push ecx
call fcn.0042fbe0
add esp, 8
mov dword [0x48e90c], eax
push 0x6793c34c
mov edx, dword [0x48e900]
push edx
call fcn.0042fbe0
add esp, 8
mov dword [0x48e910], eax
pop ebp
ret

Function at 0x42fd60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0x42f940
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.0042f8a0
nop
xor eax, eax
pop ebp
ret

Function at 0x430648
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x430687
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x430687
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x430687
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x430687
cmp dword [ecx + 0x74], 0xe
jbe 0x430687
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x43cd84
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43cdc3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43cdc3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43cdc3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43cdc3
cmp dword [ecx + 0x74], 0xe
jbe 0x43cdc3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x45ca0c
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045c8e0