joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484f10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4f000]
push edi
jmp 0x484f2a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x484f31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x484f20
mov eax, 1
add ebx, ebx
jne 0x484f43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x484f54
jne 0x484f73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x484f73
dec eax
add ebx, ebx
jne 0x484f60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x484f38
add ebx, ebx
jne 0x484f6f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x484fc5
xor ecx, ecx
sub eax, 3
jb 0x484f8b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x484ffa
sar eax, 1
mov ebp, eax
jmp 0x484f96
add ebx, ebx
jne 0x484f96
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x484f64
inc ecx
add ebx, ebx
jne 0x484fa4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x484f64
add ebx, ebx
jne 0x484fb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x484fa6
jne 0x484fc2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x484fa6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x484fe4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x484fd6
jmp 0x484f26
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x484fe4
add edi, ecx
jmp 0x484f26
pop esi
mov edi, esi
mov ecx, 0x3579
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x485002
cmp byte [edi], 0x1b
jne 0x485002
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x485007
lea edi, [esi + 0x81000]
mov eax, dword [edi]
or eax, eax
je 0x48507f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x89b44]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x89c0c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x485034
mov ecx, edi
jns 0x485063
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x89c10]
or eax, eax
je 0x485079
mov dword [ebx], eax
add ebx, 4
jmp 0x485051
call dword [esi + 0x89c20]
mov ebp, dword [esi + 0x89c14]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4850b3
sub esp, 0xffffff80
jmp 0x44294b
Function at 0x10001700
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
lea esi, [edx + eax]
cmp edx, 4
jb 0x10001748
push ebx
push edi
mov edi, edx
shr edi, 2
jmp 0x10001720
mov eax, dword [ecx]
imul esi, esi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
mov ebx, eax
shr ebx, 0x18
xor ebx, eax
imul ebx, ebx, 0x5bd1e995
xor esi, ebx
sub edx, 4
add ecx, 4
dec edi
jne 0x10001720
pop edi
pop ebx
dec edx
je 0x10001763
dec edx
je 0x1000175a
dec edx
jne 0x1000176e
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor esi, edx
movzx eax, byte [ecx + 1]
shl eax, 8
xor esi, eax
movzx ecx, byte [ecx]
xor esi, ecx
imul esi, esi, 0x5bd1e995
mov ecx, esi
shr ecx, 0xd
xor ecx, esi
imul ecx, ecx, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop ebp
ret 4

Function at 0x10001960
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
cld
xor edx, edx
mov edx, dword fs:[0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x10001988
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x1000197f
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x10001977
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
mov dword [0x10007a20], eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10001a30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x3c]
push edi
mov edi, dword [eax + esi + 0x78]
add edi, esi
xor ebx, ebx
mov dword [ebp - 4], ecx
cmp dword [edi + 0x18], ebx
jbe 0x10001aa2
nop
push 0x3f
lea ecx, [ebp - 0x43]
push 0
push ecx
mov byte [ebp - 0x44], 0
call sub.MSVCRT.dll_memset
mov eax, dword [edi + 0x20]
lea edx, [esi + ebx*4]
mov edx, dword [edx + eax]
add esp, 0xc
add edx, esi
lea ecx, [ebp - 0x44]
call fcn.100029a0
lea ecx, [ebp - 0x44]
call fcn.10002970
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 0x44]
call fcn.10002990
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.10001700
cmp eax, dword [ebp + 0xc]
je 0x10001aad
inc ebx
cmp ebx, dword [edi + 0x18]
jb 0x10001a50
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 0x24]
lea ecx, [eax + ebx*2]
movzx edx, word [ecx + esi]
mov eax, dword [edi + 0x1c]
lea ecx, [eax + edx*4]
mov eax, dword [ecx + esi]
pop edi
add eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10004030
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, 0x5a4d
mov dword [ebp - 4], ecx
cmp word [ecx], ax
je 0x10004049
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ecx + 0x3c]
add ebx, ecx
cmp dword [ebx], 0x4550
je 0x1000405e
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x50]
mov edx, dword [ebx + 0x34]
push edi
push 4
push 0x2000
push ecx
push edx
call dword [0x10007a80]
mov edi, eax
test edi, edi
jne 0x10004098
mov eax, dword [ebx + 0x50]
push 4
push 0x2000
push eax
push edi
call dword [0x10007a80]
mov edi, eax
test edi, edi
jne 0x10004098
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0x14
push 0
call dword [0x10007af8]
push eax
call dword [0x10007bc0]
mov esi, eax
push 0x1000
push 0
mov dword [esi + 4], edi
mov dword [esi + 0xc], 0
call dword [0x10007af8]
push eax
call dword [0x10007bc0]
push 4
mov dword [esi + 8], eax
mov dword [esi + 0x10], 0
mov ecx, dword [ebx + 0x50]
push 0x1000
push ecx
push edi
call dword [0x10007a80]
mov edx, dword [ebx + 0x54]
push 4
push 0x1000
push edx
push edi
call dword [0x10007a80]
mov ecx, dword [ebx + 0x54]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
push ecx
mov ecx, eax
call fcn.100026d0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
add eax, dword [ecx + 0x3c]
push esi
push ebx
mov dword [esi], eax
push ecx
mov dword [eax + 0x34], edi
call fcn.10003bc0
mov eax, edi
sub eax, dword [ebx + 0x34]
je 0x10004131
push eax
mov eax, esi
call fcn.10003d40
push esi
call fcn.10003dd0
test eax, eax
je 0x10004159
push esi
call fcn.10003c70
mov ecx, dword [esi]
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x10004170
add eax, edi
je 0x10004159
push 0
push 1
push edi
call eax
test eax, eax
jne 0x10004169
mov ecx, esi
call fcn.10003fb0
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x10], 1
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402cf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x449823
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4537c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00402bb0
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], ebx
call fcn.00417ed0
lea ecx, [esi + 0x1e58]
mov byte [esp + 0x18], 1
call fcn.0042c470
mov eax, dword [esp + 0x20]
mov dword [esi + 0x28], eax
mov byte [esi + 0x1e54], bl
mov byte [esi + 0x1e55], bl
mov dword [esi + 0x1e40], ebx
mov dword [esi + 0x1e48], ebx
mov dword [esi + 0x1e4c], ebx
mov dword [esi + 0x1e50], ebx
mov dword [esi + 0x1eb4], esi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x40f620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44a058
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4537c0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esi + 0x1e5c]
mov dword [esp + 0x14], 0
test eax, eax
je 0x40f663
push eax
call fcn.0043e2ad
add esp, 4
lea ecx, [esi + 0x30]
call fcn.00417d60
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004025f0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4129f0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x459314], 0
jne 0x4129fe
call fcn.00412960
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x412a2d
test dl, 7
je 0x412a2d
movzx ecx, byte [edx]
movzx edi, al
xor ecx, edi
shr eax, 8
xor eax, dword [ecx*4 + 0x459310]
dec esi
inc edx
test esi, esi
ja 0x412a10
cmp esi, 8
jb 0x412abc
mov edi, esi
shr edi, 3
jmp 0x412a40
xor eax, dword [edx]
add edx, 8
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x459310]
sub esi, 8
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x459310]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x459310]
mov ecx, eax
movzx eax, cl
mov eax, dword [eax*4 + 0x459310]
xor eax, dword [edx - 4]
shr ecx, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x459310]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x459310]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x459310]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x459310]
sub edi, 1
jne 0x412a40
xor ecx, ecx
test esi, esi
jbe 0x412adc
push ebx
movzx edi, byte [ecx + edx]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x459310]
inc ecx
cmp ecx, esi
jb 0x412ac3
pop ebx
pop edi
pop esi
ret 0xc

Function at 0x412b70
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov eax, dword [esp + 4]
inc eax
mov edx, 4
push esi
jmp 0x412b80
movzx esi, byte [eax - 1]
mov esi, dword [esi*4 + 0x459310]
xor dword [ecx + 0x204], esi
movzx esi, byte [eax]
mov esi, dword [esi*4 + 0x459310]
xor dword [ecx + 0x208], esi
movzx esi, byte [eax + 1]
mov esi, dword [esi*4 + 0x459310]
xor dword [ecx + 0x20c], esi
movzx esi, byte [eax + 2]
mov esi, dword [esi*4 + 0x459310]
xor dword [ecx + 0x210], esi
add eax, 4
sub edx, 1
jne 0x412b80
pop esi
ret 4
Function at 0x412bd0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov eax, edi
mov esi, ecx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412be0
sub eax, edx
push eax
push edi
push 0xffffffffffffffff
call fcn.004129f0
mov word [esi + 0x214], ax
shr eax, 0x10
xor ecx, ecx
mov word [esi + 0x216], ax
xor eax, eax
mov word [esi + 0x21a], ax
mov word [esi + 0x218], cx
mov byte [esi + 0x21e], cl
mov byte [esi + 0x21d], cl
mov byte [esi + 0x21c], cl
mov al, byte [edi]
test al, al
je 0x412c86
lea ecx, [ecx]
add byte [esi + 0x21c], al
xor byte [esi + 0x21d], al
mov dl, byte [esi + 0x21e]
add dl, al
rol dl, 1
movzx ecx, al
mov byte [esi + 0x21e], dl
mov dx, word [ecx*4 + 0x459310]
xor dx, word [esi + 0x218]
movzx ax, al
xor dx, ax
mov word [esi + 0x218], dx
mov cx, word [ecx*4 + 0x459312]
add cx, ax
add word [esi + 0x21a], cx
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x412c30
pop edi
pop esi
ret 4

Function at 0x412d70
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
mov eax, ecx
test edi, edi
je 0x412e2a
push ebx
push esi
mov esi, dword [esp + 0x10]
jmp 0x412d90
mov ecx, 0x1234
add word [eax + 0x214], cx
movzx ecx, word [eax + 0x214]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [edx*4 + 0x459310]
xor word [eax + 0x216], dx
mov bx, word [eax + 0x21a]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [edx*4 + 0x459312]
sub word [eax + 0x218], dx
movzx edx, word [eax + 0x218]
xor edx, ecx
mov word [eax + 0x214], dx
mov edx, 1
mov ecx, edx
dec edi
ror bx, cl
inc esi
xor bx, word [eax + 0x216]
ror bx, cl
movzx ecx, bx
xor word [eax + 0x214], cx
mov word [eax + 0x21a], cx
movzx ecx, word [eax + 0x214]
shr ecx, 8
xor byte [esi - 1], cl
test edi, edi
jne 0x412d90
pop esi
pop ebx
pop edi
ret 8
Function at 0x413e90
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
push edi
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
cmp eax, edx
jbe 0x413ef8
mov ebx, dword [esp + 0x14]
mov ecx, 1
cmp edx, ecx
jb 0x413ed4
mov edx, edi
sub edx, esi
lea eax, [esi + 4]
sub ebx, esi
lea ebx, [ebx]
mov ebp, dword [edx + eax]
xor ebp, dword [eax]
inc ecx
mov dword [ebx + eax], ebp
add eax, 4
cmp ecx, dword [esi]
jbe 0x413ec0
mov ebx, dword [esp + 0x14]
mov eax, dword [edi]
sub eax, dword [esi]
lea edx, [edi + ecx*4]
add eax, eax
add eax, eax
push eax
push edx
lea eax, [ebx + ecx*4]
push eax
call fcn.0043e700
mov ecx, dword [edi]
add esp, 0xc
pop edi
pop esi
pop ebp
mov dword [ebx], ecx
pop ebx
ret 0xc
jae 0x413f48
mov ebx, dword [esp + 0x14]
mov ecx, 1
cmp eax, ecx
jb 0x413f24
mov edx, edi
sub edx, esi
lea eax, [esi + 4]
sub ebx, esi
mov ebp, dword [eax + edx]
xor ebp, dword [eax]
inc ecx
mov dword [eax + ebx], ebp
add eax, 4
cmp ecx, dword [edi]
jbe 0x413f10
mov ebx, dword [esp + 0x14]
mov edx, dword [esi]
sub edx, dword [edi]
lea eax, [esi + ecx*4]
add edx, edx
add edx, edx
push edx
push eax
lea ecx, [ebx + ecx*4]
push ecx
call fcn.0043e700
mov edx, dword [esi]
add esp, 0xc
pop edi
pop esi
pop ebp
mov dword [ebx], edx
pop ebx
ret 0xc
test eax, eax
jbe 0x413f62
mov edx, edi
lea ecx, [esi + eax*4]
sub edx, esi
mov ebx, dword [ecx + edx]
xor ebx, dword [ecx]
jne 0x413f62
dec eax
sub ecx, 4
test eax, eax
ja 0x413f53
mov edx, dword [esp + 0x14]
mov dword [edx], eax
test eax, eax
jbe 0x413f83
sub edi, esi
lea ecx, [esi + eax*4]
sub edx, esi
mov esi, dword [ecx + edi]
xor esi, dword [ecx]
dec eax
mov dword [ecx + edx], esi
sub ecx, 4
test eax, eax
ja 0x413f73
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x413f90
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x4c
push ebp
push esi
mov esi, dword [esp + 0x5c]
cmp dword [esi], 0
je 0x4140ba
mov ebp, dword [esp + 0x60]
mov eax, dword [ebp]
test eax, eax
je 0x4140ba
mov ecx, ebp
lea edx, [esp + 8]
sub ecx, edx
push edi
lea ebx, [ebx]
mov edi, dword [0x4599c4]
lea edx, [ecx + eax*4]
sub eax, 1
mov edx, dword [esp + edx + 0xc]
mov edx, dword [edi + edx*4]
mov dword [esp + eax*4 + 0x10], edx
jne 0x413fc0
mov edi, dword [esp + 0x5c]
push ebx
push 0x90
push eax
push edi
call fcn.0043ea70
mov ebx, dword [esi]
add esp, 0xc
test ebx, ebx
je 0x414067
mov ebp, dword [0x4599c0]
lea esp, [esp]
mov eax, dword [esi + ebx*4]
mov ecx, dword [0x4599c4]
mov esi, dword [ecx + eax*4]
cmp esi, 0x7fff
je 0x41405a
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
test eax, eax
je 0x41405a
lea ecx, [ebx + eax]
lea edx, [edi + ecx*4 - 4]
jmp 0x414030
mov ecx, dword [esp + eax*4 + 0x10]
cmp ecx, 0x7fff
je 0x414052
add ecx, esi
cmp ecx, 0x7fff
jb 0x41404c
add ecx, 0xffff8001
mov ecx, dword [ebp + ecx*4]
xor dword [edx], ecx
dec eax
sub edx, 4
test eax, eax
jne 0x414030
sub ebx, 1
mov esi, dword [esp + 0x64]
jne 0x414000
mov ebp, dword [esp + 0x68]
mov edx, dword [esi]
mov eax, dword [ebp]
lea ecx, [edx + eax - 1]
cmp ecx, 0x11
mov dword [edi], ecx
pop ebx
jle 0x414097
lea eax, [edi + ecx*4 - 0x38]
lea edx, [ecx - 0x11]
nop
mov ecx, dword [eax + 0x38]
xor dword [eax - 0xc], ecx
xor dword [eax], ecx
mov dword [eax + 0x38], 0
sub eax, 4
sub edx, 1
jne 0x414080
cmp dword [edi], 0x11
jbe 0x4140b1
mov dword [edi], 0x11
mov eax, dword [edi]
cmp dword [edi + eax*4], 0
jne 0x4140b1
dec eax
mov dword [edi], eax
test eax, eax
jne 0x4140a2
pop edi
pop esi
pop ebp
add esp, 0x4c
ret 0xc
mov ecx, dword [esp + 0x58]
pop esi
mov dword [ecx], 0
pop ebp
add esp, 0x4c
ret 0xc
Function at 0x4140d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
xor ebp, ebp
cmp eax, ebp
je 0x4141b5
mov ecx, dword [edi + eax*4]
push ebx
mov ebx, dword [0x4599c4]
mov ecx, dword [ebx + ecx*4]
push esi
cmp ecx, 0x7fff
je 0x41411b
add ecx, ecx
cmp ecx, 0x7fff
jb 0x414108
add ecx, 0xffff8001
mov edx, dword [0x4599c0]
mov ecx, dword [edx + ecx*4]
mov esi, dword [esp + 0x14]
mov dword [esi + eax*8 - 4], ecx
jmp 0x414123
mov esi, dword [esp + 0x14]
mov dword [esi + eax*8 - 4], ebp
mov ecx, dword [edi]
sub ecx, 1
je 0x414168
lea edx, [esi + ecx*8 - 4]
mov edi, edi
mov dword [edx + 4], ebp
mov eax, dword [edi + ecx*4]
mov eax, dword [ebx + eax*4]
cmp eax, 0x7fff
je 0x41415e
add eax, eax
cmp eax, 0x7fff
jb 0x41414e
add eax, 0xffff8001
mov ebp, dword [0x4599c0]
mov eax, dword [ebp + eax*4]
mov dword [edx], eax
xor ebp, ebp
jmp 0x414160
mov dword [edx], ebp
dec ecx
sub edx, 8
cmp ecx, ebp
jne 0x414130
mov eax, dword [edi]
lea ecx, [eax + eax - 1]
cmp ecx, 0x11
mov dword [esi], ecx
jle 0x414193
lea eax, [esi + ecx*4 - 0x38]
lea edx, [ecx - 0x11]
lea esp, [esp]
mov ecx, dword [eax + 0x38]
xor dword [eax - 0xc], ecx
xor dword [eax], ecx
mov dword [eax + 0x38], ebp
sub eax, 4
sub edx, 1
jne 0x414180
cmp dword [esi], 0x11
jbe 0x4141ae
mov dword [esi], 0x11
mov edi, edi
mov eax, dword [esi]
cmp dword [esi + eax*4], ebp
jne 0x4141ae
dec eax
mov dword [esi], eax
cmp eax, ebp
jne 0x4141a0
pop esi
pop ebx
pop edi
pop ebp
ret 8
mov ecx, dword [esp + 0xc]
pop edi
mov dword [ecx], ebp
pop ebp
ret 8
Function at 0x4162f0
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
cmp edi, 0xff
jne 0x416306
cmp byte [esi + 8], 0
je 0x41635e
mov eax, edi
sub eax, 1
je 0x416319
sub eax, 1
je 0x416344
sub eax, 0xfd
jne 0x416322
cmp dword [0x45d404], 0
jne 0x416328
mov dword [0x45d404], edi
inc dword [0x45d408]
call fcn.0041aa60
cmp byte [esi + 0xa], 0
je 0x41633e
call fcn.00435b60
push edi
call fcn.0043ff49
mov eax, dword [0x45d404]
test eax, eax
je 0x416352
cmp eax, 1
jne 0x416328
mov dword [0x45d404], 2
jmp 0x416328
pop edi
pop esi
ret 4

Function at 0x416450
Capabilities:
Terminate process

Disassembly:
cmp byte [0x4599cc], 0
push esi
mov esi, ecx
jne 0x41647e
mov eax, dword [esp + 8]
push eax
push 0xce4
call fcn.004308b0
push eax
push 0
push esi
call fcn.004161b0
add esp, 0x10
mov ecx, esi
call fcn.00416370
mov eax, dword [0x45d404]
test eax, eax
je 0x41648c
cmp eax, 1
jne 0x416496
mov dword [0x45d404], 2
inc dword [0x45d408]
call fcn.0041aa60
cmp byte [esi + 0xa], 0
pop esi
je 0x4164ad
call fcn.00435b60
push 2
call fcn.0043ff49
int3

Function at 0x416510
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
call fcn.00416370
mov eax, dword [esp + 8]
push eax
push 0xe5a
call fcn.004308b0
push eax
push 0
push esi
call fcn.004161b0
inc dword [0x45d408]
add esp, 0x10
mov dword [0x45d404], 5
call fcn.0041aa60
cmp byte [esi + 0xa], 0
pop esi
je 0x416554
call fcn.00435b60
push 5
call fcn.0043ff49
int3

Function at 0x4165d0
Capabilities:
Terminate process

Disassembly:
cmp byte [0x4599cc], 0
push esi
mov esi, ecx
jne 0x4165fe
mov eax, dword [esp + 8]
push eax
push 0xce2
call fcn.004308b0
push eax
push 0
push esi
call fcn.004161b0
add esp, 0x10
mov ecx, esi
call fcn.00416370
mov eax, dword [0x45d404]
test eax, eax
je 0x41660c
cmp eax, 1
jne 0x416616
mov dword [0x45d404], 2
inc dword [0x45d408]
call fcn.0041aa60
cmp byte [esi + 0xa], 0
pop esi
je 0x41662d
call fcn.00435b60
push 2
call fcn.0043ff49
int3
Function at 0x4166c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x404
mov eax, dword [0x4537c0]
xor eax, esp
mov dword [esp + 0x400], eax
push ebx
mov ebx, dword [esp + 0x40c]
push ebp
push esi
push edi
mov edi, dword [esp + 0x41c]
mov ebp, ecx
test ebx, ebx
je 0x4166f5
cmp byte [ebx], 0
je 0x4166f5
mov esi, ebx
jmp 0x4166f7
xor esi, esi
push edi
push 0xd0c
call fcn.004308b0
push eax
push esi
call fcn.004128f0
add esp, 0xc
call fcn.00411f60
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x41678d
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416721
sub eax, edx
push edi
mov esi, eax
call fcn.00428130
test al, al
jne 0x41675d
lea eax, [esp + 0x10]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0x10]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416750
sub eax, edx
lea esi, [esi + eax + 1]
cmp esi, 0x104
jbe 0x41678d
test ebx, ebx
je 0x416772
cmp byte [ebx], 0
je 0x416772
mov esi, ebx
jmp 0x416774
xor esi, esi
push 0x104
push 0xe6e
call fcn.004308b0
push eax
push esi
call fcn.004128f0
add esp, 0xc
mov ecx, ebp
call fcn.00416370
mov ecx, dword [esp + 0x410]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043e556
add esp, 0x404
ret 8

Function at 0x4167d0
Capabilities:
Terminate process

Disassembly:
push esi
push 0xce6
mov esi, ecx
call fcn.004308b0
push eax
push 0
push esi
call fcn.004161b0
inc dword [0x45d408]
add esp, 0xc
mov dword [0x45d404], 8
call fcn.0041aa60
cmp byte [esi + 0xa], 0
pop esi
je 0x41680a
call fcn.00435b60
push 8
call fcn.0043ff49
int3

Function at 0x416820
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
push 0xce0
mov esi, ecx
call fcn.004308b0
push eax
push 0
push esi
call fcn.004161b0
add esp, 0x10
mov ecx, esi
call fcn.00416370
mov eax, dword [0x45d404]
test eax, eax
je 0x416853
cmp eax, 1
jne 0x41685d
mov dword [0x45d404], 2
inc dword [0x45d408]
call fcn.0041aa60
cmp byte [esi + 0xa], 0
pop esi
je 0x416874
call fcn.00435b60
push 2
call fcn.0043ff49
int3

Function at 0x416880
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 8]
push esi
push eax
push 0xcde
mov esi, ecx
call fcn.004308b0
mov ecx, dword [esp + 0xc]
push eax
push ecx
push esi
call fcn.004161b0
add esp, 0x10
mov ecx, esi
call fcn.00416370
inc dword [0x45d408]
mov dword [0x45d404], 5
call fcn.0041aa60
cmp byte [esi + 0xa], 0
pop esi
je 0x4168c9
call fcn.00435b60
push 5
call fcn.0043ff49
int3

Function at 0x416920
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
push 0xd0e
mov esi, ecx
call fcn.004308b0
push eax
push 0
call fcn.004128f0
add esp, 0xc
call fcn.00411f60
mov ecx, esi
call fcn.00416370
inc dword [0x45d408]
mov dword [0x45d404], 6
call fcn.0041aa60
cmp byte [esi + 0xa], 0
pop esi
je 0x41696a
call fcn.00435b60
push 6
call fcn.0043ff49
int3