joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d481
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4e36f0]
push eax
push str.c:MapFile_d
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edx, dword [0x4e36f0]
push edx
push 0x48e538
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x4e3604], eax
cmp dword [0x4e3604], 0xffffffff
jne 0x42d4e6
xor al, al
jmp 0x42d54c
lea edx, [ebp - 0x28]
push edx
push 0x4fc00
push 0
push 4
push 0
mov eax, dword [0x4e3604]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x42d50e
xor al, al
jmp 0x42d54c
push 0x4fc00
push 0
push 0
push 6
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], 0x4fc00
cmp dword [ebp - 0x2c], 0
jne 0x42d537
xor al, al
jmp 0x42d54c
push 0x4fc00
push 0
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0043f100
add esp, 0xc
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x42d567
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [ebp + 8], 0xffffffff
jne 0x42d57d
mov eax, dword [0x4e36f0]
mov dword [ebp - 0x20], eax
jmp 0x42d583
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
push str.TUPMap_d
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x18]
push edx
push 1
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [0x4e3600], eax
cmp dword [0x4e3600], 0
jne 0x42d5c2
xor eax, eax
jmp 0x42d656
push 0x4fc00
push 0
push 0
push 6
mov eax, dword [0x4e3600]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42d5f3
mov ecx, dword [0x4e3600]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x42d656
mov edx, dword [ebp - 0x1c]
mov dword [0x4e3620], edx
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [0x4e3624], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x100
mov dword [0x4e3628], ecx
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [0x4e3610], edx
mov eax, dword [ebp - 0x1c]
add eax, 0xc
mov dword [0x4e3614], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x27e80
mov dword [0x4e3618], ecx
mov edx, dword [ebp - 0x1c]
add edx, 0x10
mov dword [0x4e360c], edx
mov eax, dword [ebp - 0x1c]
add eax, 0x14
mov dword [0x4e3608], eax
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x42e234
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 8], 0
push 0xffffffffffffffff
call fcn.0042d567
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42e2fe
cmp dword [0x4e3608], 0
je 0x42e2ec
cmp dword [ebp + 8], 0
jne 0x42e2a4
mov eax, dword [0x4e3608]
mov dword [eax], 0
mov ecx, 1
test ecx, ecx
je 0x42e285
mov dword [ebp - 0xc], 0
jmp 0x42e29e
mov edx, dword [0x4e3608]
mov eax, dword [edx]
push eax
push 0x48e5d8
call fcn.00420670
add esp, 8
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 1
jmp 0x42e2ea
cmp dword [ebp + 8], 1
jne 0x42e2e6
mov ecx, dword [0x4e3608]
mov dword [ecx], 1
mov edx, 1
test edx, edx
je 0x42e2c8
mov dword [ebp - 0x10], 0
jmp 0x42e2e0
mov eax, dword [0x4e3608]
mov ecx, dword [eax]
push ecx
push str.ss7Type___d_n
call fcn.00420670
add esp, 8
mov dword [ebp - 0x10], eax
mov byte [ebp - 8], 1
jmp 0x42e2ea
mov byte [ebp - 8], 0
jmp 0x42e2f0
mov byte [ebp - 8], 0
mov edx, dword [ebp - 4]
push edx
call fcn.0042d65a
add esp, 4
jmp 0x42e302
mov byte [ebp - 8], 0
mov eax, dword [ebp - 8]
and eax, 0xff
test eax, eax
jne 0x42e32a
push 0x30
push str.Error
push str.SS7_Card_Type_Error_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x42f505
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov word [ebp - 4], 0
jmp 0x42f51f
mov ax, word [ebp - 4]
add ax, 1
mov word [ebp - 4], ax
mov ecx, dword [ebp - 4]
and ecx, 0xffff
cmp ecx, dword [ebp + 0x14]
jge 0x42f541
mov edx, dword [ebp - 4]
and edx, 0xffff
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp + 0x1c]
mov byte [eax + edx], cl
jmp 0x42f513
mov edx, dword [ebp + 0x20]
push edx
push 0x28
lea eax, [ebp - 0x2c]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [ebp - 0x34], al
mov eax, dword [ebp - 0x34]
and eax, 0xff
cmp eax, 1
jge 0x42f570
jmp 0x42f66d
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov cx, word [ebp - 0x30]
mov word [ebp - 4], cx
mov edx, dword [ebp - 0x30]
movsx eax, byte [ebp + edx - 0x2c]
test eax, eax
je 0x42f63a
mov ecx, dword [ebp - 0x30]
movsx edx, byte [ebp + ecx - 0x2c]
movsx eax, byte [ebp + 0x18]
cmp edx, eax
jne 0x42f5f7
mov ecx, dword [ebp - 0x34]
and ecx, 0xff
test ecx, ecx
jne 0x42f5c4
mov edx, dword [ebp - 4]
and edx, 0xffff
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp + 0x1c]
mov byte [eax + edx], cl
jmp 0x42f5d6
mov edx, dword [ebp - 4]
and edx, 0xffff
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 0x34]
mov byte [eax + edx], cl
mov byte [ebp - 0x34], 0
mov dx, word [ebp - 4]
add dx, 1
mov word [ebp - 4], dx
mov eax, dword [ebp - 4]
and eax, 0xffff
cmp eax, dword [ebp + 0x14]
jne 0x42f5f5
jmp 0x42f63a
jmp 0x42f62c
mov ecx, dword [ebp - 0x30]
movsx edx, byte [ebp + ecx - 0x2c]
cmp edx, 0x30
jl 0x42f62c
mov eax, dword [ebp - 0x30]
movsx ecx, byte [ebp + eax - 0x2c]
cmp ecx, 0x39
jg 0x42f62c
mov edx, dword [ebp - 0x34]
and edx, 0xff
imul edx, edx, 0xa
mov eax, dword [ebp - 0x30]
movsx ecx, byte [ebp + eax - 0x2c]
lea edx, [edx + ecx - 0x30]
mov byte [ebp - 0x34], dl
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
jmp 0x42f583
mov ecx, dword [ebp - 0x34]
and ecx, 0xff
test ecx, ecx
jne 0x42f65b
mov edx, dword [ebp - 4]
and edx, 0xffff
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp + 0x1c]
mov byte [eax + edx], cl
jmp 0x42f66d
mov edx, dword [ebp - 4]
and edx, 0xffff
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 0x34]
mov byte [eax + edx], cl
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x44c350
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0043f070
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x44c41b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x44c41b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x44c3ce
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x44c3d9
or bh, 8
and edi, 0x8000000
je 0x44c3f4
mov eax, dword [0x56e95c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x44c41b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c7f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x44c81b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x44c83f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x44c85a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x44f5cf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x44f5f1
cmp dword [edi + 0x3c], 0
jne 0x44f5f1
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00467af1
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0044f61e
pop edi
pop esi
pop ebx
ret 8

Function at 0x44f66c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.00467af1
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44f69d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.0044f6b0
pop edi
pop esi
pop ebx
ret 8

Function at 0x452670
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4526a8
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00451551
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00451529
jmp 0x4526b4
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x454278
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4542ba
call fcn.00467af1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4542ba
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4542b1
xor eax, eax
jmp 0x4542c2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004542c8
pop edi
pop esi
pop ebx
ret 4
Function at 0x4687c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.00467af1
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4687fd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4687fd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x468801
xor eax, eax
jmp 0x46887f
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.00454a82
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x468839
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x468823
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.00468970
push ebx
mov edi, eax
call fcn.00454aab
test edi, edi
pop ecx
je 0x46887b
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.00468739
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.00468884
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x46916a
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x469198
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4691b6
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004690d0
jmp 0x4691b6
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4691b6
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004690d0
test edi, edi
mov eax, edi
jne 0x4691a0
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1005a49a
Capabilities:
Encode data using xor

Disassembly:
call 0x1005a413
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1005a443
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1005a45f
xor edx, 0
jmp 0x1005a46a
xor edx, edx
jmp 0x1005a481
jmp 0x1005a48d
xor eax, eax
push 0x8427d7c0
call 0x1005a49a
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1005a4d6
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1005a4af
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1005a4ed
add eax, 0
jno 0x1005a4f2
add esi, 0
ret 0x10

Function at 0x1005b25b
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1005b27d
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1005b41f
cmp edi, dword [ebp + 0x10]
jb 0x1005b41f
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1005ad47
inc edi
jmp 0x1005b306
jmp 0x1005b313
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1005ad47
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1005ad47
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1005b367
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1005b34b
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1005b395
add dword [eax], 0x39
jle 0x1005b371
sub al, 0xf5
mov ch, al
call fcn.1005b3aa
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x1005d082
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1005d098
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1005d0a9
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1005d0ea
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x1005f456
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1005f39f
add ebx, 0
push ecx
call 0x1005f3b4
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x14ffb246
sub ebx, dword [0x1501aa85]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x1501aa75
call fcn.1005ae7e
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1005a38c
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1005f512
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1005f512
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1005f4c9
mov eax, 1
lock xchg dword [0x1501aa81], eax
push 0x3dd1fc71
call 0x1005f456
push esi
add esp, 8
cmp eax, 0
jne 0x1005f43f
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1005f465
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1005f47a
cmp ecx, edx
cmp eax, 0
je 0x1005f49f
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1005f489
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1005f4b8
dec eax
loope 0x1005f4bb
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x1501aa81], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1005f4ef
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1005f504
jmp 0x1005f50f
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1005f3fd
Function at 0x10066577
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x1006684d
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x150076f9
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x14ffe6bf
push 0xffffffffffffffff
call fcn.1005d777
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x100665e1
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100665f9
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x10066841
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x10066815
Function at 0x10076047
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10076069
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10076069
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10076069
ret
cmp word [ebx + 4], 0x14c
jne 0x10076069
test word [ebx + 0x16], 2
je 0x10076069
test word [ebx + 0x16], 0x100
je 0x10076069
cmp word [ebx + 0x18], 0x10b
jne 0x10076069
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10076069
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100760f5
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10076089
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1005cfd4
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10076069
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x100760f5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10076069
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10076069
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10076069
ret
cmp word [ebx + 4], 0x14c
jne 0x10076069
test word [ebx + 0x16], 2
je 0x10076069
test word [ebx + 0x16], 0x100
je 0x10076069
cmp word [ebx + 0x18], 0x10b
jne 0x10076069
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10076069
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100760f5
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10076089
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1005cfd4
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10076069
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8