joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d1a0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
test esi, esi
push edi
mov ebx, ecx
je 0x1000d207
push esi
call fcn.1000d3b0
test eax, eax
je 0x1000d207
mov ebp, dword [esi + 0x14]
lea edi, [esi + 0x10]
push edi
push 4
push esi
push 0x1000cfd0
push 0
push 0
mov dword [esi + 8], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, 0xffffffff
mov dword [esi + 0xc], eax
je 0x1000d1f9
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x1000d211
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], 0xffffffff
push esi
mov ecx, ebx
mov dword [edi], 0
call fcn.1000d5a0
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret 4

Function at 0x1000d250
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push eax
call fcn.1000d620
mov edi, eax
test edi, edi
je 0x1000d30d
mov esi, dword [edi + 0xc]
mov ebx, dword [edi + 0x10]
cmp esi, 0xffffffff
je 0x1000d2fe
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x14], 0x103
jne 0x1000d2fe
test ebx, ebx
je 0x1000d2ee
push 0
push 0
push 0x464
push ebx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
je 0x1000d2d2
mov edx, dword [ebp + 0x1c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1000d30d
mov eax, dword [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x1000d2fe
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
mov ecx, dword [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x1000d2fe
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
push 0x103
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x1000d30d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x1002e050
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1002e234
pushal
mov esi, section.UPX1
lea edi, [esi - 0x29000]
push edi
jmp 0x1002e07a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1002e081
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1002e070
mov eax, 1
add ebx, ebx
jne 0x1002e093
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1002e0a4
jne 0x1002e0c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1002e0c3
dec eax
add ebx, ebx
jne 0x1002e0b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1002e088
add ebx, ebx
jne 0x1002e0bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1002e115
xor ecx, ecx
sub eax, 3
jb 0x1002e0db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1002e14a
sar eax, 1
mov ebp, eax
jmp 0x1002e0e6
add ebx, ebx
jne 0x1002e0e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1002e0b4
inc ecx
add ebx, ebx
jne 0x1002e0f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1002e0b4
add ebx, ebx
jne 0x1002e101
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1002e0f6
jne 0x1002e112
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002e0f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1002e134
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1002e126
jmp 0x1002e076
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1002e134
add edi, ecx
jmp 0x1002e076
pop esi
mov edi, esi
mov ecx, 0x63
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1002e152
cmp byte [edi], 3
jne 0x1002e152
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 0x1002e157
lea edi, [esi + 0x2c000]
mov eax, dword [edi]
or eax, eax
je 0x1002e1c6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2e130]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2e1b0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1002e184
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2e1b4]
or eax, eax
je 0x1002e1c0
mov dword [ebx], eax
add ebx, 4
jmp 0x1002e1a1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1002e1f7
cmp al, 0xef
ja 0x1002e1ea
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1002e1cc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1002e1d9
mov ebp, dword [esi + 0x2e1b8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x15f]
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 0x1002e22b
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x67d350
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe1000]
push edi
jmp 0x67d36a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x67d371
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x67d360
mov eax, 1
add ebx, ebx
jne 0x67d383
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x67d394
jne 0x67d3b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x67d3b3
dec eax
add ebx, ebx
jne 0x67d3a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x67d378
add ebx, ebx
jne 0x67d3af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x67d405
xor ecx, ecx
sub eax, 3
jb 0x67d3cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x67d43a
sar eax, 1
mov ebp, eax
jmp 0x67d3d6
add ebx, ebx
jne 0x67d3d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x67d3a4
inc ecx
add ebx, ebx
jne 0x67d3e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x67d3a4
add ebx, ebx
jne 0x67d3f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x67d3e6
jne 0x67d402
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x67d3e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x67d424
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x67d416
jmp 0x67d366
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x67d424
add edi, ecx
jmp 0x67d366
pop esi
mov edi, esi
mov ecx, 0x3f7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x67d442
cmp byte [edi], 7
jne 0x67d442
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 0x67d447
lea edi, [esi + 0x27a000]
mov eax, dword [edi]
or eax, eax
je 0x67d4bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2d8768]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2d8810]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x67d474
mov ecx, edi
jns 0x67d4a3
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 + 0x2d8818]
or eax, eax
je 0x67d4b9
mov dword [ebx], eax
add ebx, 4
jmp 0x67d491
call dword [esi + 0x2d8814]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x67d4f0
cmp al, 0xef
ja 0x67d4e3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x67d4c5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x67d4d2
mov ebp, dword [esi + 0x2d881c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x67d524
sub esp, 0xffffff80
jmp 0x401dfa
Function at 0x10002fea
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000302d
push 0x2b
push 0x403dd0d
push 6
call fcn.1000cc5e
add esp, 0xc
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x10014251]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.100012bb
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.1000dd40
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10003080
push ebx
call fcn.1000cc70
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100030b6
push 0xa8
push 0x403dd0d
push 6
call fcn.1000cc5e
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100030cd
mov eax, 0x10014248
jmp 0x100030ee
mov eax, dword [ebp - 8]
test eax, eax
je 0x100030e9
push eax
mov ebx, eax
call fcn.10001905
inc eax
push eax
call fcn.1000cc6a
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x100030ee
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100030ff
push ebx
call fcn.1000cc70
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x100031d3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 0
jne 0x10003221
mov dword [ebp - 4], esp
push 0
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 4], esp
je 0x10003217
push 0x43
push 0x403dfa7
push 6
call fcn.1000cc5e
add esp, 0xc
jmp 0x100032f7
push dword [ebp + 8]
call fcn.100032fd
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x10003271
mov dword [ebp - 4], esp
push 7
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 4], esp
je 0x10003267
push 0xbd
push 0x403dfa7
push 6
call fcn.1000cc5e
add esp, 0xc
jmp 0x100032f7
push dword [ebp + 8]
call fcn.1000333d
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x100032c1
mov dword [ebp - 4], esp
push 5
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 4], esp
je 0x100032b7
push 0x137
push 0x403dfa7
push 6
call fcn.1000cc5e
add esp, 0xc
jmp 0x100032f7
mov dword [ebp - 4], esp
push 4
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 4], esp
je 0x100032f2
push 0x16f
push 0x403dfa7
push 6
call fcn.1000cc5e
add esp, 0xc
jmp 0x100032f7
mov esp, ebp
pop ebp
ret 8
Function at 0x10005867
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.1000dfe0
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100058db
push 0x39
push 0x4012ab7
push 6
call fcn.1000cc5e
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10005951
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.1000dfe0
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000594e
push 0xda
push 0x4012ab7
push 6
call fcn.1000cc5e
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x10005959
mov esp, ebp
pop ebp
ret 8

Function at 0x1000c6ad
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push dword [ebp + 8]
call fcn.1000c80e
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0x40
push 0x1000
push dword [ebp - 4]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000c70a
push 0x4d
push 0x403de3b
push 6
call fcn.1000cc5e
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x1000c71c
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_SetHandleCount]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000c743
push 0x9c
push 0x403de3b
push 6
call fcn.1000cc5e
add esp, 0xc
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push dword [ebp - 0x10]
push dword [ebp - 8]
call fcn.1000c884
mov eax, dword [ebp - 8]
jmp 0x1000c75c
mov esp, ebp
pop ebp
ret 4
Function at 0x1000d960
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x20
push ebx
push esi
push edi
lea ecx, [esp + 0x18]
call fcn.1000ee90
lea eax, [esp + 0x10]
mov dword [esp + 0x18], 0x1001014c
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x1000da22
mov ecx, dword [esp + 0x10]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0xc], eax
jle 0x1000da1b
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ebx, [edi + 4]
mov ecx, dword [ebx]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
push 0
push 0x3a8
call ebp
mov esi, eax
test esi, esi
jle 0x1000da06
lea edx, [esi + 1]
push edx
call fcn.1000cf90
mov edi, eax
add esp, 4
test edi, edi
je 0x1000d9f8
mov eax, dword [ebx]
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push eax
push 0
push 0x3a8
call ebp
mov byte [eax + edi], 0
push edi
lea ecx, [esp + 0x20]
call fcn.1000f120
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x1000d9b2
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [esp + 0x34]
mov eax, dword [ebx]
test eax, eax
je 0x1000da35
push eax
call fcn.1000f2e0
add esp, 4
mov edi, dword [esp + 0x28]
shr edi, 2
shl edi, 2
lea ecx, [edi + 8]
push ecx
call fcn.1000cf90
mov dword [eax], 1
mov edx, dword [esp + 0x2c]
shr edx, 2
mov dword [eax + 4], edx
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
add esp, 4
neg esi
sbb esi, esi
and esi, ecx
mov ecx, edi
mov edx, ecx
lea edi, [eax + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
mov dword [ebx], eax
mov dword [esp + 0x18], 0x10010148
call fcn.1000f090
pop edi
pop esi
pop ebx
add esp, 0x20
ret

Function at 0x1000df10
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x1000df2e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x1000df23
pop esi
ret
Function at 0x7003197
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x70031a6
pop dword [ebp - 0x24]
mov eax, 0x9b932485
add eax, 0x6b6d0d21
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x16db0a0b
add dword [ebp - 0x34], 0x37773b40
mov dword [ebp - 0x30], 0xc2e2a145
sub dword [ebp - 0x30], 0x90af5500
mov dword [ebp - 0x2c], 0x9475610b
add dword [ebp - 0x2c], 0xb7d6e323
mov dword [ebp - 0x28], 0xb5699942
add dword [ebp - 0x28], 0x4a9666be
lea eax, [ebp - 0x34]
push eax
mov eax, 0xb06a585
add eax, 0xfbfa8aab
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x5cc1d53d
sub dword [ebp - 0x34], 0xe84f6be7
mov dword [ebp - 0x30], 0x884df0b6
add dword [ebp - 0x30], 0xb91e70bf
mov dword [ebp - 0x2c], 0x90f4b09d
add dword [ebp - 0x2c], 0xd27abbcf
mov dword [ebp - 0x28], 0x4dc7d7f4
add dword [ebp - 0x28], 0xb238280c
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0xa08a70c
add eax, 0xfcf88928
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x4047f
push 0
call eax
mov ecx, 0xc25f3137
add ecx, 0x3da12d7a
xor edx, edx
add edx, eax
mov ebx, 0x910de877
sub ebx, 0x8a0be677
add ebx, dword [ebp - 0x24]
mov esi, 0x1b66936c
add esi, 0x1e8b96bd
sub dword [ebp - 0x20], 0x55fbe993
mov edi, dword [ebx]
sub dword [ebp - 0x14], edx
sub edi, esi
sub dword [ebp - 0x20], 0x7d0280eb
mov dword [edx], edi
xor dword [ebp - 0x10], 0xddf02617
add edx, 4
add ebx, 4
loop 0x70032ca
add eax, 0x4d2a4b97
sub eax, 0x4d28de00
mov ebx, eax
add eax, 5
mov ecx, 0xb8949699
add ecx, 0x4e6b6967
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x700d29f
Capabilities:
Set current directory

Disassembly:
push 8
mov eax, 0x70120f1
call fcn.07001cf8
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0700d491
xor ebx, ebx
mov dword [edi], vtable.FileSharedStream.0
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0700dd8a
lea ecx, [ebp - 0x10]
call fcn.0700d23c
mov eax, dword [edi + 0x14]
mov byte [ebp - 4], 2
push dword [eax + 0x14]
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x700d30c
mov eax, dword [eax + 0x14]
jmp 0x700d311
mov eax, 0x70138c2
push 0x7015240
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov dword [edi + 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x700d343
mov ecx, dword [edi + 4]
call fcn.070076d1
lea ecx, [ebp - 0x10]
mov dword [edi + 8], eax
call fcn.07003197
mov eax, edi
call fcn.07001ea7
ret 4
push str.file_does_not_exist
push ebx
call fcn.07003197
int3
Function at 0x10bac058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x10bac1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10bac07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10bac06a
add dl, dl
jne 0x10bac089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10bac0dc
xor eax, eax
add dl, dl
jne 0x10bac096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10bac17d
add dl, dl
jne 0x10bac0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10bac0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10bac0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10bac0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10bac0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10bac075
mov eax, 1
add dl, dl
jne 0x10bac0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10bac0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10bac0e1
sub eax, ebx
mov ebx, 1
jne 0x10bac128
mov ecx, 1
add dl, dl
jne 0x10bac10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10bac119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10bac105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10bac075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10bac13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10bac14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10bac136
cmp eax, 0x7d00
jae 0x10bac16d
cmp eax, 0x500
jb 0x10bac168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10bac075
cmp eax, 0x7f
ja 0x10bac170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10bac075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10bac19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10bac075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x100211c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100432e0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10056018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x1005777c]
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
test eax, eax
jne 0x10021249
lea ecx, [ebp - 0x28]
call fcn.1002abe0
push eax
mov dword [ebp - 4], 0
call fcn.10019710
mov ecx, eax
call fcn.1002abe0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0x10
mov dword [0x1005777c], eax
jb 0x10021237
push dword [ebp - 0x28]
call edi
mov eax, dword [0x1005777c]
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.1002abe0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete bl
cmp dword [ebp - 0x2c], 8
jb 0x10021279
push dword [ebp - 0x40]
call edi
add esp, 4
test bl, bl
jne 0x100212a6
mov eax, dword [0x10057778]
test eax, eax
jne 0x10021331
push dword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.10019710
mov ecx, eax
call fcn.1002abe0
mov dword [0x10057778], eax
jmp 0x10021331
mov edx, esi
lea ecx, [ebp - 0x58]
call fcn.1002abe0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x48], 0
mov esi, dword [0x10057778]
je 0x10021303
test esi, esi
jne 0x10021321
call fcn.1002abe0
mov byte [ebp - 0x5c], al
mov eax, dword [0x10057774]
test eax, eax
jne 0x100212f1
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10019710
mov ecx, eax
call fcn.1002abe0
mov dword [0x10057774], eax
add eax, 8
push eax
call fcn.10019710
mov ecx, eax
call fcn.1002abe0
jmp 0x10021319
test esi, esi
jne 0x10021321
push dword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.10019710
mov ecx, eax
call fcn.1002abe0
mov esi, eax
mov dword [0x10057778], esi
cmp dword [ebp - 0x44], 0x10
jb 0x1002132f
push dword [ebp - 0x58]
call edi
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003fc71
mov esp, ebp
pop ebp
ret