joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a42a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016293c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10438fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x100a42dd
cmp dword [eax + 4], 0xffffffff
je 0x100a42dd
push 0
mov eax, ebx
call fcn.100a4410
mov eax, dword [ebp + 8]
push 0x10
mov dword [ebx + 4], eax
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x100a431b
mov edi, dword [ebx]
push 0
call fcn.100164f0
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0
mov byte [esi + 0xc], 0
jmp 0x100a431d
xor esi, esi
mov edi, 1
mov dword [ebx + 0x18], esi
mov dword [ebp - 0x10], SysReAllocStringLen
cmp dword [ebp + 8], edi
jne 0x100a4338
mov dword [ebp - 0x10], 0xc0000000
cmp byte [ebp + 0xc], 0
je 0x100a4343
mov edi, 3
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x100a4359
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
cmp byte [esi + 0xc], 0
je 0x100a4368
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x10]
mov eax, dword [esi]
push 0
push 0
push 3
push 0
push edi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x100a43b9
call fcn.10023ad0
mov dword [esi + 8], eax
mov esi, dword [ebx + 0x18]
mov eax, dword [esi + 8]
mov dword [ebx + 0x30], eax
test esi, esi
je 0x100a439d
call fcn.1002e860
mov dword [ebx + 0x18], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, ebx
mov dword [esi + 4], eax
mov byte [esi + 0xc], 0
mov dword [esi + 8], 0
call fcn.100a4ce0
test al, al
jne 0x100a43ee
mov ecx, dword [ebx + 0x18]
mov edx, dword [ecx + 8]
mov dword [ebx + 0x30], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x100a4410
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x18]
test eax, eax
je 0x100a44b0
or ebx, 0xffffffff
cmp dword [eax + 4], ebx
je 0x100a44b0
cmp dword [edi + 4], 0
je 0x100a443a
call fcn.100a4fa0
mov esi, dword [edi + 0x18]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x100a444e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], ebx
cmp byte [esi + 0xc], 0
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
je 0x100a445f
mov eax, dword [esi]
push eax
call ebx
cmp byte [ebp + 8], 0
je 0x100a446d
mov ecx, dword [edi + 0x18]
mov edx, dword [ecx]
push edx
call ebx
mov esi, dword [edi + 0x18]
xor ebx, ebx
cmp esi, ebx
je 0x100a447b
call fcn.1002e860
mov esi, dword [edi + 0x1c]
mov dword [edi + 0x18], ebx
cmp esi, ebx
je 0x100a44a4
mov eax, dword [esi]
cmp eax, ebx
je 0x100a4497
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov dword [esi], ebx
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [edi + 0x1c], ebx
or eax, 0xffffffff
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], eax
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x100a4520
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, edi
call fcn.100a3ec0
mov eax, dword [eax]
mov ecx, dword [esi]
add esp, 4
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
mov eax, dword [ebp - 4]
sete bl
test eax, eax
je 0x100a4566
lea ecx, [eax - 0xc]
test ecx, ecx
je 0x100a4566
add eax, 0xfffffff4
dec dword [eax]
jne 0x100a4566
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
test bl, bl
je 0x100a4579
pop edi
mov dword [esi + 0x30], 0xffffffff
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 4]
push edx
mov ecx, edi
call fcn.100a3ec0
mov edi, eax
mov eax, dword [esi]
sub eax, 0xc
add esp, 4
dec dword [eax]
jne 0x100a459c
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [edi]
mov dword [esi], eax
inc dword [eax - 0xc]
mov eax, dword [ebp - 4]
test eax, eax
je 0x100a45c2
lea ecx, [eax - 0xc]
test ecx, ecx
je 0x100a45c2
add eax, 0xfffffff4
dec dword [eax]
jne 0x100a45c2
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
pop edi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100a51b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
mov dword [ebp - 4], edx
cmp ecx, 0xffffffff
jne 0x100a51d6
cmp edx, edi
mov dword [esi + 8], 6
sete al
mov esp, ebp
pop ebp
ret
push edx
lea edx, [ebp - 4]
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
sbb eax, eax
and eax, 2
add eax, 0xfffffffe
cmp dword [ebp - 4], edi
mov dword [esi + 8], eax
sete al
mov esp, ebp
pop ebp
ret

Function at 0x100a5200
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esi + 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
jne 0x100a5231
cmp dword [ebp - 4], edi
mov dword [esi + 8], 6
sete al
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 4]
push ecx
push edi
lea edx, [ebp - 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, 3
add eax, 0xfffffffd
cmp dword [ebp - 4], edi
mov dword [esi + 8], eax
sete al
mov esp, ebp
pop ebp
ret

Function at 0x100a5d90
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, eax
mov esi, dword [edi]
test esi, esi
je 0x100a5dd7
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x100a5db0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
cmp byte [esi + 0xc], 0
je 0x100a5dbf
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [edi]
test esi, esi
je 0x100a5dca
call fcn.1002e860
mov dword [edi], 0
mov dword [edi + 8], 0xffffffff
mov edi, dword [edi + 4]
test edi, edi
je 0x100a5df7
lea ecx, [edi - 0xc]
test ecx, ecx
je 0x100a5df7
dec dword [edi - 0xc]
lea eax, [edi - 0xc]
jne 0x100a5df7
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
pop edi
pop esi
ret
Function at 0x100a5e00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016293c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10438fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov eax, dword [edi]
test eax, eax
je 0x100a5e4d
cmp dword [eax + 4], 0xffffffff
je 0x100a5e8d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x10
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x100a5e89
mov edi, dword [edi + 4]
push 0
call fcn.100164f0
mov edi, dword [ebp + 8]
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0
mov byte [esi + 0xc], 0
jmp 0x100a5e8b
xor esi, esi
mov dword [edi], esi
mov esi, dword [edi]
mov eax, dword [esi + 4]
neg ebx
sbb ebx, ebx
add ebx, 4
cmp eax, 0xffffffff
je 0x100a5eac
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
cmp byte [esi + 0xc], 0
je 0x100a5ebb
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi]
push 0
push 0
push ebx
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x100a5f19
call fcn.10023ad0
mov dword [esi + 8], eax
mov esi, dword [edi]
mov eax, dword [esi + 8]
test eax, eax
jle 0x100a5ef2
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test esi, esi
je 0x100a5efd
call fcn.1002e860
mov dword [edi], 0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esi + 4], eax
mov byte [esi + 0xc], 0
mov dword [esi + 8], 0
jmp 0x100a5e37

Function at 0x100a5f30
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [edi]
test esi, esi
je 0x100a5f74
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x100a5f4d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
cmp byte [esi + 0xc], 0
je 0x100a5f5c
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [edi]
test esi, esi
je 0x100a5f67
call fcn.1002e860
mov dword [edi], 0
mov dword [edi + 8], 0xffffffff
xor eax, eax
pop esi
ret

Function at 0x100a5f80
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [edi]
test esi, esi
je 0x100a5fc4
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x100a5f9d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
cmp byte [esi + 0xc], 0
je 0x100a5fac
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [edi]
test esi, esi
je 0x100a5fb7
call fcn.1002e860
mov dword [edi], 0
mov dword [edi + 8], 0xffffffff
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
pop esi
ret
Function at 0x100aa3e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10162908
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x10438fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 0
lea eax, [ebx + 4]
mov dword [ebx], vtable.MTIndex.0
call fcn.100164f0
xor eax, eax
mov dword [ebx + 8], 0xffffffff
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x10], al
mov dword [ebp - 4], eax
push eax
push eax
lea esi, [ebx + 0x1e4]
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], 3
mov byte [ebx + 0x30], al
mov dword [ebx + 0x34], 0x800
mov dword [ebx + 0x88], eax
mov byte [ebx + 0x8c], al
mov dword [ebx + 0x90], eax
mov byte [ebx + 0x1d6], al
mov dword [ebx + 0x1d8], eax
mov byte [ebx + 0x1dc], al
mov dword [ebx + 0x1e0], eax
push eax
mov dword [esi], eax
call fcn.100163a0
xor esi, esi
push 0x50
lea eax, [ebx + 0x38]
push esi
mov byte [ebp - 4], 1
push eax
mov dword [ebx + 0x1e8], esi
call sub.MSVCR100.dll_memset
mov eax, dword [ebx + 0x14]
add esp, 0xc
cmp eax, 1
je 0x100aa4a5
cmp eax, 2
jne 0x100aa4a8
mov dword [ebx + 0x18], esi
cmp dword [ebx + 0x18], esi
jge 0x100aa4b1
mov byte [ebx + 0x30], 1
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x18], esi
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100aa4e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, eax
or ebx, 0xffffffff
cmp dword [edi + 8], ebx
je 0x100aa4fc
push edi
call fcn.100aa710
mov eax, dword [edi + 8]
lea esi, [edi + 4]
cmp eax, ebx
je 0x100aa510
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], ebx
cmp byte [esi + 0xc], 0
je 0x100aa51f
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [esi]
xor ebx, ebx
push ebx
push ebx
push ecx
push ebx
push 3
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x100aa562
call fcn.10023ad0
mov dword [esi + 8], eax
mov edi, dword [edi + 0xc]
cmp edi, ebx
jle 0x100aa557
and edi, 0xffff
or edi, 0x80070000
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 4], eax
lea eax, [esp + 0x10]
push eax
mov byte [esi + 0xc], bl
mov dword [esi + 8], ebx
call fcn.10023400
test al, al
jne 0x100aa57f
mov dword [esp + 0x18], ebx
jmp 0x100aa58b
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
mov eax, dword [edi + 0x34]
push 0
cdq
push SysReAllocString
push edx
push eax
call fcn.1015edc0
cmp ebx, edx
jl 0x100aa5b7
jg 0x100aa5a9
cmp dword [esp + 0x18], eax
jbe 0x100aa5b7
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea edx, [esp + 0x18]
push edx
call fcn.10023400
test al, al
je 0x100aa5cf
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x1c]
jne 0x100aa5d8
call fcn.100aa820
test eax, eax
js 0x100aa628
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
test eax, eax
js 0x100aa628
cmp dword [edi + 0x14], 0
je 0x100aa623
cmp dword [edi + 0x18], 0
je 0x100aa623
lea eax, [esp + 0x10]
mov ecx, esi
call fcn.100a1ed0
lea esi, [edi + 0x1e4]
push eax
call fcn.10016640
lea eax, [esp + 0x10]
call fcn.100164d0
mov eax, esi
call fcn.100167c0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, 0x8000ffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100aa710
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
or ebx, 0xffffffff
cmp dword [edi + 8], ebx
je 0x100aa757
mov esi, dword [edi + 0x38]
test esi, esi
je 0x100aa72d
call fcn.100b02c0
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
mov ecx, edi
call edx
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x100aa747
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebx
cmp byte [edi + 0x10], 0
je 0x100aa757
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
add edi, 0x38
lea esp, [esp]
mov esi, dword [edi]
test esi, esi
je 0x100aa793
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
push esi
mov dword [esi + 0x10], 0
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov dword [edi], 0
inc ebx
add esp, 4
add edi, 4
cmp ebx, 0x14
jl 0x100aa760
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x88]
test edi, edi
je 0x100aa7be
mov edx, dword [edi + 0x10]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
push edi
mov dword [edi + 0x10], 0
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, dword [esi + 0x1d8]
mov dword [esi + 0x88], 0
mov byte [esi + 0x8c], 0
test edi, edi
je 0x100aa7e9
push edi
call fcn.100914c0
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [esi + 0x1e0]
xor ecx, ecx
mov dword [esi + 0x1d8], ecx
mov dword [esi + 0x90], ecx
cmp eax, ecx
je 0x100aa815
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
mov dword [esi + 0x1e0], 0
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x100ad980
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
cmp dword [esi + 8], 0xffffffff
je 0x100ad9fb
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x34]
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
jne 0x100ad9c2
mov dword [esi + 0xc], 6
mov esi, dword [esi + 0xc]
test esi, esi
jle 0x100ad9b9
and esi, 0xffff
or esi, 0x80070000
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0
lea edx, [ebp - 4]
push edx
push ecx
mov ecx, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
sbb eax, eax
and eax, 2
add eax, 0xfffffffe
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x100ad9a6
sub eax, dword [esi + 0x34]
pop esi
neg eax
sbb eax, eax
and eax, 0x80040211
mov esp, ebp
pop ebp
ret 4
mov eax, 0x8000ffff
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100ada10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
cmp dword [esi + 8], 0xffffffff
je 0x100ada8d
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x34]
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
jne 0x100ada52
mov dword [esi + 0xc], 6
mov esi, dword [esi + 0xc]
test esi, esi
jle 0x100ada49
and esi, 0xffff
or esi, 0x80070000
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0
lea edx, [ebp - 4]
push edx
push ecx
mov ecx, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
and eax, 3
add eax, 0xfffffffd
mov dword [esi + 0xc], eax
test ecx, ecx
je 0x100ada36
mov eax, dword [esi + 0x34]
sub eax, ecx
neg eax
sbb eax, eax
and eax, 0x80040211
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, 0x8000ffff
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100bb080
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + 0x10]
cmp byte [ecx], 0x25
jne 0x100bb18e
push ebx
push esi
call fcn.100cf380
push esi
call fcn.100b6ee0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x100bb0ba
mov ecx, str.xmlParsePEReference:_no_name_n
lea eax, [ebx + 0x44]
call fcn.100b1f90
pop ebx
pop esi
ret
mov edx, dword [esi + 0x24]
mov eax, dword [edx + 0x10]
cmp byte [eax], 0x3b
je 0x100bb12b
cmp dword [esi + 0xd4], 0
je 0x100bb0db
cmp dword [esi + 0xac], 0xffffffff
je 0x100bb18d
push 0
push str.EntityRef:_expecting___n
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 3
push 0x17
push 1
push 0
push esi
push 0
push 0
push 0
mov dword [esi + 0x54], 0x17
call fcn.100cebb0
add esp, 0x44
cmp dword [esi + 0x120], 0
mov dword [esi + 0xc], 0
jne 0x100bb18d
pop ebx
mov dword [esi + 0xd4], 1
pop esi
ret
push edi
push esi
call fcn.100cf380
mov eax, dword [esi]
inc dword [esi + 0x1b8]
add esp, 4
test eax, eax
je 0x100bb158
mov eax, dword [eax + 0x60]
test eax, eax
je 0x100bb158
mov ecx, dword [esi + 4]
push ebx
push ecx
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x100bb1ac
cmp dword [esi + 0x1c], 1
je 0x100bb190
cmp dword [esi + 0x58], 0
jne 0x100bb16a
cmp dword [esi + 0x5c], 0
je 0x100bb190
push 0x1b
mov edx, ebx
push esi
xor ecx, ecx
mov ebx, str.PEReference:____s__not_found_n
call fcn.100b2000
add esp, 8
mov dword [esi + 0x64], 0
mov dword [esi + 0x5c], 1
pop edi
pop ebx
pop esi
ret
mov eax, ebx
mov edx, str.PEReference:____s__not_found_n
mov ecx, 0x1a
call fcn.100b21f0
pop edi
pop ebx
mov dword [esi + 0x5c], 1
pop esi
ret
mov eax, dword [edi + 0x30]
cmp eax, 4
je 0x100bb1d8
cmp eax, 5
je 0x100bb1d8
push 0x1b
mov edx, ebx
push esi
xor ecx, ecx
mov ebx, str.Internal:____s__is_not_a_parameter_entity_n
call fcn.100b2000
add esp, 8
pop edi
pop ebx
mov dword [esi + 0x5c], 1
pop esi
ret
mov edx, dword [esi + 0x24]
cmp dword [edx + 0x28], 0x100b30a0
push edi
je 0x100bb205
mov eax, esi
call fcn.100b30b0
push eax
push esi
call fcn.100b4d10
add esp, 0xc
test eax, eax
jl 0x100bb18c
pop edi
pop ebx
mov dword [esi + 0x5c], 1
pop esi
ret
push esi
call fcn.100d00d0
push eax
push esi
call fcn.100b4d10
add esp, 0x10
test eax, eax
jl 0x100bb18c
cmp dword [edi + 0x30], 5
jne 0x100bb185
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x10]
cmp byte [eax], 0x3c
jne 0x100bb185
cmp byte [eax + 1], 0x3f
jne 0x100bb185
cmp byte [eax + 2], 0x78
jne 0x100bb185
cmp byte [eax + 3], 0x6d
jne 0x100bb185
cmp byte [eax + 4], 0x6c
jne 0x100bb185
mov al, byte [eax + 5]
cmp al, 0x20
je 0x100bb275
cmp al, 9
jb 0x100bb26d
cmp al, 0xa
jbe 0x100bb275
cmp al, 0xd
jne 0x100bb185
push esi
call fcn.100b5ca0
add esp, 4
cmp dword [esi + 0x54], 0x20
jne 0x100bb185
pop edi
pop ebx
mov dword [esi + 0xac], 0xffffffff
pop esi
ret
Function at 0x100ca6d0
Capabilities:
Query environment variable

Disassembly:
cmp dword [0x1044ceb0], 0
je 0x100ca6dd
or eax, 0xffffffff
ret
push esi
push edi
mov dword [0x1044ceb0], 1
call fcn.100e7720
mov esi, dword [sym.imp.MSVCR100.dll_getenv]
push str.XML_MEM_BREAKPOINT
mov dword [0x1044cec0], eax
call esi
mov edi, dword [sym.imp.MSVCR100.dll_sscanf]
add esp, 4
test eax, eax
je 0x100ca71d
push 0x1044cec8
push 0x101781dc
push eax
call edi
add esp, 0xc
push str.XML_MEM_TRACE
call esi
add esp, 4
test eax, eax
je 0x100ca73b
push 0x1044cecc
push 0x101781c8
push eax
call edi
add esp, 0xc
pop edi
xor eax, eax
pop esi
ret

Function at 0x100d0ff0
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jle 0x100d102b
test esi, esi
je 0x100d102b
xor eax, eax
xor ecx, ecx
test edx, edx
jle 0x100d101a
push edi
movzx edi, byte [ecx + esi]
add edi, eax
imul edi, edi, 0x401
mov eax, edi
shr edi, 6
inc ecx
xor eax, edi
cmp ecx, edx
jl 0x100d1001
pop edi
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
ret
xor eax, eax
ret

Function at 0x100d1030
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
xor ecx, ecx
test edx, edx
jle 0x100d1059
push ebp
lea esp, [esp]
movzx ebp, byte [ecx + edi]
add ebp, eax
imul ebp, ebp, 0x401
mov eax, ebp
shr ebp, 6
inc ecx
xor eax, ebp
cmp ecx, edx
jl 0x100d1040
pop ebp
add eax, 0x3a
imul eax, eax, 0x401
mov ecx, eax
shr ecx, 6
xor eax, ecx
xor ecx, ecx
test esi, esi
jle 0x100d1088
nop
movzx edx, byte [ecx + ebx]
add edx, eax
imul edx, edx, 0x401
mov eax, edx
shr edx, 6
inc ecx
xor eax, edx
cmp ecx, esi
jl 0x100d1070
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
ret
Function at 0x100d2c80
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ebx, eax
xor eax, eax
push edi
mov edi, ecx
test edx, edx
je 0x100d2cbb
mov cl, byte [edx]
movzx esi, cl
mov eax, esi
shl eax, 4
sub eax, esi
add eax, eax
test cl, cl
je 0x100d2cbb
push ebp
mov esi, eax
mov ebp, eax
shl esi, 5
shr ebp, 3
movsx ecx, cl
add esi, ebp
inc edx
add esi, ecx
mov cl, byte [edx]
xor eax, esi
test cl, cl
jne 0x100d2ca0
pop ebp
test edi, edi
je 0x100d2cdf
mov cl, byte [edi]
test cl, cl
je 0x100d2cdf
mov edx, eax
mov esi, eax
shl edx, 5
shr esi, 3
movsx ecx, cl
add edx, esi
inc edi
add edx, ecx
mov cl, byte [edi]
xor eax, edx
test cl, cl
jne 0x100d2cc5
test ebx, ebx
je 0x100d2d0a
mov cl, byte [ebx]
test cl, cl
je 0x100d2d0a
lea esp, [esp]
mov edx, eax
mov esi, eax
shl edx, 5
shr esi, 3
movsx ecx, cl
add edx, esi
inc ebx
add edx, ecx
mov cl, byte [ebx]
xor eax, edx
test cl, cl
jne 0x100d2cf0
mov ecx, dword [esp + 0x10]
xor edx, edx
div dword [ecx + 4]
pop edi
pop esi
pop ebx
mov eax, edx
ret