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

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0105df2a
push dword [ebp + 0x10]
call fcn.0105a98c
mov ebx, eax
test ebx, ebx
je 0x105b366
inc dword [ebx + 8]
mov eax, dword [ebx + 8]
cmp eax, 1
jne 0x105b240
inc dword [0x107f9a8]
mov eax, dword [ebx + 0x15c]
cmp dword [ebx + 0x158], eax
push esi
push edi
jl 0x105b298
lea eax, [eax + eax*2 + 0x384]
shl eax, 3
push eax
push dword [ebx + 0x160]
call dword [sym.imp.msvcrt.dll_realloc]
mov edx, eax
test edx, edx
pop ecx
pop ecx
je 0x105b310
mov esi, dword [ebx + 0x15c]
lea esi, [esi + esi*2]
xor eax, eax
mov ecx, 0x708
lea edi, [edx + esi*8]
mov dword [ebx + 0x160], edx
rep stosd dword es:[edi], eax
add dword [ebx + 0x15c], 0x12c
mov eax, dword [ebx + 0x158]
test eax, eax
jne 0x105b2b4
mov esi, dword [ebx + 0x160]
mov dword [ebx + 0x158], 1
jmp 0x105b2e1
mov edx, dword [ebx + 0x160]
lea ecx, [eax + eax*2]
lea ecx, [edx + ecx*8]
lea esi, [ecx - 0x18]
mov edx, dword [esi]
cmp edx, dword [0x107f9d0]
jne 0x105b2d8
mov edx, dword [esi + 4]
cmp edx, dword [0x107f9d4]
je 0x105b2f0
inc eax
mov esi, ecx
mov dword [ebx + 0x158], eax
mov eax, dword [0x107f9d0]
mov dword [esi], eax
mov eax, dword [0x107f9d4]
mov dword [esi + 4], eax
mov eax, dword [esi + 0xc]
cmp dword [esi + 8], eax
jl 0x105b33e
add eax, 0x20
shl eax, 4
push eax
push dword [esi + 0x10]
call dword [sym.imp.msvcrt.dll_realloc]
mov edx, eax
test edx, edx
pop ecx
pop ecx
jne 0x105b326
push 0
push 0x30
push 0x10067b8
call fcn.0102e0c1
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edi, dword [esi + 0xc]
shl edi, 4
xor eax, eax
add edi, edx
mov ecx, 0x80
mov dword [esi + 0x10], edx
rep stosd dword es:[edi], eax
add dword [esi + 0xc], 0x20
mov ecx, dword [esi + 8]
mov eax, ecx
shl eax, 4
add eax, dword [esi + 0x10]
inc ecx
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x18]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x14]
pop edi
mov dword [eax + 0xc], ecx
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x105ce03
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 8]
movzx eax, word [ecx + 4]
mov dl, byte [ecx + 2]
push ebx
push esi
add eax, 7
and eax, 0xfffffff8
push 0x10
pop ebx
add eax, ecx
cmp dl, bl
je 0x105ce77
cmp dl, 0x11
je 0x105ce77
test dl, dl
je 0x105ce77
cmp dl, 1
je 0x105ce55
cmp dl, 2
je 0x105ce55
movzx eax, dl
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push 0x100d6d8
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
add esp, 0xc
push 1
call dword [sym.imp.msvcrt.dll_exit]
mov esi, dword [ecx + 0x10]
mov edx, dword [esp + 0x14]
mov dword [edx + 8], esi
mov esi, dword [ecx + 0x14]
mov dword [edx + 0xc], esi
mov dword [edx + 0x18], 0x20
mov ebx, dword [ecx + 8]
lea esi, [ecx + 0x20]
mov dword [edx + 0x20], ebx
jmp 0x105ce8d
mov esi, dword [ecx + 8]
mov edx, dword [esp + 0x14]
mov dword [edx + 8], esi
mov esi, dword [ecx + 0xc]
mov dword [edx + 0xc], esi
lea esi, [ecx + 0x10]
mov dword [edx + 0x18], ebx
movzx ebx, word [ecx + 4]
sub ebx, dword [edx + 0x18]
mov dword [edx + 0x14], esi
mov dword [edx + 0x10], ebx
movzx ebx, word [ecx]
mov dword [edx + 0x1c], ebx
cmp word [ecx + 6], 0x524
jne 0x105cebe
mov cx, word [ecx]
cmp cx, 0x20
jae 0x105cebe
mov edx, dword [esi]
mov esi, dword [esp + 0xc]
movzx ecx, cx
mov dword [esi + ecx*4 + 0x14], edx
pop esi
pop ebx
ret 0xc
Function at 0x105d405
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
and eax, 0xfff
push ebx
lea ebx, [eax + eax*2]
shl ebx, 2
mov ecx, dword [ebx + 0x108ea64]
mov eax, dword [ebx + 0x108ea68]
inc ecx
cmp ecx, eax
push ebp
push edi
jb 0x105d496
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea eax, [eax + eax*4 + 0xfa]
shl eax, 4
push eax
push 8
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
je 0x105d49e
push esi
mov esi, dword [ebx + 0x108ea60]
test esi, esi
je 0x105d488
mov eax, dword [ebx + 0x108ea68]
lea ecx, [eax + eax*4]
shl ecx, 4
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push dword [ebx + 0x108ea60]
push 0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [esp + 0x14]
mov dword [ebx + 0x108ea60], edi
add dword [ebx + 0x108ea68], 0x32
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
ret 4
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push 0x100d7a0
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
pop ecx
pop ecx
push 1
call dword [sym.imp.msvcrt.dll_exit]
int3

Function at 0x105d553
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov ecx, dword [ebx + 0x28]
mov eax, dword [ebx + 0x2c]
inc ecx
cmp ecx, eax
push ebp
jb 0x105d5c4
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
add eax, 0x32
imul eax, eax, 0x458
push eax
push 8
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
mov dword [esp + 0xc], eax
je 0x105d5cb
push esi
mov esi, dword [ebx + 0x30]
test esi, esi
je 0x105d5bc
mov ecx, dword [ebx + 0x2c]
imul ecx, ecx, 0x458
push edi
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push dword [ebx + 0x30]
push 0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x14]
pop edi
add dword [ebx + 0x2c], 0x32
mov dword [ebx + 0x30], eax
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push 0x100d7fc
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
pop ecx
pop ecx
push 1
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x105d5ea
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
and eax, 0xfff
push ebx
lea ebx, [eax + eax*2]
shl ebx, 2
mov ecx, dword [ebx + 0x107fa3c]
mov eax, dword [ebx + 0x107fa40]
inc ecx
cmp ecx, eax
push ebp
push edi
jb 0x105d67b
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea eax, [eax + eax*2 + 0x96]
shl eax, 3
push eax
push 8
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
je 0x105d683
push esi
mov esi, dword [ebx + 0x107fa38]
test esi, esi
je 0x105d66d
mov eax, dword [ebx + 0x107fa40]
lea ecx, [eax + eax*2]
shl ecx, 3
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push dword [ebx + 0x107fa38]
push 0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [esp + 0x14]
mov dword [ebx + 0x107fa38], edi
add dword [ebx + 0x107fa40], 0x32
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
ret 4
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push 0x100d82c
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
pop ecx
pop ecx
push 1
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x105e768
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov ebx, dword [edi + 0x1c]
test ebx, ebx
jbe 0x105e7e9
and dword [ebp + 0x10], 0
mov esi, dword [edi + 0x24]
add esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov eax, dword [esi + 0x10]
cmp eax, edx
jne 0x105e7b1
mov eax, dword [ebp + 0x18]
cmp dword [esi + 0x14], eax
jne 0x105e7c9
push dword [ebp + 0x1c]
push dword [esi + 0x18]
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x105e7c9
inc eax
jmp 0x105e884
jbe 0x105e7bc
mov ecx, dword [ebp + 0x18]
add ecx, edx
cmp eax, ecx
jb 0x105e7c9
cmp eax, edx
jae 0x105e7dd
mov ecx, dword [esi + 0x14]
add ecx, eax
cmp ecx, edx
jbe 0x105e7dd
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x105e7dd
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
inc dword [ebp - 4]
add dword [ebp + 0x10], 0x30
cmp dword [ebp - 4], ebx
jb 0x105e781
push edi
call fcn.0105d4bd
test eax, eax
je 0x105e811
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push 0x100d7cc
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
pop ecx
pop ecx
push 1
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [edi + 0x24]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x24]
lea esi, [ebx + ebx*2]
shl esi, 4
mov dword [esi + eax + 0x10], ecx
mov eax, dword [edi + 0x24]
mov ecx, dword [ebp + 0x18]
mov dword [esi + eax + 0x14], ecx
mov ecx, dword [edi + 0x24]
mov eax, dword [ebp + 0x1c]
mov dword [esi + ecx + 0x18], eax
mov ecx, dword [edi + 0x24]
mov dword [esi + ecx + 0x20], edx
mov ecx, dword [edi + 0x24]
mov edx, dword [ebp + 0x20]
mov dword [esi + ecx + 0x1c], edx
mov ecx, dword [edi + 0x24]
mov edx, dword [ebp + 8]
mov dword [esi + ecx + 0x24], 1
mov ecx, dword [edi + 0x24]
mov dword [esi + ecx], edx
mov edx, dword [ebp + 0xc]
mov dword [esi + ecx + 4], edx
mov ecx, dword [edi + 0x24]
and dword [esi + ecx + 8], 0
and dword [esi + ecx + 0xc], 0
push eax
call fcn.0105e656
mov ecx, dword [edi + 0x24]
mov dword [esi + ecx + 0x28], eax
inc dword [edi + 0x1c]
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x20
Function at 0x105edfb
Capabilities:
Terminate process

Disassembly:
push ebx
xor ebx, ebx
cmp byte [0x109aa7d], bl
jne 0x105ee0d
mov eax, 0xc0000001
pop ebx
ret
mov ecx, dword [0x108ca40]
push esi
push edi
mov edi, dword [0x108ea58]
xor eax, eax
mov byte [0x109aa74], bl
rep stosd dword es:[edi], eax
mov ecx, dword [0x108ca40]
mov edi, dword [0x108ca3c]
rep stosd dword es:[edi], eax
mov ecx, dword [0x108ca40]
mov edi, dword [0x108ea54]
rep stosd dword es:[edi], eax
mov ecx, dword [0x108ca40]
mov edi, dword [0x108ea50]
rep stosd dword es:[edi], eax
or dword [0x107c480], 0xffffffff
or dword [0x107c484], 0xffffffff
xor esi, esi
cmp dword [0x109aa6c], ebx
mov byte [0x109aa69], bl
mov dword [0x109aa78], ebx
mov byte [0x109aa7c], bl
jbe 0x105ee88
push esi
call fcn.0105d0b1
inc esi
cmp esi, dword [0x109aa6c]
jb 0x105ee79
xor esi, esi
cmp dword [0x109aa70], ebx
jbe 0x105eea1
push esi
call fcn.0105d150
inc esi
cmp esi, dword [0x109aa70]
jb 0x105ee92
pop edi
mov eax, 0x108ca48
mov ecx, 0x400
pop esi
mov dword [eax + 4], eax
mov dword [eax], eax
add eax, 8
dec ecx
jne 0x105eead
push ebx
push ebx
push ebx
push ebx
push 0x100e1b8
push ebx
push ebx
call fcn.0105e687
push ebx
push ebx
push ebx
call fcn.0105d6a2
cmp eax, ebx
mov dword [0x108ca38], eax
jne 0x105eef7
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push 0x100e194
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
pop ecx
pop ecx
push 1
call dword [sym.imp.msvcrt.dll_exit]
push ebx
push ebx
push ebx
push ebx
call fcn.0105e368
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0105e3cd
xor eax, eax
pop ebx
ret
Function at 0x1060c83
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x107c48c]
add eax, 0x75348
cmp ecx, dword [eax]
jb 0x1060d20
add ecx, 0x1000
push esi
mov esi, dword [eax]
mov dword [eax], ecx
mov eax, dword [0x107c48c]
mov ecx, dword [eax + 0x75348]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push dword [eax + 4]
call dword [sym.imp.msvcrt.dll_realloc]
pop ecx
pop ecx
mov ecx, dword [0x107c48c]
mov dword [ecx + 4], eax
mov eax, dword [0x107c48c]
cmp dword [eax + 4], 0
jne 0x1060d17
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
push eax
call dword [sym.imp.msvcrt.dll_fflush]
mov eax, dword [0x107c48c]
push dword [eax + 0x75348]
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push 0x100ecb8
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
add esp, 0x10
push 1
call dword [sym.imp.msvcrt.dll_exit]
mov eax, esi
call fcn.01060c3a
mov eax, dword [0x107c48c]
inc esi
cmp esi, dword [eax + 0x75348]
jb 0x1060d0a
pop esi
ret 4

Function at 0x1060d23
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x107c48c]
add eax, 0x7534c
cmp ecx, dword [eax]
jb 0x1060dd5
add ecx, 0x1000
push esi
mov esi, dword [eax]
mov dword [eax], ecx
mov eax, dword [0x107c48c]
mov ecx, dword [eax + 0x7534c]
shl ecx, 3
push ecx
push dword [eax]
call dword [sym.imp.msvcrt.dll_realloc]
pop ecx
pop ecx
mov ecx, dword [0x107c48c]
mov dword [ecx], eax
mov eax, dword [0x107c48c]
cmp dword [eax], 0
jne 0x1060da4
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
push eax
call dword [sym.imp.msvcrt.dll_fflush]
mov eax, dword [0x107c48c]
push dword [eax + 0x7534c]
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push 0x100ecf4
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
add esp, 0x10
push 1
call dword [sym.imp.msvcrt.dll_exit]
cmp esi, dword [eax + 0x7534c]
mov ecx, esi
jae 0x1060dd4
mov eax, dword [eax]
mov dword [eax + ecx*8], 0xdeadbeef
mov eax, dword [0x107c48c]
mov eax, dword [eax]
mov dword [eax + ecx*8 + 4], 0x100ecac
mov eax, dword [0x107c48c]
inc ecx
cmp ecx, dword [eax + 0x7534c]
jb 0x1060dae
pop esi
ret
Function at 0x1061b81
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [0x1250738]
cmp ecx, eax
jl 0x1061bfc
push edi
mov edi, eax
jbe 0x1061b95
mov eax, ecx
add eax, 0x1000
push esi
mov esi, dword [sym.imp.msvcrt.dll_realloc]
mov dword [0x1250738], eax
shl eax, 2
push eax
push dword [0x1250730]
call esi
mov dword [0x1250730], eax
mov eax, dword [0x1250738]
imul eax, eax, 0x34
push eax
push dword [0x1250728]
call esi
add esp, 0x10
cmp dword [0x1250730], 0
mov dword [0x1250728], eax
pop esi
je 0x1061bff
test eax, eax
je 0x1061bff
cmp edi, dword [0x1250738]
mov eax, edi
jae 0x1061bfb
mov ecx, dword [0x1250730]
or dword [ecx + eax*4], 0xffffffff
inc eax
cmp eax, dword [0x1250738]
jb 0x1061be8
pop edi
ret 4
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push 0x100f180
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
pop ecx
pop ecx
push 0xffffffffffffffff
call dword [sym.imp.msvcrt.dll_exit]
int3

Function at 0x10633cf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
mov ebx, ecx
jbe 0x10634a1
push edi
push dword [ebp + 8]
call fcn.01062b26
mov edi, eax
test edi, edi
jne 0x106344a
push dword [ebp + 8]
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push 0x100f590
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
add esp, 0xc
push 0x100f57c
push dword [ebp + 8]
mov ecx, 0x107c4c8
call fcn.01063263
push dword [ebp + 8]
mov ecx, ebx
call fcn.01062b26
mov edi, eax
test edi, edi
jne 0x106344a
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push 0x100f548
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
pop ecx
pop ecx
push 1
call dword [sym.imp.msvcrt.dll_exit]
push dword [ebp + 0x10]
add dword [ebx + 0x14], esi
add dword [ebx + 0x18], esi
add dword [edi + 0x18], esi
add dword [edi + 0x1c], esi
push edi
mov ecx, ebx
call fcn.01062b66
test eax, eax
je 0x10634a0
mov ecx, dword [eax + 8]
add dword [eax], esi
add dword [eax + 4], esi
add dword [ecx + 0xc], esi
mov ecx, dword [eax + 8]
add dword [ecx + 0x10], esi
mov eax, dword [eax + 8]
cmp byte [eax + 0x2c], 0
je 0x10634a0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.01062991
test eax, eax
je 0x10634a0
push dword [edi + 0x10]
mov ecx, ebx
push esi
push eax
call fcn.01062ab9
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x10634a7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov al, byte [ebp + 8]
mov byte [0x125174a], al
mov al, byte [ebp + 0xc]
mov byte [0x125174b], al
mov al, byte [ebp + 0x10]
mov byte [0x1251749], al
mov al, byte [ebp + 0x14]
xor ebx, ebx
mov byte [0x1251748], al
mov eax, dword [ebp + 0x18]
or esi, 0xffffffff
mov dword [0x124fe18], eax
mov dword [0x1250724], ebx
mov dword [0x125073c], ebx
mov dword [0x1250740], ebx
mov dword [0x1250744], ebx
mov dword [0x107c4b0], esi
mov dword [0x107c4b4], esi
mov dword [0x1251750], ebx
mov dword [0x1251754], ebx
mov dword [ecx + 0x30], ebx
mov dword [ecx + 0x34], ebx
xor eax, eax
cmp dword [0x1250738], ebx
mov ecx, 0x400
mov edi, 0x1250748
rep stosd dword es:[edi], eax
jne 0x1063581
mov edi, dword [sym.imp.msvcrt.dll_malloc]
push 0x4000
mov dword [0x1250738], 0x1000
call edi
mov dword [0x1250730], eax
mov eax, dword [0x1250738]
imul eax, eax, 0x34
push eax
call edi
cmp dword [0x1250730], ebx
pop ecx
pop ecx
mov dword [0x1250728], eax
je 0x1063564
cmp eax, ebx
jne 0x1063581
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push 0x100f5d0
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
pop ecx
pop ecx
push esi
call dword [sym.imp.msvcrt.dll_exit]
xor eax, eax
cmp dword [0x1250738], ebx
jbe 0x106359d
mov ecx, dword [0x1250730]
mov dword [ecx + eax*4], esi
inc eax
cmp eax, dword [0x1250738]
jb 0x106358b
mov eax, dword [0x1250730]
mov ecx, dword [ebp - 4]
mov dword [eax], ebx
mov eax, dword [0x1250728]
mov dword [eax + 0xc], ebx
mov edi, dword [0x1250728]
add edi, 0x14
mov esi, 0x100d210
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x100f5bc
push ebx
movsd dword es:[edi], dword [esi]
call fcn.01063263
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x1063e44
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov al, byte [ebx]
cmp al, 0x30
jl 0x1063e78
cmp al, 0x39
jg 0x1063e78
push 0x10
push 0
push ebx
call fcn.01063ce2
mov ecx, dword [esp + 0xc]
mov edx, eax
shr edx, 0x1d
and eax, 0x1fffffff
lea edx, [ecx + edx*4]
or dword [edx], eax
or dword [ecx + 0x20], eax
jmp 0x1063ef9
push esi
mov esi, dword [0x107d040]
push edi
xor edi, edi
test esi, esi
jbe 0x1063e9c
push dword [edi*8 + 0x107cfa8]
push ebx
call fcn.01063c75
test eax, eax
je 0x1063ee7
inc edi
cmp edi, esi
jb 0x1063e86
xor esi, esi
push dword [esi*8 + 0x107c874]
push ebx
call fcn.01063c75
test eax, eax
je 0x1063efd
inc esi
cmp esi, 0x22
jb 0x1063e9e
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov esi, dword [sym.imp.msvcrt.dll_fprintf]
push ebx
add eax, 0x40
push 0x10107a8
push eax
call esi
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push 0x1010760
push eax
call esi
add esp, 0x14
push 0xffffffffffffffff
call dword [sym.imp.msvcrt.dll_exit]
push dword [esp + 0x14]
push dword [edi*8 + 0x107cfac]
call fcn.01063d90
pop edi
pop esi
pop ebx
ret 8
mov edx, dword [esp + 0x14]
lea ecx, [esi*8 + 0x107c870]
mov eax, dword [ecx]
mov esi, eax
shr esi, 0x1d
mov edi, 0x1fffffff
and eax, edi
lea esi, [edx + esi*4]
or dword [esi], eax
mov eax, dword [ecx]
and eax, edi
or dword [edx + 0x20], eax
jmp 0x1063ef7

Function at 0x1064618
Capabilities:
Read file via mapping

Disassembly:
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov esi, dword [esp + 0x10]
mov dword [esi], eax
jne 0x1064648
push 0x1010a58
jmp 0x1064692
push edi
push edi
push edi
push 2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, edi
mov dword [esi + 4], eax
jne 0x106466b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1010a20
jmp 0x1064692
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov dword [esi + 8], eax
jne 0x10646a0
push dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esi]
call edi
push 0x10109f0
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
mov eax, 0xc0000001
jmp 0x10646a2
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x10648f4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
jne 0x1064942
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov esi, dword [sym.imp.msvcrt.dll_fprintf]
add eax, 0x40
push 0x1010dc0
push eax
call esi
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push 0x1010da0
push eax
call esi
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push 0x1010d70
push eax
call esi
add esp, 0x18
jmp 0x1064a16
mov ax, word [esi + 4]
cmp ax, 0x25
jne 0x1064a6b
cmp word [esi + 6], bx
ja 0x1064a6b
mov eax, dword [esi + 0x130]
sub eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x134]
sbb ecx, dword [esi + 0x7c]
push edi
push dword [esi + 0x8c]
push dword [esi + 0x88]
push ecx
push eax
call fcn.0105c660
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x6c]
sub eax, dword [esi + 0x68]
mov edi, edx
cdq
mov ecx, 0x400
idiv ecx
push dword [esi + 0x124]
push eax
movzx eax, word [esi + 6]
push ebx
push 0x25
push eax
push 0x25
push 0x1010d28
call fcn.010642c8
add esp, 0x1c
cmp dword [esi + 0x124], ebx
seta al
cmp al, bl
mov byte [0x125175d], al
je 0x10649d5
push dword [esi + 0x124]
push 0x1010ce0
call fcn.010642c8
pop ecx
pop ecx
cmp edi, ebx
ja 0x1064a4f
jb 0x10649e4
cmp dword [ebp - 8], 0x989680
jae 0x1064a1c
push edi
push dword [ebp - 8]
push 0x1010cc0
call fcn.010642c8
add esp, 0xc
pop edi
cmp byte [esi + 8], bl
je 0x1064a16
add esi, 9
push esi
push 0x1010c8c
call fcn.010642c8
push 0x1010c48
call fcn.010642c8
add esp, 0xc
pop esi
pop ebx
leave
ret 8
cmp edi, ebx
ja 0x1064a4f
jb 0x1064a2b
cmp dword [ebp - 8], 0x23c34600
jae 0x1064a4f
push edi
push dword [ebp - 8]
push ebx
push 0xf4240
push edi
push dword [ebp - 8]
call fcn.0105c660
push edx
push eax
push 0x1010c18
call fcn.010642c8
add esp, 0x14
jmp 0x10649f5
push edi
push dword [ebp - 8]
push ebx
push 0x3938700
push edi
push dword [ebp - 8]
call fcn.0105c660
push edx
push eax
push 0x1010bec
jmp 0x1064a45
movzx ecx, word [esi + 6]
push ecx
movzx eax, ax
push eax
push ebx
push 0x25
push 0x1010ba0
call fcn.010642c8
add esp, 0x14
cmp byte [ebp + 0xc], bl
je 0x10649f6
push 0xffffffffffffffff
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x1064a96
Capabilities:
Get system information on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov al, byte [ebp + 0x10]
mov byte [0x125178c], al
mov eax, dword [ebp + 8]
mov byte [0x125176e], 0
mov eax, dword [eax]
mov eax, dword [eax + 0xc8]
push esi
xor esi, esi
mov ecx, 0x80
mov dword [0x1252da0], eax
push edi
mov dword [0x1252da4], esi
mov eax, 0x12525a0
mov edx, ecx
mov dword [eax + 4], eax
mov dword [eax], eax
add eax, 8
dec edx
jne 0x1064ad1
mov eax, 0x1251da0
mov edx, 0x100
mov dword [eax + 4], eax
mov dword [eax], eax
add eax, 8
dec edx
jne 0x1064ae6
mov eax, 0x12529a0
mov dword [eax + 4], eax
mov dword [eax], eax
add eax, 8
dec ecx
jne 0x1064af6
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
shl eax, 2
push eax
call dword [sym.imp.msvcrt.dll_malloc]
mov edi, eax
cmp edi, esi
pop ecx
mov dword [0x1251784], edi
jne 0x1064b2c
mov eax, 0xc0000001
jmp 0x1064b99
mov ecx, dword [ebp - 0x10]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
cmp eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push ebx
mov ebx, 0x1005618
jne 0x1064b4d
push esi
push esi
push ebx
call edi
jmp 0x1064b59
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1064b50
sub eax, edx
mov esi, eax
test esi, esi
je 0x1064b8f
push esi
call dword [sym.imp.msvcrt.dll_malloc]
test eax, eax
pop ecx
mov dword [0x1252da4], eax
jne 0x1064b77
mov eax, 0xc0000001
jmp 0x1064b98
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x1064b85
push esi
push eax
push ebx
call edi
jmp 0x1064b8f
mov cl, byte [edx]
inc edx
mov byte [eax], cl
inc eax
test cl, cl
jne 0x1064b85
mov byte [0x125176e], 1
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 0xc