joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fd5a
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.004457d1
and dword [ebp - 4], 0
cmp dword [0x473af8], 0
mov ebx, eax
jne 0x44fe0b
push 0x45da3c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44febc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x45da30
push edi
call esi
test eax, eax
je 0x44febc
push eax
call fcn.0044575f
mov dword [esp], 0x45da20
push edi
mov dword [0x473af8], eax
call esi
push eax
call fcn.0044575f
mov dword [esp], 0x45da0c
push edi
mov dword [0x473afc], eax
call esi
push eax
call fcn.0044575f
mov dword [esp], 0x45d9f0
push edi
mov dword [0x473b00], eax
call esi
push eax
call fcn.0044575f
pop ecx
mov dword [0x473b08], eax
test eax, eax
je 0x44fe0b
push 0x45d9d8
push edi
call esi
push eax
call fcn.0044575f
pop ecx
mov dword [0x473b04], eax
mov eax, dword [0x473b04]
cmp eax, ebx
je 0x44fe63
cmp dword [0x473b08], ebx
je 0x44fe63
push eax
call fcn.004457da
push dword [0x473b08]
mov esi, eax
call fcn.004457da
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44fe63
test edi, edi
je 0x44fe63
call esi
test eax, eax
je 0x44fe5a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44fe5a
test byte [ebp - 0xc], 1
jne 0x44fe63
or dword [ebp + 0x10], 0x200000
jmp 0x44fe9c
mov eax, dword [0x473afc]
cmp eax, ebx
je 0x44fe9c
push eax
call fcn.004457da
pop ecx
test eax, eax
je 0x44fe9c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44fe9c
mov eax, dword [0x473b00]
cmp eax, ebx
je 0x44fe9c
push eax
call fcn.004457da
pop ecx
test eax, eax
je 0x44fe9c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x473af8]
call fcn.004457da
pop ecx
test eax, eax
je 0x44febc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44febe
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x457515
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x473bc8], 0
push esi
jne 0x457488
call fcn.004573ae
test eax, eax
je 0x4574cb
mov eax, dword [0x473bc8]
cmp eax, 1
jne 0x4574a9
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4574cb
pop esi
ret
push eax
call dword [0x473bd0]
test eax, eax
jne 0x457513
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4574cf
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x473bc8]
call dword [0x473bd0]
mov edi, eax
test edi, edi
je 0x4574f4
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x457510
mov edi, esi
add esi, 0xff0
push edi
push dword [0x473bc8]
call dword [0x473bcc]
add edi, 0x10
cmp edi, esi
jb 0x4574fc
mov eax, edi
pop edi
pop esi
ret
jmp 0x457475
Function at 0x1000123a
Capabilities:
Get memory capacity
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xb0
mov eax, 0x476461
mov dword [esp + 0x64], eax
mov eax, esp
lea ecx, [esp + 0x64]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x18], 0x57c
mov dword [eax + 0x14], 0x7f7
mov dword [eax + 0x10], 0xc2
mov dword [eax + 8], 0x476461
mov dword [eax + 4], 0x476461
mov dword [eax], 0xac5855
mov eax, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
call eax
sub esp, 0x1c
xor ecx, ecx
lea edx, [esp + 0x68]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], ecx
jmp 0x100012f7
mov eax, esp
mov dword [eax + 8], 0x3cf
mov dword [eax + 4], 0xbec
mov dword [eax], 0x79e
mov eax, dword [sym.imp.USER32.dll_AttachThreadInput]
call eax
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0xf60db6
mov ecx, dword [sym.imp.GDI32.dll_CreateHalftonePalette]
mov dword [esp + 0x54], eax
call ecx
sub esp, 4
mov dword [esp + 0x50], eax
jmp 0x100013eb
mov eax, esp
mov dword [eax], 0x627ff5
mov eax, dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
call eax
sub esp, 4
jmp 0x1000139f
mov eax, dword [esp + 0x58]
xor ecx, ecx
mov edx, 0x40
mov esi, dword [esp + 0x5c]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x40
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], edx
call fcn.100018c0
mov eax, esp
lea ecx, [esp + 0x68]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0x804
mov dword [ecx], 0xe24f5b
mov ecx, dword [sym.imp.USER32.dll_UnregisterHotKey]
mov dword [esp + 0x40], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x277
mov dword [ecx], 0x7c7fbf
mov ecx, dword [sym.imp.KERNEL32.dll_EscapeCommFunction]
mov dword [esp + 0x3c], eax
call ecx
sub esp, 8
xor ecx, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x34]
mov ecx, 0xe
mov dword [esp + 0x30], eax
xor edx, edx
div ecx
cmp edx, 4
je 0x100012e0
mov eax, dword [esp + 0x30]
add eax, 1
cmp eax, 0x1fb
mov dword [esp + 0x34], eax
jne 0x10001382
mov eax, esp
mov dword [eax], 0xfeb
mov eax, dword [sym.imp.USER32.dll_SetCaretBlinkTime]
call eax
sub esp, 4
mov ecx, dword [esp + 0x4c]
sub ecx, 0x53
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
je 0x100012a0
jmp 0x100013dc
mov eax, dword [esp + 0x4c]
sub eax, 0xe
mov dword [esp + 0x24], eax
jne 0x1000140f
jmp 0x100013eb
mov eax, esp
mov dword [eax + 8], 0xb73992
mov dword [eax + 4], 0xf8deca
mov dword [eax], 0xcb4042
mov eax, dword [sym.imp.GDI32.dll_FillRgn]
call eax
sub esp, 0xc
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
add eax, 1
cmp eax, 0x38
mov dword [esp + 0x58], eax
jne 0x100012f7
lea esp, [ebp - 4]
pop esi
pop ebp
ret

Function at 0x10001ccc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1003f380]
jne 0x10001cd6
repz ret
jmp fcn.10001f7d
Function at 0x1000261b
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 [0x1003f350], 0xadc
mov dword [ebp - 0x10], eax
call fcn.10003644
xor ecx, ecx
mov edx, eax
mov dword [0x1003f350], 0x22d5
mov esi, dword [eax + 0x3c]
mov dword [0x1003f350], 0x26ce
mov edi, dword [0x1003f354]
mov esi, dword [eax + esi + 0x78]
mov ebx, edx
add ebx, dword [eax + esi + 0x20]
mov dword [0x1003f350], 0xeba
mov dword [ebp - 0x14], eax
mov eax, dword [eax + esi + 0x24]
add edi, 0xffffb46e
mov dword [0x1003f354], edi
mov edi, dword [ebp - 0x14]
mov edi, dword [edi + esi + 0x18]
cmp edi, 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], ecx
je 0x1000279a
jmp 0x100026fe
mov al, byte [ebp - 0x2d]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x34]
add edx, 1
mov ah, byte [ebp - 0x35]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x3c], edx
jne 0x100026d3
jmp 0x10002742
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x40]
add ecx, edx
mov esi, dword [ebp - 0x20]
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 - 0x34], eax
mov byte [ebp - 0x2d], bh
mov byte [ebp - 0x35], cl
je 0x10002742
jmp 0x100026a8
xor eax, eax
mov ecx, 0xeba
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x18]
add edx, esi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
xor esi, esi
add eax, 0xffffe642
mov edi, dword [ebp - 0x24]
mov ebx, dword [edi + edx*4]
mov dword [0x1003f350], eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x3c], esi
jmp 0x100026d3
mov al, byte [ebp - 0x35]
test al, 1
jne 0x10002777
jmp 0x1000274b
xor eax, eax
mov ecx, dword [ebp - 0x50]
add ecx, 2
mov edx, dword [ebp - 0x54]
add edx, 1
mov esi, dword [ebp - 0x1c]
cmp edx, esi
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x2c], eax
jb 0x10002716
jmp 0x1000279a
mov eax, dword [ebp - 0x50]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x28]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x20]
add edi, dword [edx + ecx*4]
mov dword [0x1003f350], 0x621
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x2c]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100027a5
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0x10], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov edx, dword [0x1003f350]
mov esi, dword [ebp - 0x10]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
add edx, 0x441
mov dword [0x1003f350], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ecx
jmp 0x10002832
mov eax, 0x1db0
mov ecx, 0x1043
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
mov di, word [edx + esi*2 - 0xe]
cmp di, 0x6c
sete bl
cmp di, 0x6c
mov byte [ebp - 0x21], bl
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
je 0x10002819
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [0x1003f354], eax
mov cl, byte [ebp - 0x21]
and cl, 1
movzx eax, cl
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, 0x134f
mov edx, dword [ebp - 0x18]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ecx
je 0x10002871
mov eax, 0xfbb
mov ecx, dword [ebp - 0x30]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x38], eax
jl 0x10002832
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov dword [0x1003f350], eax
mov eax, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], ecx
jne 0x100028f8
mov dword [0x1003f350], 0x17e
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x100028f8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x100028f8
mov dword [0x1003f350], 0x2232
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x100028f8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x100028f8
mov dword [0x1003f350], 0xe76
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x100027e6
xor eax, eax
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10002902
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, 0x1c0d
mov dword [0x1003f350], 0x1c0d
mov dword [0x1003f35c], 0
mov byte [0x1003f360], 0
mov dword [0x1003f354], 0xfffffd77
mov dword [0x1003f358], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
jmp 0x10002a31
xor eax, eax
mov dword [0x1003f350], 0x10b7
mov dword [0x1003f358], 0
mov dword [ebp - 0x24], eax
jmp 0x1000298b
mov dword [0x1003f354], 0x700
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x24]
mov ecx, 0x100
mov dword [ebp - 0x28], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x1003f364], 0
mov dword [0x1003f350], 0xf78
mov edi, dword [0x1003f35c]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x1003f364], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x1003f35c], edx
mov dword [0x1003f350], 0x245d
mov ecx, dword [ebp - 0x28]
mov cl, byte [ebx + ecx]
mov byte [0x1003f360], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x28]
mov byte [ebx + edx], cl
mov cl, byte [0x1003f360]
mov esi, dword [0x1003f35c]
mov byte [ebx + esi], cl
mov esi, dword [0x1003f358]
add esi, 1
mov dword [0x1003f358], esi
cmp esi, 0x100
mov dword [ebp - 0x24], esi
jl 0x1000298b
jmp 0x10002979
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add eax, 0xffffd94c
mov edx, ecx
mov bl, dl
mov dword [0x1003f354], eax
mov eax, dword [ebp - 0x18]
mov byte [eax + ecx], bl
mov ecx, dword [0x1003f354]
add ecx, 0xfffff7d8
mov dword [0x1003f354], ecx
mov ecx, dword [0x1003f358]
add ecx, 1
mov dword [0x1003f358], ecx
cmp ecx, 0x100
mov dword [ebp - 0x2c], ecx
jge 0x1000295e
mov eax, dword [0x1003f350]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
jmp 0x10002a31
Function at 0x10002b63
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x1003f350], 0x345
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x10002b8f
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x100058c4]
mov dh, byte [eax + 0x10005895]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x10002b8f
lea eax, [ebp - 0x24]
mov dword [0x1003f350], 0x21af
mov dword [0x1003f354], 0xbeb
mov dword [ebp - 0x34], eax
call fcn.10003445
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10002357
mov ecx, dword [0x1003f350]
add ecx, 0xfffffd13
mov dword [0x1003f350], ecx
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x10002b87
mov eax, dword [ebp - 0x38]
mov dword [0x1003f350], 0xf70
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 - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10003261
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x58], ecx
mov dword [0x1003f350], 0x118
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x40], ecx
mov dword [0x1003f354], 0x6b
add ecx, 0x14d0
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x10002ca2
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x100037ce
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0xfffff3eb
xor ebx, ebx
mov dword [0x1003f358], 0
mov dword [0x1003f35c], 0
mov dword [0x1003f368], 0
mov dword [0x1003f350], 0xbdd
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x10003947
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, 0x100
mov dword [0x1003f354], 0xb6f
add eax, 1
mov edi, ecx
add edi, 1
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1003f358], edx
mov ebx, dword [ebp - 0x24]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x1003f35c], edx
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x1003f360], cl
mov dword [0x1003f350], 0x98f
mov ebx, dword [ebp - 0x24]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1003f360]
mov edx, dword [0x1003f35c]
mov byte [ebx + edx], cl
mov dword [0x1003f354], 0x2668
mov edx, dword [0x1003f358]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1003f35c]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov dword [0x1003f354], 0x15b4
and ecx, 0xff
mov dword [0x1003f368], ecx
mov dword [0x1003f350], 0x1382
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
xor cl, byte [edx + esi]
mov byte [0x1003f36c], cl
mov dword [0x1003f354], 0xfffff097
mov dword [0x1003f350], 0xffffffde
mov edx, dword [ebp - 0x20]
mov byte [edx + esi], cl
mov ecx, dword [0x1003f350]
mov edx, ecx
add edx, 0xffffdd14
mov dword [0x1003f350], edx
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], ecx
je 0x10003973
jmp 0x10003957
mov eax, dword [ebp - 0x2c]
mov dword [0x1003f350], eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x1003f358]
mov ecx, dword [0x1003f35c]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], eax
jmp 0x10003839
mov eax, dword [ebp - 0x40]
add eax, 0xffffc522
mov dword [ebp - 0x2c], eax
jmp 0x10003947
Function at 0x10003980
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.10002f65
lea ecx, [0x1000256b]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x64], edx
mov dword [esp + 0x40], 0x13b000
mov edx, dword [0x1003f33c]
mov dword [esp + 0x34], edx
mov edx, dword [0x1003f340]
mov dword [esp + 0x74], edx
mov edx, dword [0x1003f344]
mov dword [esp + 0x30], edx
mov edx, dword [0x1003f348]
mov dword [esp + 0x5c], edx
mov edx, dword [0x1003f34c]
mov dword [esp + 0x58], edx
mov dword [0x1003f354], 0x1c8e
mov dword [0x1003f350], 0xffffff11
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x10003a74
jmp 0x10003a88
lea eax, [esp + 0x20]
mov ecx, dword [0x1003f350]
add ecx, 0xe50
mov dword [0x1003f350], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10002b63
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov ecx, dword [0x1003f350]
add ecx, 0xffffe586
mov dword [0x1003f354], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x10003a9f
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10003a0a
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov dword [0x1003f350], 0x26ce
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x20], edx
call fcn.100027a5
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
je 0x10003a1b
jmp 0x10003a6c
Function at 0x1052d000
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov al, byte [0x10518158]
test eax, eax
je 0x1052d01d
mov cl, byte [0x10518608]
or cl, 1
mov byte [0x10518608], cl
cmp dword [0x10518130], 0
je 0x1052d035
mov dl, byte [0x10518608]
or dl, 8
mov byte [0x10518608], dl
xor eax, eax
mov al, byte [0x10518608]
test eax, eax
je 0x1052d09f
cmp dword [0x1051813c], 0
je 0x1052d059
push 0x1051adfc
push 0x1051ae00
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov ecx, dword [0x10527454]
push ecx
mov dl, byte [0x10518608]
push edx
push 0x105183b0
push 0x10518158
mov eax, dword [0x10518140]
push eax
mov ecx, dword [0x1051813c]
push ecx
mov edx, dword [0x10518138]
push edx
mov eax, dword [0x10518134]
push eax
mov ecx, dword [0x10518130]
push ecx
push 0x10518128
call fcn.10530498
add esp, 0x28
pop ebp
ret
Function at 0x1052e75f
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov word [ebp - 8], 0
call fcn.1052fa78
mov word [ebp - 4], ax
cmp dword [0x10527570], 0
je 0x1052e789
mov dword [0x10527b44], 0
jmp 0x1052e793
mov dword [0x10527b44], 1
cmp dword [0x10527b44], 0
je 0x1052e993
cmp dword [0x1051adf8], 1
je 0x1052e7ba
mov eax, dword [0x1051adf4]
cmp eax, dword [0x1051adf0]
jne 0x1052e92c
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 5
idiv ecx
add edx, 1
mov dword [0x1051adf0], edx
mov dword [0x1051adf4], 1
mov edx, dword [0x10529818]
and edx, 0x1f3
mov dword [0x10527550], edx
mov eax, dword [0x10527550]
mov ecx, dword [eax*4 + 0x10517010]
xor ecx, 0xfd0699d6
mov dword [0x10527540], ecx
mov dword [0x10527544], 0
push 4
push 0
push 0x10527544
push 0x10527540
movzx dx, byte [0x1051700d]
push edx
push 0x105276ac
call fcn.10531480
mov word [ebp - 4], ax
mov eax, dword [ebp - 4]
and eax, 0xffff
test eax, eax
jne 0x1052e876
mov ecx, dword [0x10527544]
xor ecx, 0x7b2309a7
mov edx, dword [0x10527550]
xor ecx, dword [edx*4 + 0x105177e0]
test ecx, ecx
je 0x1052e920
xor eax, eax
mov al, byte [0x10519f6a]
cmp eax, 0x31
jne 0x1052e888
mov word [ebp - 4], 3
xor ecx, ecx
mov cl, byte [0x10519f6a]
cmp ecx, 0x32
je 0x1052e8a2
xor edx, edx
mov dl, byte [0x10519f6a]
cmp edx, 0x33
jne 0x1052e8a8
mov word [ebp - 4], 0
mov dword [0x1051adf8], 1
cmp dword [0x10527594], 0
jne 0x1052e91e
xor eax, eax
mov al, byte [0x10519f6a]
cmp eax, 0x32
je 0x1052e8d4
xor ecx, ecx
mov cl, byte [0x10519f6a]
cmp ecx, 0x33
jne 0x1052e91e
mov edx, dword [0x1052769c]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [0x1052754c], 0xc
push 0x2010
call fcn.1052d0a1
push eax
call fcn.1052f8db
add esp, 8
mov dword [0x1052754c], 0
mov eax, dword [0x1052769c]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [0x10527594], 1
jmp 0x1052e92a
mov dword [0x1051adf8], 0
jmp 0x1052e991
mov ecx, dword [0x1051adf4]
add ecx, 1
mov dword [0x1051adf4], ecx
mov edx, dword [0x10529818]
mov dword [0x10527540], edx
mov dword [0x10527544], 0
push 4
push 0
push 0x10527544
push 0x10527540
push 0
push 0x105276ac
call fcn.10531480
mov word [ebp - 4], ax
mov eax, dword [ebp - 4]
and eax, 0xffff
test eax, eax
jne 0x1052e98b
mov ecx, dword [0x10527544]
xor ecx, dword [0x10529818]
test ecx, ecx
je 0x1052e991
mov word [ebp - 4], 3
jmp 0x1052e9f7
mov edx, dword [0x1051adf4]
add edx, 1
mov dword [0x1051adf4], edx
mov eax, dword [0x10529818]
mov dword [0x10527540], eax
mov dword [0x10527544], 0
push 4
push 0
push 0x10527544
push 0x10527540
push 0
push 0x105276ac
call fcn.10531480
mov word [ebp - 4], ax
mov ecx, dword [ebp - 4]
and ecx, 0xffff
test ecx, ecx
jne 0x1052e9f1
mov edx, dword [0x10527544]
xor edx, dword [0x10529818]
test edx, edx
je 0x1052e9f7
mov word [ebp - 4], 3
mov ax, word [ebp - 4]
mov esp, ebp
pop ebp
ret