joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007ea29
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.1006d9e0
mov eax, dword [0x100d00b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.1007f4e5
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x1007ea6b
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x1007ebc7
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.1006d320
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x100ff9f8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.1008eebb
mov ecx, dword [esi*4 + 0x100ff9f8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x1007ebc0
cmp eax, dword [edi + ecx + 0x24]
jne 0x1007ebc0
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1007ebc0
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1008eebb
add esp, 0x14
test edx, edx
jl 0x1007ebc0
jg 0x1007eb36
test eax, eax
jb 0x1007ebc0
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x1007ebc0
jl 0x1007eb50
cmp dword [ebp - 0x1008], eax
ja 0x1007ebc0
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x1007eb6e
test ebx, ebx
je 0x1007eba7
cmp ecx, edi
jae 0x1007eba7
mov al, byte [ecx]
cmp al, 0xd
jne 0x1007eb88
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1007eb94
cmp byte [ecx + 1], 0xa
jne 0x1007eb94
inc ecx
jmp 0x1007eb94
movzx eax, al
movsx eax, byte [eax + 0x100d04d8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x1007eb6e
cmp edx, ebx
jne 0x1007eb6e
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x1007ebc5
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1006c2b1
leave
ret
Function at 0x1007fe17
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100d00b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x100af378
push esi
call fcn.100905ca
pop ecx
pop ecx
test eax, eax
jne 0x1007fe45
xor al, al
jmp 0x1007fec2
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.1007fb4e
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x1007fe7f
push dword [ebp - 0x210]
call fcn.100752f2
xor al, al
jmp 0x1007fec0
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1007fe85
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x1007fea5
push edx
call fcn.1007fd4d
pop ecx
test al, al
je 0x1007fe70
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1007feb3
mov bl, 1
push dword [ebp - 0x210]
call fcn.100752f2
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1006c2b1
leave
ret

Function at 0x1008c66e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100b0dfc
push 0x100b0df4
push 0x100b0dfc
push 0x1e
call fcn.1008c4db
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1008c6a2
push dword [ebp + 8]
mov ecx, esi
call dword [0x100a43d0]
call esi
jmp 0x1008c6a8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1008c6ec
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100b0e20
push 0x100b0e18
push 0x100b0e20
push 0x20
call fcn.1008c4db
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1008c723
push dword [ebp + 8]
mov ecx, esi
call dword [0x100a43d0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1008eb83
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1008e9f4

Function at 0x1008f465
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x100ff9f8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1008f4a5
cmp byte [ebx], 0xa
jne 0x1008f4a5
or byte [eax + edi + 0x28], 4
jmp 0x1008f4aa
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x1008f5a8
mov al, byte [edx]
cmp al, 0x1a
je 0x1008f58a
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x1008f4d9
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x1008f4fe
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x1008f508
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x1008f4bb
jmp 0x1008f5a8
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1008f585
cmp dword [ebp - 0xc], 0
je 0x1008f585
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x100ff9f8]
test byte [eax + edi + 0x28], 0x48
je 0x1008f55f
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x1008f54a
mov byte [esi], dl
jmp 0x1008f55b
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100ff9f8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1008f5a8
cmp byte [ebp - 1], 0xa
jne 0x1008f56e
cmp esi, ebx
jne 0x1008f56e
mov byte [esi], 0xa
jmp 0x1008f5a7
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1008eed9
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1008f5a8
mov byte [esi], 0xd
jmp 0x1008f5a7
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x100ff9f8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1008f5a4
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1008f5a8
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1008f5b1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x100ff9f8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1008f5f4
cmp word [esi], dx
jne 0x1008f5f4
or byte [edi + eax + 0x28], 4
jmp 0x1008f5f9
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x1008f74c
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x1008f72c
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x1008f63b
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1008f671
cmp eax, edx
jae 0x1008f67d
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x1008f613
jmp 0x1008f74c
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1008f728
cmp dword [ebp - 0x14], 0
je 0x1008f728
mov eax, dword [ebx*4 + 0x100ff9f8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x1008f700
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x1008f6c9
mov word [esi], cx
jmp 0x1008f6fc
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x100ff9f8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x100ff9f8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x100ff9f8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x1008f74c
pop ebx
cmp word [ebp - 4], bx
jne 0x1008f711
cmp esi, dword [ebp + 0xc]
jne 0x1008f711
mov word [esi], bx
jmp 0x1008f749
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1008eed9
add esp, 0x10
cmp word [ebp - 4], bx
je 0x1008f74c
push 0xd
jmp 0x1008f745
mov ecx, dword [ebx*4 + 0x100ff9f8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1008f743
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1008f74c
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10096343
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 0x100963e0
push ebx
push esi
call fcn.1009630c
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.1008cbc7
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1009638d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100963df
push edi
push eax
call fcn.1008560e
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100963ad
call fcn.10085935
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100963de
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1008cbc7
add esp, 0x20
test eax, eax
jne 0x100963cc
push edi
call fcn.10085935
jmp 0x100963d4
push ebx
call fcn.10085935
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 0x100963e3
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100963f4
pop esi
ret
push ebx
push edi
push esi
call fcn.1009630c
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1008560e
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1009641c
push ebx
push esi
push edi
call fcn.1006f4b0
add esp, 0xc
push 0
call fcn.10085935
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x10096b68
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1009668f
Function at 0x1009b27d
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.1009b1f9
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1009b3f5
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1009b3f5
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1009b3a4
jg 0x1009b2d6
test eax, eax
je 0x1009b39a
push 1
push 0x1000
call fcn.1008501d
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1009b2fc
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x1009b391
push 0x8000
push ebx
call fcn.1007f416
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 0x1009b328
jg 0x1009b323
cmp ecx, 0x1000
jb 0x1009b328
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1008e45a
add esp, 0x10
cmp eax, 0xffffffff
je 0x1009b36d
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 0x1009b323
jl 0x1009b354
test ecx, ecx
jne 0x1009b315
push dword [ebp - 0xc]
push ebx
call fcn.1007f416
push esi
call fcn.10085935
add esp, 0xc
xor edi, edi
jmp 0x1009b406
cmp byte [edi + 0x24], 0
je 0x1009b384
cmp dword [edi + 0x20], 5
jne 0x1009b384
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1009b38f
mov edi, dword [edi + 0x18]
jmp 0x1009b391
xor edi, edi
push esi
call fcn.10085935
pop ecx
jmp 0x1009b406
test ecx, ecx
jg 0x1009b366
jl 0x1009b3a4
test eax, eax
jae 0x1009b366
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1008eed9
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1009b3c7
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x1009b366
jmp 0x1009b3fe
push ebx
call fcn.100903c5
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1009b366
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 0x1009b406
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x1009b403
mov edi, dword [edi + 0x18]
jmp 0x1009b406
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1008eed9
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x425994
Capabilities:
Encode data using xor

Disassembly:
inc eax
jge 0x425923
mov eax, esi
adc dword [0x6c2118ec], 0xffffff98
pop esp
cmpsb byte [esi], byte es:[edi]
mov ebx, dword [edx + 0x59a8c71f]
test eax, 0xc6a0fffe
iretd
mov al, byte [0x9080cfc6]
das
in eax, dx
enter 0xffffffffffff8bf2, 0xffffffffffffffd8
mov edx, dword [esi - 0x75]
inc ebx
xor byte [eax - 0x2f], ch
add eax, 0x373bb7f6
mov bl, 0xdb
out dx, al
fucomi st(6)
cmp dword [edi - 0x1c], eax
xor ch, byte [edi + edi - 0x5f]
adc dl, byte [esi - 0x2d]
mov esp, dword [edi]
invalid
push ebx
xor al, 0xe8
cmp edx, dword [edi]
add byte [eax], al
mov ecx, esp
mov dword [eax + 0x70], ecx
loopne 0x42590c
add al, 0x51
in al, 0x3d
inc eax
lea edx, [esi - 0x37a64b9d]
ror dword [ebx - 0x4f17c7bd], cl
cmp ch, 0xff
pop esi
pop ebx
ret
jl 0x425952
mov ebp, 0x41c330ff
jne 0x42593b
push dword [eax]
ret
add edi, dword [esi]
cmp ch, cl
xor esi, dword [ebx - 0x2e]
daa
dec bl
or bl, dh
je 0x425997
xor bh, byte [ebp + 0x7a58b87]
adc dword [eax + eax + 0x28], eax
add eax, 0xc51c1fde
sal ah, 0x83
enter 0xffffffffffffb3d7, 0x22
test eax, 0x438b2c25
pop edi
mov eax, 0xb5af9082
retf 0xfbf2
Function at 0x83a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0083a1a8
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 0x83a07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x83a06a
add dl, dl
jne 0x83a089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x83a0dc
xor eax, eax
add dl, dl
jne 0x83a096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x83a17d
add dl, dl
jne 0x83a0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x83a0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x83a0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x83a0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x83a0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x83a075
mov eax, 1
add dl, dl
jne 0x83a0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x83a0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x83a0e1
sub eax, ebx
mov ebx, 1
jne 0x83a128
mov ecx, 1
add dl, dl
jne 0x83a10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x83a119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x83a105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x83a075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x83a13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x83a14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x83a136
cmp eax, 0x7d00
jae 0x83a16d
cmp eax, 0x500
jb 0x83a168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x83a075
cmp eax, 0x7f
ja 0x83a170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x83a075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x83a19e
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 0x83a075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4033d0
Capabilities:
Enumerate gui resources
Get hostname

Disassembly:
mov eax, 0x240c
call fcn.0040c3a0
mov eax, dword [0x2b9cbbc]
mov ecx, dword [0x2b9cb30]
shr eax, 3
test eax, eax
jbe 0x403502
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x403420
cmp dword [0x2b9cbbc], 0x959
jne 0x4034e4
push 0
lea eax, [esp + 0x1420]
push eax
push 0
push 0
push 0
push 0
call edi
push 0
lea ecx, [esp + 0x420]
push ecx
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_EnumCalendarInfoExW]
push 0
push 0
lea edx, [esp + 0xc24]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea eax, [esp + 0x1c20]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0x402d2c
push 0x402d3c
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [esp + 0x10]
push eax
call fcn.00403220
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403420
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x240c
ret
Function at 0x40901b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x444a00]
jne 0x409025
repz ret
jmp fcn.0040b2ec

Function at 0x40aa3e
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.00405d7d
and dword [ebp - 4], 0
cmp dword [0x445d88], 0
mov ebx, eax
jne 0x40aaef
push 0x402c0c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40aba0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402c00
push edi
call esi
test eax, eax
je 0x40aba0
push eax
call fcn.00405d0b
mov dword [esp], 0x402bf0
push edi
mov dword [0x445d88], eax
call esi
push eax
call fcn.00405d0b
mov dword [esp], 0x402bdc
push edi
mov dword [0x445d8c], eax
call esi
push eax
call fcn.00405d0b
mov dword [esp], 0x402bc0
push edi
mov dword [0x445d90], eax
call esi
push eax
call fcn.00405d0b
pop ecx
mov dword [0x445d98], eax
test eax, eax
je 0x40aaef
push 0x402ba8
push edi
call esi
push eax
call fcn.00405d0b
pop ecx
mov dword [0x445d94], eax
mov eax, dword [0x445d94]
cmp eax, ebx
je 0x40ab47
cmp dword [0x445d98], ebx
je 0x40ab47
push eax
call fcn.00405d86
push dword [0x445d98]
mov esi, eax
call fcn.00405d86
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40ab47
test edi, edi
je 0x40ab47
call esi
test eax, eax
je 0x40ab3e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40ab3e
test byte [ebp - 0xc], 1
jne 0x40ab47
or dword [ebp + 0x10], 0x200000
jmp 0x40ab80
mov eax, dword [0x445d8c]
cmp eax, ebx
je 0x40ab80
push eax
call fcn.00405d86
pop ecx
test eax, eax
je 0x40ab80
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40ab80
mov eax, dword [0x445d90]
cmp eax, ebx
je 0x40ab80
push eax
call fcn.00405d86
pop ecx
test eax, eax
je 0x40ab80
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x445d88]
call fcn.00405d86
pop ecx
test eax, eax
je 0x40aba0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40aba2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001129
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0
mov ebx, 0x104
call fcn.100035c0
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x10001188
push 0x37
push 0x40100dc
push 6
call fcn.10003272
add esp, 0xc
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10001198
push ebx
call fcn.1000326c
add esp, 4
mov eax, 0x100152a0
test eax, eax
je 0x100011b4
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.1000327e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x116fde33]
test ebx, ebx
je 0x100011c8
push ebx
call fcn.1000326c
add esp, 4
pop eax
mov dword [0x116fde33], eax
call fcn.1000135b
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100011ea
push ebx
call fcn.1000326c
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.1000208d
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100012ed
mov eax, 0x116b5fa8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
call fcn.10002e5d
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1000122b
push ebx
call fcn.1000326c
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
push dword [ebp - 0xc]
call fcn.10003199
mov dword [ebp - 0x10], esp
xor eax, eax
call dword [0x116fde37]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10001316
push 0x239
push 0x40100dc
push 6
call fcn.10003272
add esp, 0xc
call fcn.100031d2
jmp 0x10001320
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10001330
push ebx
call fcn.1000326c
add esp, 4
mov esp, ebp
pop ebp
ret