joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437913
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x452080]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x43795e
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00437ab2
test al, al
jne 0x437958
sub edx, 2
cmp edx, edi
jne 0x43793e
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x437980
lea eax, [edi + 2]
cmp edx, eax
je 0x437980
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0043785f
add esp, 0x10
jmp 0x437a7a
push esi
lea ecx, [ebp - 0x255]
call fcn.00437ab2
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4379c3
push dword [ebp - 0x25c]
jmp 0x437970
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x437a00
cmp word [ebp - 0x226], 0
je 0x437a21
cmp word [ebp - 0x226], ax
jne 0x437a00
cmp word [ebp - 0x224], 0
je 0x437a21
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0043785f
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x437a6d
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4379da
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x437a55
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x437a7a
push 0x43768f
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0043f2b0
add esp, 0x10
jmp 0x437a4a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d53e
leave
ret
Function at 0x438385
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x438422
push ebx
push esi
call fcn.0043834e
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00436dc5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4383cf
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x438421
push edi
push eax
call fcn.004314e6
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4383ef
call fcn.00431102
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x438420
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00436dc5
add esp, 0x20
test eax, eax
jne 0x43840e
push edi
call fcn.00431102
jmp 0x438416
push ebx
call fcn.00431102
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x438425
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x438436
pop esi
ret
push ebx
push edi
push esi
call fcn.0043834e
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004314e6
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x43845e
push ebx
push esi
push edi
call fcn.0041eac0
add esp, 0xc
push 0
call fcn.00431102
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x438baa
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004386d1
Function at 0x44012e
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004400aa
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4402a6
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4402a6
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x440255
jg 0x440187
test eax, eax
je 0x44024b
push 1
push 0x1000
call fcn.0043029c
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4401ad
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x440242
push 0x8000
push ebx
call fcn.0042d7f5
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4401d9
jg 0x4401d4
cmp ecx, 0x1000
jb 0x4401d9
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00430f02
add esp, 0x10
cmp eax, 0xffffffff
je 0x44021e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x4401d4
jl 0x440205
test ecx, ecx
jne 0x4401c6
push dword [ebp - 0xc]
push ebx
call fcn.0042d7f5
push esi
call fcn.00431102
add esp, 0xc
xor edi, edi
jmp 0x4402b7
cmp byte [edi + 0x24], 0
je 0x440235
cmp dword [edi + 0x20], 5
jne 0x440235
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x440240
mov edi, dword [edi + 0x18]
jmp 0x440242
xor edi, edi
push esi
call fcn.00431102
pop ecx
jmp 0x4402b7
test ecx, ecx
jg 0x440217
jl 0x440255
test eax, eax
jae 0x440217
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00435809
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x440278
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x440217
jmp 0x4402af
push ebx
call fcn.004391fc
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x440217
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x4402b7
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4402b4
mov edi, dword [edi + 0x18]
jmp 0x4402b7
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00435809
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x441320
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44134d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44134d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x414513
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x434210
call fcn.004149a0
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x449b94
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x414558
cmp eax, esi
jne 0x41454b
xor esi, esi
inc esi
mov edi, esi
jmp 0x41455b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41452f
xor esi, esi
inc esi
cmp dword [0x449b98], esi
jne 0x41456d
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x4145a7
cmp dword [0x449b98], ebx
jne 0x4145a1
mov dword [0x449b98], esi
push 0x401034
push 0x401028
call fcn.0041468c
pop ecx
pop ecx
test eax, eax
je 0x4145a7
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41467c
mov dword [0x448f6c], esi
cmp dword [0x449b98], esi
jne 0x4145ca
push 0x401024
push section..text
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x449b98], 2
test edi, edi
jne 0x4145d7
xor eax, eax
mov ecx, 0x449b94
xchg dword [ecx], eax
cmp dword [0x449ba4], 0
je 0x414603
push 0x449ba4
call fcn.00414cb0
pop ecx
test eax, eax
je 0x414603
push ebx
push 2
push ebx
mov esi, dword [0x449ba4]
mov ecx, esi
call dword [0x44a2fc]
call esi
push dword [0x448f78]
push dword [0x448f74]
push dword [0x448f70]
call fcn.0041368b
add esp, 0xc
mov dword [0x448f68], eax
cmp dword [0x448f80], 0
jne 0x414661
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x448f6c], 0
jne 0x414675
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x448f68]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.00573000
jmp 0x414513

Function at 0x414ba4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x434250
call fcn.004149a0
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x414c04
cmp eax, 0xffffffff
je 0x414c04
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x414bfd
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x414bfd
cmp edx, 0x10000000
jae 0x414bfd
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x414bfa
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x414c60
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x414c9e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x414c96
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x414ca0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x414c86
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x101a3170
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
lea edi, [ebp - 0x18]
mov ecx, 6
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x101f156e
call fcn.10090364
mov eax, dword [0x101ee738]
mov dword [ebp - 8], eax
jmp 0x101a31a7
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x101a31c0
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x101a31be
mov eax, dword [ebp - 8]
jmp 0x101a3243
jmp 0x101a319f
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.1008f86a
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x101a3240
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], 0
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
mov dword [eax], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x14]
add eax, 0x20
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 8]
cmp eax, 0xfe0
jbe 0x101a3203
mov eax, dword [ebp - 8]
mov ecx, dword [0x101ee738]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov dword [0x101ee738], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.1008f86a
mov esp, ebp
pop ebp
ret
Function at 0x101a4d10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
lea edi, [ebp - 0x4c]
mov ecx, 0x13
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x101e5ac0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x101f16f6
call fcn.10090364
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x101ee720]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], 5
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x101a4d7d
mov eax, dword [ebp - 0x30]
sub eax, 5
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
add eax, 2
mov dword [ebp - 0x24], eax
mov esi, esp
lea eax, [ebp - 0x18]
push eax
push 0x40
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1008f86a
test eax, eax
jne 0x101a4da8
mov eax, 0xa
jmp 0x101a4eaa
cmp dword [ebp + 0xc], 0
je 0x101a4df5
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov byte [eax], 0xe9
mov eax, dword [ebp - 0x30]
add eax, 5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
sub edx, eax
mov eax, dword [ebp - 0x3c]
mov dword [eax + 1], edx
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x101a4df3
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x48]
mov byte [eax], 0xeb
mov eax, dword [ebp - 0x48]
mov byte [eax + 1], 0xf9
jmp 0x101a4e31
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x101a4e1c
push 7
mov eax, dword [ebp - 0xc]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.100901bb
add esp, 0xc
jmp 0x101a4e31
push 5
mov eax, dword [ebp - 0xc]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.100901bb
add esp, 0xc
mov esi, esp
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1008f86a
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.1008f86a
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp esi, esp
call fcn.1008f86a
mov al, byte [ebp + 0xc]
and al, 1
shl al, 1
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx + 0x14]
and dl, 0xfd
or dl, al
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x14], dl
mov al, byte [ebp + 0xc]
and al, 1
shl al, 2
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx + 0x14]
and dl, 0xfb
or dl, al
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x14], dl
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x101a4edc]
call fcn.1008f473
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008ef0a
add esp, 0x10c
cmp ebp, esp
call fcn.1008f86a
mov esp, ebp
pop ebp
ret
Function at 0x101a5030
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
push edi
lea edi, [ebp - 0x40]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x101e5ac0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x101f16f6
call fcn.10090364
push 0
push 4
call fcn.1008ee01
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x101a51bb
mov dword [ebp - 0x30], 0x1c
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.1008ec44
test eax, eax
je 0x101a51a8
cmp dword [ebp - 0x30], 0x10
jb 0x101a518c
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.1008f86a
cmp dword [ebp - 0x24], eax
jne 0x101a518c
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.1008f86a
cmp dword [ebp - 0x28], eax
je 0x101a518c
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x101a5113
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 2
mov esi, esp
push ecx
push 0
mov edx, dword [0x101ee2e0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.1008f86a
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x101a5111
jmp 0x101a51a8
jmp 0x101a516c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x101a516c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
mov esi, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x101ee2e0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.1008f86a
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x101a5156
jmp 0x101a51a8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov edx, dword [ebp - 0x28]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 8], ecx
mov dword [ebp - 0x30], 0x1c
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.1008e10e
test eax, eax
jne 0x101a5091
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1008f86a
push edx
mov ecx, ebp
push eax
lea edx, [0x101a51ec]
call fcn.1008f473
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008ef0a
add esp, 0x100
cmp ebp, esp
call fcn.1008f86a
mov esp, ebp
pop ebp
ret
Function at 0x101a5490
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
lea edi, [ebp - 0x18]
mov ecx, 6
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x101f16f6
call fcn.10090364
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.101a5030
add esp, 4
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x101a556b
mov dword [ebp - 8], 0
jmp 0x101a54fc
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 8]
jae 0x101a556b
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov esi, esp
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx*4]
push eax
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.1008f86a
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x101a5569
mov esi, esp
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.1008f86a
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.101a6270
add esp, 0xc
mov esi, esp
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1008f86a
jmp 0x101a54f3
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.1008f86a
mov esp, ebp
pop ebp
ret

Function at 0x101a6620
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
lea edi, [ebp - 0x18]
mov ecx, 6
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x101f16f6
call fcn.10090364
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x101a66dc
mov dword [ebp - 8], 0
jmp 0x101a6663
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 8]
jae 0x101a66be
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov esi, esp
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx*4]
push eax
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.1008f86a
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x101a66bc
mov esi, esp
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.1008f86a
mov esi, esp
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1008f86a
jmp 0x101a665a
mov esi, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0
mov edx, dword [0x101ee2e0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.1008f86a
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.1008f86a
mov esp, ebp
pop ebp
ret
Function at 0x101a6e10
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
lea edi, [ebp - 0xc]
mov ecx, 3
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x101f17ba
call fcn.10090364
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x101a6e78
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x90
je 0x101a6e78
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
cmp eax, 0xcc
je 0x101a6e78
xor eax, eax
jmp 0x101a6eb9
mov dword [ebp - 8], 1
jmp 0x101a6e8a
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x101a6eb4
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
mov edx, 1
imul eax, edx, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + eax]
cmp ecx, eax
je 0x101a6eb2
xor eax, eax
jmp 0x101a6eb9
jmp 0x101a6e81
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.1008f86a
mov esp, ebp
pop ebp
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x19a86119
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x73db1c73
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219