joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409681
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41a344]
jne 0x40968b
repz ret
jmp fcn.0040e06c

Function at 0x41229c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a344]
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.0040b70f
and dword [ebp - 0x14], 0
cmp dword [0x437fac], 0
mov dword [ebp - 0x18], eax
jne 0x41234f
push 0x403764
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4123f7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403758
push ebx
call edi
test eax, eax
je 0x4123f7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403748
push ebx
mov dword [0x437fac], eax
call edi
push eax
call esi
push 0x403734
push ebx
mov dword [0x437fb0], eax
call edi
push eax
call esi
push 0x403718
push ebx
mov dword [0x437fb4], eax
call edi
push eax
call esi
mov dword [0x437fbc], eax
test eax, eax
je 0x41234f
push 0x403700
push ebx
call edi
push eax
call esi
mov dword [0x437fb8], eax
mov eax, dword [0x437fb8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4123a8
cmp dword [0x437fbc], ecx
je 0x4123a8
push eax
call esi
push dword [0x437fbc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4123a8
test ebx, ebx
je 0x4123a8
call edi
test eax, eax
je 0x41239f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41239f
test byte [ebp - 8], 1
jne 0x4123a8
or dword [ebp + 0x10], 0x200000
jmp 0x4123db
mov eax, dword [0x437fb0]
cmp eax, dword [ebp - 0x18]
je 0x4123db
push eax
call esi
test eax, eax
je 0x4123db
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4123db
mov eax, dword [0x437fb4]
cmp eax, dword [ebp - 0x18]
je 0x4123db
push eax
call esi
test eax, eax
je 0x4123db
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x437fac]
call esi
test eax, eax
je 0x4123f7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4123f9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409681
leave
ret
Function at 0x414210
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1400
call fcn.00413870
cmp dword [0x7d8104], 0x37
jne 0x4142a1
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0x403f58
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [esp + 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x403fb4
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapePosition]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0
lea edx, [esp + 0xc04]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x7d8ce8]
mov edx, dword [0x7d5164]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1400
ret
Function at 0x100eeec3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10211a20]
jne 0x100eeecd
repz ret
jmp fcn.100f0e49

Function at 0x100f41af
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.100efec6
and dword [ebp - 4], 0
cmp dword [0x10214078], 0
mov ebx, eax
jne 0x100f4260
push 0x101ed1f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100f4311
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x101ed1e4
push edi
call esi
test eax, eax
je 0x100f4311
push eax
call fcn.100efe54
mov dword [esp], 0x101ed1d4
push edi
mov dword [0x10214078], eax
call esi
push eax
call fcn.100efe54
mov dword [esp], 0x101ed1c0
push edi
mov dword [0x1021407c], eax
call esi
push eax
call fcn.100efe54
mov dword [esp], 0x101ed1a4
push edi
mov dword [0x10214080], eax
call esi
push eax
call fcn.100efe54
pop ecx
mov dword [0x10214088], eax
test eax, eax
je 0x100f4260
push 0x101ed18c
push edi
call esi
push eax
call fcn.100efe54
pop ecx
mov dword [0x10214084], eax
mov eax, dword [0x10214084]
cmp eax, ebx
je 0x100f42b8
cmp dword [0x10214088], ebx
je 0x100f42b8
push eax
call fcn.100efecf
push dword [0x10214088]
mov esi, eax
call fcn.100efecf
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100f42b8
test edi, edi
je 0x100f42b8
call esi
test eax, eax
je 0x100f42af
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100f42af
test byte [ebp - 0xc], 1
jne 0x100f42b8
or dword [ebp + 0x10], 0x200000
jmp 0x100f42f1
mov eax, dword [0x1021407c]
cmp eax, ebx
je 0x100f42f1
push eax
call fcn.100efecf
pop ecx
test eax, eax
je 0x100f42f1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100f42f1
mov eax, dword [0x10214080]
cmp eax, ebx
je 0x100f42f1
push eax
call fcn.100efecf
pop ecx
test eax, eax
je 0x100f42f1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10214078]
call fcn.100efecf
pop ecx
test eax, eax
je 0x100f4311
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100f4313
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100f511f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x102119b4]
add eax, 0xfffffdcf
mov dword [0x102119b4], eax
call fcn.1000108e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x100f51f9
jmp 0x100f51ef
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x1c], ecx
jne 0x100f5292
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x58], ecx
mov dword [0x102119b8], 0x2382
mov edx, dword [esp + 0x1c]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x88], esi
mov dword [0x102119b4], 0x17e8
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.100f5d9c
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x102119b4]
add ecx, 0xfffff71a
mov dword [0x102119b4], ecx
mov dword [esp + 0x18], eax
jmp 0x100f521d
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
je 0x100f5156
jmp 0x100f5292
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
lea eax, [esp + 0x38]
mov dword [0x102119b8], 0xcff
mov dword [esp + 0x10], eax
call fcn.100f59cb
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
je 0x100f5227
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
jmp 0x100f51ef
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.100f4e79
lea ecx, [0x100f63d9]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x68], 0x137200
mov edx, dword [0x102119a0]
mov dword [esp + 0x60], edx
mov edx, dword [0x102119a4]
mov dword [esp + 0x40], edx
mov edx, dword [0x102119a8]
mov dword [esp + 0x5c], edx
mov edx, dword [0x102119ac]
mov dword [esp + 0x48], edx
mov edx, dword [0x102119b0]
mov dword [esp + 0x4c], edx
mov dword [0x102119b4], 0xfffff70e
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
jmp 0x100f51d7
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x100f51d7
Function at 0x100f5498
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 dword [0x102119c0], 0
mov byte [0x102119c4], 0
mov dword [0x102119b4], 0x2002
mov dword [0x102119b8], 0xf6c
mov dword [0x102119bc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x100f558f
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x102119c8], 0
mov edi, dword [0x102119c0]
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 [0x102119c8], esi
mov dword [0x102119b8], 0x232c
mov eax, esi
cdq
idiv ecx
mov dword [0x102119c0], edx
mov dword [0x102119b4], 0x347
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x102119c4], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x102119c4]
mov esi, dword [0x102119c0]
mov byte [ebx + esi], cl
mov esi, dword [0x102119bc]
add esi, 1
mov dword [0x102119bc], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x100f54ec
jmp 0x100f55dd
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x102119b4], 0x142c
mov eax, dword [0x102119bc]
add eax, 1
mov dword [0x102119bc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100f558f
xor eax, eax
mov dword [0x102119b8], 0x1a2c
mov dword [0x102119bc], 0
mov dword [ebp - 0x20], eax
jmp 0x100f54ec
mov eax, dword [0x102119b8]
add eax, 0xffffeb75
mov dword [0x102119b8], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100f59cb
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x38
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x102119b8]
mov edi, esi
add edi, 0xffffde83
mov dword [0x102119b4], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ecx
jmp 0x100f5ade
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x12], 0x64
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
je 0x100f5a7b
mov eax, dword [ebp - 0x28]
xor ecx, ecx
add eax, 0xfffff184
mov dword [0x102119b8], eax
mov dword [ebp - 0x2c], ecx
jmp 0x100f5a9c
mov dword [0x102119b8], 0x1815
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x16], 0x61
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
je 0x100f5b4a
jmp 0x100f5a2b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x18], 0x6f
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
je 0x100f5a3f
jmp 0x100f5a2b
mov eax, dword [ebp - 0x1c]
add eax, 0xffffdce0
mov dword [0x102119b4], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x28], eax
je 0x100f5aa6
jmp 0x100f5a2b
mov eax, dword [ebp - 0x2c]
add esp, 0x38
pop esi
pop edi
pop ebp
ret
mov dword [0x102119b4], 0xadf
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff9
mov dword [ebp - 0x30], eax
mov eax, 1
mov ecx, 0xadf
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
cmp word [edx + esi*2], 0x6c
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
je 0x100f5a9c
jmp 0x100f5a2b
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edx
je 0x100f5b1f
mov eax, dword [ebp - 0x34]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x3d], cl
mov al, byte [ebp - 0x3d]
test al, 1
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x38], edx
jne 0x100f5ade
jmp 0x100f5b1f
mov eax, dword [ebp - 0x38]
mov dword [0x102119b8], 0x9f
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
je 0x100f5a64
jmp 0x100f5a2b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x14], 0x64
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
je 0x100f5a16
jmp 0x100f5a2b
Function at 0x100f5d9c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x101ec061]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.100f55ff
mov eax, dword [0x102119b4]
add eax, 0xffffe70f
mov dword [0x102119b4], eax
call fcn.100f5904
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.100f52a9
cmp eax, 0
mov dword [ebp - 0x3c], eax
je 0x100f5ead
mov eax, dword [0x102119b4]
mov ecx, dword [ebp - 0x3c]
add eax, 0x1acf
mov dword [0x102119b4], eax
mov eax, esp
mov dword [eax + 0xc], 0x40
mov dword [eax + 8], 0x1000
mov dword [eax + 4], 0x6000
mov dword [eax], 0
call ecx
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.100f5b8a
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x34], ecx
mov dword [0x102119b4], 0x112
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x48], ecx
add ecx, 0x18e0
mov esi, dword [ebp - 0x40]
cmp esi, 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
je 0x100f5ea3
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add esp, 0x50
pop esi
pop edi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop edi
pop ebp
ret
Function at 0x100f6050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov ecx, dword [0x102119b4]
add ecx, 0x4b29
mov dword [0x102119b4], ecx
mov dword [ebp - 0x10], eax
call fcn.100f570e
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x102119b8], 0x47e5
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x102119b4], 0x660
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x100f60f0
jmp 0x100f60fb
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
xor esi, esi
add eax, 0x24f8
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + ecx*4]
mov dword [0x102119b4], eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], esi
jmp 0x100f6117
mov al, byte [ebp - 0x45]
test al, 1
jne 0x100f61a1
jmp 0x100f616e
mov eax, dword [ebp - 0x24]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, 0x660
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x24]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
jmp 0x100f60b7
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x34]
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 - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x45], cl
je 0x100f60e3
mov al, byte [ebp - 0x4d]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x4c]
add edx, 1
mov ah, byte [ebp - 0x45]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x44], edx
jne 0x100f6117
jmp 0x100f60e3
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 2
mov edx, dword [ebp - 0x38]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], eax
jb 0x100f60b7
jmp 0x100f60f0
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov dword [0x102119b4], 0xc39
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x24], edi
jmp 0x100f60f0
Function at 0x100f61c9
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 [0x102119bc], 0
mov dword [0x102119c0], 0
mov dword [0x102119cc], 0
mov dword [0x102119b8], 0x14e0
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 0x100f6313
jmp 0x100f6245
mov eax, dword [0x102119bc]
mov ecx, dword [0x102119c0]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x102119b4], 0xb69
add ecx, 1
mov edi, eax
add edi, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102119bc], edx
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x34]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x102119c0], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x102119c4], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov dword [0x102119b4], 0x226c
mov cl, byte [0x102119c4]
mov edx, dword [0x102119c0]
mov byte [ebx + edx], cl
mov edx, dword [0x102119bc]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x102119c0]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x102119cc], ecx
mov dword [0x102119b4], 0x11c5
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov dl, byte [edx + esi]
xor dl, byte [ebx + ecx]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + esi], dl
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x2c], edi
jne 0x100f622e
mov dword [0x102119b8], 0xe7d
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x403370
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x180c
call fcn.0040c700
mov eax, dword [0x2b89b7c]
mov ecx, dword [0x2b89af0]
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x40347b
mov edi, dword [sym.imp.KERNEL32.dll_SetHandleCount]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x2b89b7c], 0x959
jne 0x403461
push 0
call edi
push 0
lea eax, [esp + 0x1c]
push eax
push 0
call ebx
push 0
push 0
call esi
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
push 0
lea ecx, [esp + 0x820]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea edx, [esp + 0x101c]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0x402ce8
push 0x402d14
call esi
push 0
push 0x402d4c
push 0x402d60
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [esp + 0x10]
push eax
call fcn.004031b0
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x4033b4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x180c
ret
Function at 0x4095d5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42fb80]
jne 0x4095df
repz ret
jmp fcn.0040bb65

Function at 0x409737
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.00406fdd
and dword [ebp - 4], 0
cmp dword [0x432d00], 0
mov ebx, eax
jne 0x4097e8
push 0x401b84
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409899
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401b78
push edi
call esi
test eax, eax
je 0x409899
push eax
call fcn.00406f6b
mov dword [esp], 0x401b68
push edi
mov dword [0x432d00], eax
call esi
push eax
call fcn.00406f6b
mov dword [esp], 0x401b54
push edi
mov dword [0x432d04], eax
call esi
push eax
call fcn.00406f6b
mov dword [esp], 0x401b38
push edi
mov dword [0x432d08], eax
call esi
push eax
call fcn.00406f6b
pop ecx
mov dword [0x432d10], eax
test eax, eax
je 0x4097e8
push 0x401b20
push edi
call esi
push eax
call fcn.00406f6b
pop ecx
mov dword [0x432d0c], eax
mov eax, dword [0x432d0c]
cmp eax, ebx
je 0x409840
cmp dword [0x432d10], ebx
je 0x409840
push eax
call fcn.00406fe6
push dword [0x432d10]
mov esi, eax
call fcn.00406fe6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409840
test edi, edi
je 0x409840
call esi
test eax, eax
je 0x409837
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409837
test byte [ebp - 0xc], 1
jne 0x409840
or dword [ebp + 0x10], 0x200000
jmp 0x409879
mov eax, dword [0x432d04]
cmp eax, ebx
je 0x409879
push eax
call fcn.00406fe6
pop ecx
test eax, eax
je 0x409879
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409879
mov eax, dword [0x432d08]
cmp eax, ebx
je 0x409879
push eax
call fcn.00406fe6
pop ecx
test eax, eax
je 0x409879
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x432d00]
call fcn.00406fe6
pop ecx
test eax, eax
je 0x409899
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40989b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret