joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ca170
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x100ed984
call fcn.10001e5b
mov esi, dword [ebp + 8]
cmp esi, dword [0x1013dc94]
jne 0x100ca18e
xor eax, eax
jmp 0x100ca2f1
and dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], ecx
xor ebx, ebx
or edi, 0xffffffff
test ebx, ebx
jne 0x100ca1b1
cmp dword [0x10104730], ebx
je 0x100ca2b2
push 2
pop edi
jmp 0x100ca1cb
cmp ebx, 1
jne 0x100ca2b2
mov eax, esi
call fcn.100ca14e
test al, al
je 0x100ca2b2
xor edi, edi
and dword [ebp - 0x10], 0
lea ecx, [ebp + 0xb]
mov dword [ebp - 0x20], edi
call fcn.1002bd7b
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
push eax
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
or eax, edi
jmp 0x100ca276
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x100ca1ff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x18], 2
mov edi, eax
jae 0x100ca22b
cmp dword [ebp - 0x1c], 1
je 0x100ca228
cmp dword [ebp - 0x1c], 2
jne 0x100ca22b
push 2
pop edi
mov eax, edi
call fcn.100ca07d
test eax, eax
je 0x100ca292
push 0x1c0496
xor edi, edi
push edi
call fcn.100ba122
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
push dword [ebp - 0x10]
and eax, 0xf
imul eax, eax, 0xc
mov ecx, 0x10104738
mov dword [eax + 0x101035c8], edi
call fcn.100c99fb
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
push edi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [esi + 8]
call fcn.1002bd9c
mov edi, eax
test edi, edi
jne 0x100ca2a3
jmp 0x100ca1f3
push dword [ebp - 0x10]
mov ecx, 0x10104738
call fcn.100039ff
test edi, edi
je 0x100ca2bd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xb]
call fcn.1002c54f
mov ecx, dword [ebp - 0x18]
inc ebx
cmp ebx, 2
jge 0x100ca2cc
jmp 0x100ca199
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xb]
call fcn.1002c54f
mov ecx, dword [ebp - 0x18]
test edi, edi
jne 0x100ca2e7
cmp dword [ebp - 0x1c], 2
je 0x100ca2df
mov al, byte [esi + 0xc]
and al, 0xf
cmp al, 2
jne 0x100ca2ef
push ecx
call fcn.100c93e7
jmp 0x100ca2ed
push esi
call fcn.100c8bc8
mov ecx, eax
mov eax, ecx
call fcn.10001e90
ret 4
Function at 0x409e0c
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.00403520
mov eax, dword [ebp - 0x18]
call fcn.00403520
mov eax, dword [ebp - 0x1c]
call fcn.00403520
xor eax, eax
push ebp
push 0x409f10
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov eax, dword [ebp - 0x14]
call fcn.00403530
push eax
mov eax, dword [ebp - 0x18]
call fcn.00403530
mov edx, eax
mov eax, dword [0x40c650]
pop ecx
call fcn.00409d94
pop ecx
test al, al
je 0x409ef5
mov eax, dword [ebp - 0x1c]
call fcn.004048ec
test al, al
je 0x409e86
mov eax, dword [ebp - 0x1c]
call fcn.00403530
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
push ebp
push 0x409eda
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 0x1c]
call fcn.00403530
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x409ee4
mov eax, dword [ebp - 0x10]
call fcn.00404520
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409f17
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00403140
ret

Function at 0x401a6f
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
call sub.kernel32.dll_GetCommandLineA
mov dword [0x404f48], eax
add ebp, 8
mov dword [0x404123], ebp
sub ebp, 8
mov dword [0x404f4c], 0x30
mov dword [0x404f50], 3
mov dword [0x404f58], 0
mov dword [0x404f5c], 0
mov dword [0x404f54], 0x402a60
mov eax, dword [0x40411b]
mov dword [0x404f60], eax
mov dword [0x404f6c], 0x10
mov dword [0x404f74], 0x404108
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
mov dword [0x404f64], eax
mov dword [0x404f78], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x404f68], eax
push 0x404f4c
call sub.user32.dll_RegisterClassExA
push 0
push dword [0x40411b]
push 0
push 0
push 0xc8
push 0x12c
push 0x50
push 0x190
push 0xc0000
push str.Hello_from_Win32
push str.Class1
push 0
call sub.user32.dll_CreateWindowExA
mov dword [0x404f40], eax
push 0
push dword [0x404f40]
call sub.user32.dll_ShowWindow
push dword [0x404f40]
call sub.user32.dll_UpdateWindow
push 0
push 0
push 0
push 0x404f7c
call sub.user32.dll_GetMessageA
or eax, eax
je 0x401b83
push 0x404f7c
call sub.user32.dll_TranslateMessage
push 0x404f7c
call sub.user32.dll_DispatchMessageA
jmp 0x401b59
mov eax, dword [0x404f84]
mov esi, dword [0x404fdc]
lea ecx, [0x40411b]
add esi, eax
call esi
mov eax, dword [0x404f84]
push eax
call sub.kernel32.dll_ExitProcess
int3
Function at 0x10019470
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0xfc]
lea edx, [ebp + 8]
push ebx
mov ebx, dword [ecx + 0x104]
push esi
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1009e5e0]
sub esi, 1
jne 0x10019490
mov eax, dword [0x1012ab58]
not ebx
cmp dword [eax + 0x3f28], ebx
jne 0x100194c8
push esi
push dword [ebp + 8]
push 4
push ebx
call fcn.1000fb50
add esp, 0x10
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4

Function at 0x10019530
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0xfc]
lea edx, [ebp + 8]
push ebx
mov ebx, dword [ecx + 0x104]
push esi
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1009e5e0]
sub esi, 1
jne 0x10019550
mov eax, dword [0x1012ab58]
not ebx
cmp dword [eax + 0x3f28], ebx
jne 0x10019588
push esi
push dword [ebp + 8]
push 0xc
push ebx
call fcn.1000fb50
add esp, 0x10
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4

Function at 0x10019590
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov edx, ecx
push esi
push edi
lea esi, [ebp - 0x10]
mov edi, 0x10
movss xmm1, dword [edx + 0x118]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x11c]
subss xmm0, xmm1
mov ecx, dword [edx + 0xfc]
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 8], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0x104]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 4], xmm0
not edx
nop
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1009e5e0]
sub edi, 1
jne 0x10019600
pop edi
not edx
pop esi
mov eax, edx
mov esp, ebp
pop ebp
ret 4

Function at 0x1001a330
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
not ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
test edi, edi
je 0x1001a393
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1001a376
cmp edi, 2
jb 0x1001a376
cmp byte [esi], cl
jne 0x1001a376
cmp byte [esi + 1], cl
jne 0x1001a376
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1009e5e0]
jmp 0x1001a347
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1009e5e0]
test edi, edi
jne 0x1001a347
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1001a3c8
nop word [eax + eax]
cmp cl, 0x23
jne 0x1001a3af
cmp byte [esi], cl
jne 0x1001a3af
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x1009e5e0]
test cl, cl
jne 0x1001a3a0
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x1001a610
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x14
xor edx, edx
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
test esi, esi
je 0x1001a630
cmp eax, esi
jae 0x1001a7a8
mov cl, byte [eax]
mov byte [ebp - 3], cl
test cl, cl
je 0x1001a7a8
movzx ecx, cl
xor ebx, ebx
shr ecx, 3
mov edx, esi
movsx ecx, byte [ecx + 0x1009ed64]
test ecx, ecx
mov dword [ebp - 0xc], ecx
sete bl
add ebx, ecx
mov dword [ebp - 0x14], ebx
test esi, esi
jne 0x1001a662
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [ebp - 3]
mov byte [ebp - 4], cl
cmp esi, edx
jae 0x1001a67a
mov bl, byte [esi]
mov byte [ebp - 1], bl
jmp 0x1001a67e
mov byte [ebp - 1], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x1001a689
mov ch, byte [esi]
jmp 0x1001a68b
xor ch, ch
lea ebx, [eax + 3]
mov byte [ebp - 3], ch
cmp ebx, edx
jae 0x1001a699
mov bl, byte [ebx]
jmp 0x1001a69b
xor bl, bl
movzx esi, byte [ebp - 1]
movzx edx, ch
movzx ecx, cl
movzx edi, bl
mov byte [ebp - 2], bl
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx*4 + 0x1009ed84]
and ebx, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [ebp - 8], ebx
shl dword [ebp - 8], 6
and esi, 0xc0
or dword [ebp - 8], ecx
mov ecx, edx
shl dword [ebp - 8], 6
and ecx, 0x3f
or dword [ebp - 8], ecx
and edx, 0xc0
shl dword [ebp - 8], 6
mov ecx, edi
mov ebx, dword [ebp - 8]
and ecx, 0x3f
or ebx, ecx
shr edi, 2
mov ecx, dword [ebp - 0xc]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x1009edac]
shr ebx, cl
mov esi, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0xc]
cmp esi, dword [ebx*4 + 0x1009ed98]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebx*4 + 0x1009edc0]
mov ebx, dword [ebp - 0x14]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x1001a78f
xor edx, edx
cmp byte [ebp - 4], dl
setne dl
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 3], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 1], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
add eax, edx
mov edx, dword [ebp - 0x10]
inc edx
jmp 0x1001a61e
add eax, ebx
test esi, esi
je 0x1001a79e
mov edx, dword [ebp - 0x10]
inc edx
jmp 0x1001a61e
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001a820
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
dec eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x10], ecx
lea eax, [ebx + eax*2]
mov dword [ebp - 0x18], eax
cmp ebx, eax
mov eax, dword [ebp + 0x10]
jae 0x1001a9de
push esi
mov esi, dword [ebp + 0x14]
push edi
nop dword [eax]
test esi, esi
je 0x1001a85c
cmp eax, esi
jae 0x1001a9d9
mov bl, byte [eax]
mov byte [ebp + 0xf], bl
test bl, bl
je 0x1001a9d9
movzx ecx, bl
mov edx, esi
shr ecx, 3
xor ebx, ebx
movsx ecx, byte [ecx + 0x1009ed64]
test ecx, ecx
mov dword [ebp - 0xc], ecx
sete bl
add ebx, ecx
mov dword [ebp - 0x14], ebx
test esi, esi
jne 0x1001a88e
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [ebp + 0xf]
mov byte [ebp - 3], cl
cmp esi, edx
jae 0x1001a8a3
mov bh, byte [esi]
jmp 0x1001a8a5
xor bh, bh
lea esi, [eax + 2]
mov byte [ebp - 2], bh
cmp esi, edx
jae 0x1001a8b3
mov ch, byte [esi]
jmp 0x1001a8b5
xor ch, ch
lea esi, [eax + 3]
mov byte [ebp - 1], ch
cmp esi, edx
jae 0x1001a8c3
mov bl, byte [esi]
jmp 0x1001a8c5
xor bl, bl
movzx edx, ch
movzx ecx, cl
movzx esi, bh
movzx edi, bl
mov byte [ebp + 0xf], bl
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx*4 + 0x1009ed84]
and ebx, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [ebp - 8], ebx
shl dword [ebp - 8], 6
and esi, 0xc0
or dword [ebp - 8], ecx
mov ecx, edx
shl dword [ebp - 8], 6
and ecx, 0x3f
or dword [ebp - 8], ecx
and edx, 0xc0
shl dword [ebp - 8], 6
mov ecx, edi
mov ebx, dword [ebp - 8]
and ecx, 0x3f
or ebx, ecx
shr edi, 2
mov ecx, dword [ebp - 0xc]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x1009edac]
shr ebx, cl
mov esi, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0xc]
cmp esi, dword [ebx*4 + 0x1009ed98]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebx*4 + 0x1009edc0]
mov ebx, dword [ebp - 0x14]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x1001a9b6
xor edx, edx
mov esi, 0xfffd
cmp byte [ebp + 0xf], dl
setne dl
xor ecx, ecx
cmp byte [ebp - 1], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 3], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
add eax, edx
jmp 0x1001a9bc
add eax, ebx
test esi, esi
je 0x1001a9d6
mov ecx, dword [ebp - 0x10]
mov word [ecx], si
add ecx, 2
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebp - 0x18]
jb 0x1001a850
jmp 0x1001a9d9
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
pop edi
pop esi
xor edx, edx
mov word [ecx], dx
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x1001a9ec
mov dword [edx], eax
sub ecx, ebx
sar ecx, 1
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001bd00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x53bc], 0
lea esi, [edi + 0x53c0]
je 0x1001bd7a
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1001bd36
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10029d40
push dword [ebp + 0x10]
mov ecx, esi
mov dword [esi], 0
push dword [ebp + 0xc]
call fcn.10029710
mov edx, dword [esi]
mov ecx, 0x1012ab5c
push dword [edi + 0x53bc]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x53c8]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call fcn.1007c0bc
add esp, 0x10
pop edi
pop esi
pop ebp
ret
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.10029710
pop edi
pop esi
pop ebp
ret
Function at 0x100242b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1012ab58]
push esi
mov esi, dword [ebp + 8]
mov dword [eax + 0x5370], 0
test esi, esi
je 0x10024307
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push edi
push eax
call fcn.10024310
push 0x1009f774
push esi
mov edi, eax
call fcn.1001a070
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10024306
push esi
push dword [ebp + 8]
push 1
push edi
call fcn.1007c0bc
push esi
call fcn.1007ae30
add esp, 0x14
pop edi
pop esi
pop ebp
ret

Function at 0x10027010
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [0x1012ab58]
cmp byte [edi + 0x536c], 0
lea eax, [edi + 0x20]
jne 0x10027156
mov ecx, dword [eax]
push ebx
test ecx, ecx
je 0x1002714e
push esi
push 0x1009f770
push ecx
call fcn.1001a070
mov esi, eax
add esp, 8
test esi, esi
je 0x1002714a
push esi
call fcn.1007be92
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x10027141
push 2
push 0
push esi
call fcn.1007b7f4
add esp, 0xc
test eax, eax
jne 0x10027141
push esi
call fcn.1007be92
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x10027141
push 0
push dword [ebp - 4]
push esi
call fcn.1007b7f4
add esp, 0xc
test eax, eax
jne 0x10027141
mov eax, dword [0x1012ab58]
test eax, eax
je 0x100270b2
inc dword [eax + 0xb0]
push dword [0x1012ab60]
push ebx
call dword [0x10129058]
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x10027141
push esi
push ebx
push 1
push eax
call fcn.1007b3e2
add esp, 0x10
push esi
cmp eax, ebx
je 0x10027107
call fcn.1007ae30
mov eax, dword [0x1012ab58]
add esp, 4
test eax, eax
je 0x100270f2
dec dword [eax + 0xb0]
push dword [0x1012ab60]
mov esi, dword [ebp - 4]
push esi
call dword [0x1012905c]
add esp, 8
jmp 0x1002714a
call fcn.1007ae30
mov esi, dword [ebp - 4]
add esp, 4
test ebx, ebx
je 0x10027120
push ebx
push esi
call fcn.1001b8c0
add esp, 8
mov eax, dword [0x1012ab58]
test eax, eax
je 0x1002712f
dec dword [eax + 0xb0]
push dword [0x1012ab60]
push esi
call dword [0x1012905c]
add esp, 8
jmp 0x1002714a
push esi
call fcn.1007ae30
add esp, 4
lea eax, [edi + 0x20]
pop esi
mov byte [edi + 0x536c], 1
pop ebx
movss xmm0, dword [edi + 0x5370]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100271a7
subss xmm0, dword [edi + 0x18]
comiss xmm1, xmm0
movss dword [edi + 0x5370], xmm0
jb 0x100271a7
mov eax, dword [eax]
test eax, eax
je 0x10027196
push eax
call fcn.100242b0
add esp, 4
mov dword [edi + 0x5370], 0
pop edi
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x98], 1
mov dword [edi + 0x5370], 0
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10031ac0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x10031ae7
push eax
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.1001be30
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10031b0c
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
call fcn.1001be30
add esp, 4
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x10031b31
push eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
call fcn.1001be30
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov eax, dword [esi + 0x44]
test eax, eax
je 0x10031b72
push eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
call fcn.1001be30
add esp, 4
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x10031b97
push eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.1001be30
add esp, 4
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x10031bbc
push eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
call fcn.1001be30
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.1002d0c0
Function at 0x1004e5a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10129180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1004e5d0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10074548
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1004e60c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x1004e60c
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10074548
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x1004e707
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1004e634
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1004e667
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.10085208
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10074548
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x28], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x1004e6c7
sub eax, 1
je 0x1004e6c7
sub eax, 2
jne 0x1004e707
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.1004f510
add esp, 8
or ecx, 0xffffffff
test al, al
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10074548
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1004e6e4
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1007c0bc
add esp, 0x10
cmp edi, eax
jne 0x1004e707
lea ecx, [ebp - 0x28]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10074548
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10074548
mov esp, ebp
pop ebp
ret 4
Function at 0x1004ed40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
je 0x1004ee2e
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test esi, esi
jl 0x1004ee1d
jg 0x1004ed78
test edx, edx
je 0x1004ee1d
lea edx, [ecx + 0x30]
nop dword [eax + eax]
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1004ed95
mov eax, dword [edx]
mov eax, dword [eax]
jmp 0x1004ed97
xor eax, eax
cdq
mov esi, eax
mov eax, edx
mov dword [ebp - 8], eax
test eax, eax
jl 0x1004edde
jg 0x1004eda9
test esi, esi
je 0x1004edde
cmp ebx, eax
jg 0x1004edb8
jl 0x1004edb3
cmp edi, esi
jae 0x1004edb8
mov esi, edi
mov dword [ebp - 8], ebx
mov eax, dword [ebp + 8]
push esi
push eax
push dword [ebp - 0xc]
call fcn.10077050
mov edx, dword [ebp - 0x10]
add esp, 0xc
mov ecx, dword [ebp - 4]
sub edi, esi
sbb ebx, dword [ebp - 8]
mov eax, dword [edx]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x1004ee02
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x1004ee17
mov ecx, dword [ebp - 4]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
lea edx, [ecx + 0x30]
add dword [ebp + 8], esi
test ebx, ebx
jg 0x1004ed80
jl 0x1004ee17
test edi, edi
jne 0x1004ed80
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
pop edi
sbb esi, ebx
mov eax, edx
mov edx, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
mov edx, dword [eax]
lea eax, [ecx + 0x30]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
test edx, edx
je 0x1004ee52
mov eax, dword [eax]
mov edx, dword [eax]
jmp 0x1004ee57
xor edx, edx
mov dword [ebp - 0xc], eax
mov eax, edx
cdq
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], edx
test edi, edi
jl 0x1004eeb6
jg 0x1004ee6a
test esi, esi
je 0x1004eeb6
test edx, edx
jl 0x1004eeb1
jg 0x1004ee74
test eax, eax
je 0x1004eeb1
cmp edi, edx
jg 0x1004ee86
jl 0x1004ee7e
cmp esi, eax
jae 0x1004ee86
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 8], edi
mov ebx, dword [ebp + 8]
push eax
push ebx
push dword [ebp - 0x10]
call fcn.10077050
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp + 0x10]
add ebx, edx
mov ecx, dword [ebp - 4]
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [ebp - 8]
sub dword [eax], edx
mov eax, dword [ecx + 0x20]
add dword [eax], edx
jmp 0x1004eeb9
mov ebx, dword [ebp + 8]
jmp 0x1004eec3
mov ebx, dword [ebp + 8]
test edi, edi
jl 0x1004eedc
jg 0x1004eec3
test esi, esi
je 0x1004eedc
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x1004eedc
push eax
push esi
push 1
push ebx
call fcn.1007c0bc
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc