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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x42d070]
xor eax, esp
mov dword [esp + 0xa8], eax
cmp dword [ebp + 8], 4
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
je 0x40216e
call fcn.00402d60
push eax
call fcn.00403020
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.00405a49
mov esp, ebp
pop ebp
ret
push 0x429568
push dword [esi + 4]
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
push eax
call fcn.0040ac08
mov eax, dword [esp + 0x30]
add esp, 0xc
test eax, eax
je 0x402154
push eax
push 0x84
lea eax, [esp + 0x30]
push 1
push eax
call fcn.0040c286
push 0x429570
push dword [esi + 8]
lea eax, [esp + 0x38]
push eax
call fcn.0040ac08
add esp, 0x1c
cmp dword [esp + 0x20], 0
je 0x402154
push dword [esi + 0xc]
call fcn.0040bdd1
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
lea ecx, [edi - 1]
cmp ecx, 0x1fe
ja 0x402154
xor ecx, ecx
lea eax, [edi + edi]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00405f49
add esp, 4
mov esi, eax
lea eax, [edi*4]
push eax
push 0
push esi
call fcn.00408820
imul edi, edi, 0x3e8
add esp, 0xc
xor ecx, ecx
xor ebx, ebx
mov edx, edi
mov dword [esp + 0x18], edi
call fcn.00401f10
push dword [esp + 0x20]
push 0x2c
push 1
push 0x42ed68
call fcn.0040c05d
add esp, 0x10
mov dword [esp + 0x10], ebx
cmp byte [esp + 0x2a], bl
jbe 0x4022b9
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], ecx
nop
mov edx, dword [esp + 0x20]
push edi
call fcn.00401f70
add ebx, eax
add esp, 4
xor eax, eax
xor edi, edi
cmp ax, word [esp + 0x28]
jae 0x402298
nop word [eax + eax]
mov ecx, dword [esp + 0x1c]
push dword [esp + 0x20]
lea eax, [ecx*4]
push eax
push 1
push esi
call fcn.0040c05d
movzx eax, word [esp + 0x38]
inc edi
add esp, 0x10
add ebx, 4
cmp edi, eax
jl 0x402270
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc edx
movzx eax, byte [esp + 0x2a]
add ecx, 0x10
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
cmp edx, eax
jl 0x402250
push 0
push 0
push dword [esp + 0x28]
call fcn.0040af24
add esp, 0xc
mov edx, edi
mov ecx, ebx
call fcn.00401f10
push dword [esp + 0x20]
push 0x2c
push 1
push 0x42ed68
call fcn.0040c05d
add esp, 0x10
test esi, esi
je 0x4022f4
push esi
call fcn.00405a5a
add esp, 4
mov ecx, dword [esp + 0xb4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00405a49
mov esp, ebp
pop ebp
ret

Function at 0x412f80
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00412dff

Function at 0x417c00
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004178ae
Function at 0x10006bd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101779ee
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101f9224]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.RZL::Rotide::Conversion::ConversionParam.0
lea eax, [ebx + 4]
push eax
call fcn.10005a50
mov dword [esi], vtable.RZL::Rotide::Conversion::VariableParam.0
lea edi, [ebx + 0x20]
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x1c], eax
add esi, 0x20
push edi
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp + 8], esi
call fcn.10005c00
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov esi, dword [ebp - 0x10]
lea eax, [ebx + 0x30]
push eax
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.10005e10
lea eax, [ebx + 0x3c]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x3c]
call fcn.10005e10
mov eax, esi
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
Function at 0x10032570
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017bf01
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x101f9224]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
call fcn.10033650
mov edi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], edi
lea esi, [edi + 0x10]
mov word [edi + 0xc], 0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov ebx, dword [ebp + 8]
mov ecx, esi
push ebx
mov byte [ebp - 4], 1
call fcn.10005a50
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [esi + 0x2c], eax
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0xf
mov byte [ebx + 0x18], 0
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x34], eax
mov eax, edi
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
Function at 0x100423f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x101f9224]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
mov edi, ecx
call esi
movzx ebx, ax
shr ebx, 0xf
and ebx, 0xffffff01
push 0x10
mov dword [ebp - 0x38], ebx
call esi
shr eax, 0xf
and eax, 0xffffff01
push 0x12
mov dword [ebp - 0x34], eax
call esi
mov esi, dword [ebp + 8]
movzx ecx, ax
shr ecx, 0xf
and cl, 1
mov byte [ebp - 0x2d], 1
lea eax, [esi - 3]
cmp eax, 0x18
ja case.0x10042454.4
movzx eax, byte [eax + 0x10042644]
jmp dword [eax*4 + 0x10042628]
mov ecx, edi
call fcn.10044ce0
jmp 0x100425e7
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0xc]
lea esi, [edi + 0x1d0]
shr ebx, 0x18
push eax
mov ecx, esi
and bl, 1
call fcn.1011c440
mov ecx, eax
call fcn.101122c0
mov ecx, edi
mov byte [ebp - 0x29], al
call fcn.10044b90
cmp byte [ebp - 0x38], 0
mov ecx, dword [ebp - 0x34]
jne 0x100424d1
test cl, cl
je 0x100424b8
test bl, bl
je 0x100424d1
mov al, byte [ebp - 0x29]
test al, al
je 0x100424bb
push 1
mov ecx, edi
call fcn.10047050
jmp case.0x10042454.3
mov al, byte [ebp - 0x29]
test bl, bl
je 0x100424d1
test al, al
je 0x100424d1
push 1
mov ecx, edi
call fcn.10046e80
jmp case.0x10042454.3
lea eax, [edi + 0x22a]
push eax
movzx eax, cl
lea eax, [eax*2 + 3]
push eax
lea ecx, [ebp - 0x18]
call fcn.100a5820
mov ecx, dword [edi + 0x216]
push eax
push esi
call fcn.100bc2c0
jmp 0x100425e7
mov ecx, edi
call fcn.10044b90
push 1
lea ecx, [ebp - 0x10]
call fcn.100a55c0
mov ecx, dword [edi + 0x216]
push eax
lea eax, [edi + 0x1d0]
push eax
call fcn.100bc2c0
jmp 0x100425e7
mov eax, dword [0x1020038c]
mov ecx, dword [eax + 0x17a]
call fcn.1012d520
mov byte [ebp - 0x2d], al
test al, al
je case.0x10042454.3
mov eax, edi
lea esi, [edi + 0x17e]
neg eax
lea ecx, [ebp - 0x28]
push 0xffffff
push dword [edi + 0x216]
sbb eax, eax
and eax, esi
push eax
push 0x1b6b
call fcn.100b5190
push eax
mov ecx, esi
call sub.rzlsys.dll_public:_void___thiscall_Dispatcher::SendMsg_class_MsgArg_const__
jmp case.0x10042454.3
mov ecx, edi
call fcn.10044b90
test bl, bl
jne 0x10042612
lea eax, [ebp - 0xc]
lea esi, [edi + 0x1d0]
push eax
mov ecx, esi
call fcn.1011c440
mov ecx, eax
call fcn.101122c0
cmp byte [ebp - 0x34], bl
je 0x100425ad
test al, al
je 0x100425b5
push 1
mov ecx, edi
call fcn.10047050
jmp case.0x10042454.3
test al, al
jne 0x100424c3
lea eax, [edi + 0x22a]
push eax
push 6
jmp 0x100424e3
test bl, bl
je 0x100425cb
test cl, cl
je case.0x10042454.3
test esi, esi
je 0x10042612
mov ecx, edi
call fcn.10044b90
push 1
push esi
lea eax, [edi + 0x1d0]
mov ecx, edi
push eax
call fcn.10046350
mov byte [ebp - 0x2d], al
push 1
push dword [ebp - 0x2d]
mov ecx, edi
call fcn.10049070
lea eax, [edi + 0x1d0]
mov ecx, edi
push eax
call fcn.100467c0
mov ecx, edi
call fcn.10047e20
mov ecx, edi
call fcn.1004d2a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10175e83
mov esp, ebp
pop ebp
ret 8
Function at 0x100438c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp edi, dword [ebp + 0xc]
je 0x1004396e
push ebx
mov ebx, dword [ebp + 0x10]
push esi
lea esi, [edi + 4]
sub edi, ebx
sub edi, 0x12
lea ecx, [ebx + 0x12]
mov dword [ebx], vtable.PosPtr.0
lea ecx, [ecx + 0x1c]
movzx eax, word [esi]
lea esi, [esi + 0x1c]
xor ax, word [ecx - 0x2a]
add ebx, 0x1c
and ax, 1
xor word [ecx - 0x2a], ax
movzx edx, word [esi - 0x1c]
movzx eax, word [ecx - 0x2a]
xor dx, ax
and dx, 0xe
xor dx, ax
mov word [ecx - 0x2a], dx
mov eax, dword [esi - 0x1a]
mov dword [ecx - 0x28], eax
mov eax, dword [esi - 0x16]
mov dword [ecx - 0x24], eax
movzx eax, word [ecx - 0x1c]
mov dword [ecx - 0x20], 0x101a44d8
xor ax, word [esi - 0xe]
and ax, 1
xor word [ecx - 0x1c], ax
movzx edx, word [esi - 0xe]
movzx eax, word [ecx - 0x1c]
xor dx, ax
and dx, 0xe
xor dx, ax
mov word [ecx - 0x1c], dx
mov eax, dword [esi - 0xc]
mov dword [ecx - 0x1a], eax
mov edx, dword [esi - 8]
mov dword [ecx - 0x16], edx
lea edx, [edi + ecx]
cmp edx, dword [ebp + 0xc]
jne 0x100438e0
pop esi
mov eax, ebx
pop ebx
pop edi
pop ebp
ret 0x18
mov eax, dword [ebp + 0x10]
pop edi
pop ebp
ret 0x18

Function at 0x10046ce0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x101f9224]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x10
mov edi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov eax, dword [edi + 0x1b8]
lea ecx, [ebp - 0x38]
mov esi, dword [ebp + 8]
push 0
push dword [edi + 0x216]
mov dword [ebp - 0x38], eax
neg esi
mov eax, dword [edi + 0x1bc]
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0x1c0]
push esi
mov dword [ebp - 0x30], eax
call fcn.1011a860
cmp eax, esi
je 0x10046d45
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10175e83
mov esp, ebp
pop ebp
ret 8
push dword [edi + 0x216]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x38]
call fcn.1011b450
mov ecx, eax
call fcn.10113920
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x38]
call eax
test al, al
je 0x10046d81
push 0
push dword [edi + 0x216]
lea ecx, [ebp - 0x38]
push 0xffffffffffffffff
call fcn.1011a860
test eax, eax
jne 0x10046d45
xor eax, eax
mov ecx, edi
cmp byte [ebp + 0xc], al
setne al
add eax, 2
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.100478d0
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.10175e83
mov esp, ebp
pop ebp
ret 8
Function at 0x10046db0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x101f9224]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x10
mov edi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov eax, dword [edi + 0x1b8]
lea ecx, [ebp - 0x38]
push 0
push dword [edi + 0x216]
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x1bc]
push dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0x1c0]
mov dword [ebp - 0x30], eax
call fcn.1011a860
cmp eax, dword [ebp + 8]
je 0x10046e11
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10175e83
mov esp, ebp
pop ebp
ret 8
push dword [edi + 0x216]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x38]
call fcn.1011b450
mov ecx, eax
call fcn.10113920
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x38]
call eax
test al, al
je 0x10046e4d
push 0
push dword [edi + 0x216]
lea ecx, [ebp - 0x38]
push 1
call fcn.1011a860
test eax, eax
jne 0x10046e11
xor eax, eax
mov ecx, edi
cmp byte [ebp + 0xc], al
setne al
add eax, 2
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.100478d0
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop edi
call fcn.10175e83
mov esp, ebp
pop ebp
ret 8

Function at 0x1004af90
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017dad1
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101f9224]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 0x10]
lea ecx, [edi + 0x12]
mov dword [ebp - 4], 0
movzx eax, byte [esi]
mov byte [edi], al
movzx eax, byte [esi + 1]
mov byte [edi + 1], al
movzx eax, byte [esi + 2]
mov byte [edi + 2], al
movzx eax, byte [esi + 3]
mov byte [edi + 3], al
movzx eax, byte [esi + 4]
mov byte [edi + 4], al
mov eax, dword [esi + 6]
mov dword [edi + 6], eax
mov eax, dword [esi + 0xa]
mov dword [edi + 0xa], eax
mov eax, dword [esi + 0xe]
mov dword [edi + 0xe], eax
lea eax, [esi + 0x12]
push eax
call fcn.1011bb80
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1004ead0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x101f9224]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], 0
push eax
push 1
push 0
push str.Control_PanelDesktop
push 0x80000001
mov esi, 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1004eb6f
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x8c], 0x80
push eax
lea eax, [ebp - 0x90]
push eax
push 0
push str.WheelScrollLines
push dword [ebp - 0x88]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1004eb63
push 0xa
push eax
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
add esp, 0xc
mov esi, eax
push dword [ebp - 0x88]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10175e83
mov esp, ebp
pop ebp
ret
Function at 0x100651a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10180c0c
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101f9224]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
lea ecx, [edi + 0x4a]
mov dword [edi], vtable.TableCellAttr.0
fld qword [esi + 4]
fstp qword [edi + 4]
fld qword [esi + 0xc]
fstp qword [edi + 0xc]
fld qword [esi + 0x14]
fstp qword [edi + 0x14]
fld qword [esi + 0x1c]
fstp qword [edi + 0x1c]
movzx eax, byte [esi + 0x24]
mov byte [edi + 0x24], al
movzx eax, byte [esi + 0x25]
mov byte [edi + 0x25], al
movzx eax, byte [esi + 0x26]
mov byte [edi + 0x26], al
movzx eax, byte [esi + 0x27]
mov byte [edi + 0x27], al
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x44], eax
mov ax, word [esi + 0x48]
mov word [edi + 0x48], ax
lea eax, [esi + 0x4a]
push eax
call dword [sym.imp.FormulaEngine.dll_public:_void___thiscall_FormelKey::constructor_class_FormelKey_const__]
lea eax, [esi + 0x88]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0x88]
call fcn.10005a50
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1008ccf0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101860eb
mov eax, dword fs:[0]
push eax
mov eax, 0x2e94
call fcn.101763f0
mov eax, dword [0x101f9224]
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 ebx, ecx
call fcn.1008b8a0
mov edx, dword [ebx + 0x17a]
mov edi, eax
mov eax, dword [edx + 8]
mov ecx, eax
mov edx, dword [eax + 4]
cmp byte [edx + 0xd], 0
jne 0x1008cd5d
nop
cmp dword [edx + 0x10], edi
jge 0x1008cd4a
mov edx, dword [edx + 8]
jmp 0x1008cd4e
mov ecx, edx
mov edx, dword [edx]
cmp byte [edx + 0xd], 0
je 0x1008cd40
cmp ecx, eax
je 0x1008cd5d
cmp edi, dword [ecx + 0x10]
jge 0x1008cd5f
mov ecx, eax
cmp ecx, eax
jne 0x1008cd65
mov ecx, dword [eax]
add ecx, 0x14
call fcn.100ffe40
mov esi, eax
mov dword [ebp - 0x60], vtable.Numbering.0
movzx ecx, word [esi + 4]
mov word [ebp - 0x5c], cx
mov ecx, dword [esi + 6]
mov dword [ebp - 0x5a], ecx
mov ecx, dword [esi + 0xa]
mov dword [ebp - 0x56], ecx
movzx ecx, word [esi + 0xe]
mov word [ebp - 0x52], cx
lea ecx, [ebp - 0x44]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x48], eax
lea eax, [esi + 0x1c]
push eax
call fcn.10005a50
lea eax, [esi + 0x34]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.10005a50
mov al, byte [esi + 0x4c]
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 1
push eax
push dword [ebx + 0x17e]
lea ecx, [ebp - 0x2ea0]
push ebx
call fcn.1008d970
lea ecx, [ebp - 0x2ea0]
mov byte [ebp - 4], 2
call sub.SV320mi.dll_Ordinal_935
test ax, ax
je 0x1008ce41
mov eax, dword [ebx + 0x17a]
mov edx, dword [eax + 8]
mov eax, edx
mov ecx, dword [edx + 4]
cmp byte [ecx + 0xd], 0
jne 0x1008ce2d
mov edi, edi
cmp dword [ecx + 0x10], edi
jge 0x1008ce1a
mov ecx, dword [ecx + 8]
jmp 0x1008ce1e
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x1008ce10
cmp eax, edx
je 0x1008ce2d
cmp edi, dword [eax + 0x10]
jge 0x1008ce2f
mov eax, edx
cmp eax, edx
jne 0x1008ce35
mov eax, dword [edx]
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [eax + 0x14]
call fcn.10100e90
lea ecx, [ebp - 0x2ea0]
call fcn.1008b110
lea ecx, [ebp - 0x60]
call fcn.1008b450
mov eax, 1
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.10175e83
mov esp, ebp
pop ebp
ret 4
Function at 0x100a5ee0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10189556
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101f9224]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ecx, dword [sym.imp.rzlsys.dll_class_RZLApplication__thisRZLApp]
mov ecx, dword [ecx]
call sub.rzlsys.dll_Ordinal_10
mov word [esi], ax
mov ecx, dword [sym.imp.rzlsys.dll_class_RZLApplication__thisRZLApp]
mov ecx, dword [ecx]
call sub.rzlsys.dll_Ordinal_10
push 0
lea ecx, [esi + 0xc]
mov word [esi + 2], ax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.rzlsys.dll_public:_void___thiscall_RZLDateEx::constructor_enum_RZLDateEx::PredefDate_
push 0
lea ecx, [esi + 0x10]
call sub.rzlsys.dll_public:_void___thiscall_RZLDateEx::constructor_enum_RZLDateEx::PredefDate_
push 0
push 0
push 0
lea ecx, [esi + 0x14]
call sub.rzlsys.dll_public:_void___thiscall_RZLDateEx::constructor_int__int__int_
lea ecx, [esi + 0x18]
call sub.TL320mi.dll_Ordinal_75
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], 0
call sub.TL320mi.dll_Ordinal_75
mov eax, dword [sym.imp.rzlsys.dll_class_RZLApplication__thisRZLApp]
mov byte [ebp - 4], 1
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [esi + 0x20], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100bee20
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x101f9224]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x100bee65
mov ecx, dword [esi + 0x28c]
cmp ecx, edi
je 0x100bee65
test ecx, ecx
je 0x100bee53
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
push edi
lea ecx, [esi + 0x22c]
mov dword [esi + 0x28c], edi
call sym.rotide.dll_public:_void___thiscall_ArchiveDataSource::SetArchive_class_Archive__
mov ecx, dword [esi + 0x28c]
test ecx, ecx
je 0x100bef85
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x100bef85
mov ecx, dword [esi + 0x28c]
call sym.rotide.dll_public:_enum_RoFileFormat___thiscall_Archive::GetFileFormat_void_
cmp eax, 1
je 0x100bef85
mov ecx, dword [esi + 0x28c]
push ebx
push 0
mov eax, dword [ecx]
call dword [eax + 0x34]
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0xff
push eax
lea eax, [ebp - 0x104]
mov byte [ebp - 0x104], 0
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push 0
lea ecx, [ebp - 0x130]
call sub.rzlsys.dll_public:_void___thiscall_RZLDateEx::constructor_enum_RZLDateEx::PredefDate_
push eax
lea ecx, [esi + 0x1c8]
call sub.rzlsys.dll_public:_class_RZLDateEx____thiscall_RZLDateEx::operator_class_RZLDateEx_const__
lea eax, [ebp - 0x104]
push eax
lea ecx, [esi + 0x1d4]
call sub.TL320mi.dll_Ordinal_144
mov ecx, dword [esi + 0x28c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x100bef1e
mov eax, dword [esi + 0xc]
lea ecx, [esi + 0xc]
push dword [esi + 0x28c]
mov eax, dword [eax + 8]
call eax
test al, al
je 0x100bef1e
mov bl, 1
jmp 0x100bef20
xor bl, bl
mov ecx, dword [esi + 0x28c]
mov eax, dword [ecx]
call dword [eax + 0x24]
test bl, bl
je 0x100bef70
push 0xffffff
push esi
push 0xf4244
lea ecx, [ebp - 0x128]
mov byte [esi + 0xa2], 0
call sub.rzlsys.dll_public:_void___thiscall_MsgArg::constructor_int__class_Dispatcher___unsigned_int_
push esi
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x128], vtable.DocMsgArg.0
call sub.rzlsys.dll_public:_void___thiscall_MsgArg::SetDocHdl_void__
lea eax, [ebp - 0x128]
mov ecx, esi
push eax
call sub.rzlsys.dll_public:_void___thiscall_Dispatcher::SendMsg_class_MsgArg_const__
mov al, bl
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10175e83
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.10175e83
mov esp, ebp
pop ebp
ret 4
Function at 0x100ff190
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
lea ecx, [esi + 0x1c]
movzx eax, word [edi + 4]
mov word [esi + 4], ax
mov eax, dword [edi + 6]
mov dword [esi + 6], eax
mov eax, dword [edi + 0xa]
mov dword [esi + 0xa], eax
movzx eax, word [edi + 0xe]
mov word [esi + 0xe], ax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
lea eax, [edi + 0x1c]
cmp ecx, eax
je 0x100ff1e5
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x100ff1dc
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.1000cb10
lea eax, [edi + 0x34]
lea ecx, [esi + 0x34]
cmp ecx, eax
je 0x100ff202
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x100ff1f9
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.1000cb10
mov al, byte [edi + 0x4c]
mov byte [esi + 0x4c], al
mov eax, esi
pop edi
pop esi
pop ebp
ret 4

Function at 0x10100e90
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add ecx, 0x3a
pop ebp
jmp fcn.100ff190