joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b010
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, eax
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b020
mov ecx, dword [edi + 4]
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edx
push 1
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x40b063
mov edx, dword [esp + 0xc]
add edi, 0xc
push edi
push eax
push 0x444b00
push edx
call fcn.0040b430
add esp, 0x10
pop edi
pop esi
ret 4
pop edi
mov al, 1
pop esi
ret 4

Function at 0x40c440
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
jne 0x40c461
test ebx, ebx
je 0x40c4c7
pop edi
mov dword [ebx], esi
mov al, 1
pop ebp
ret 8
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 4]
push 0
lea eax, [esp + 0x10]
push eax
push esi
push ecx
push edx
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40c4a2
add edi, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x444e94
push ebp
call fcn.0040b430
add esp, 0x10
pop edi
pop ebp
ret 8
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x40c4c1
add edi, 0xc
push edi
push 0x444eb0
push ebp
call fcn.0040b430
add esp, 0xc
pop edi
pop ebp
ret 8
test ebx, ebx
je 0x40c4c7
mov dword [ebx], eax
pop edi
mov al, 1
pop ebp
ret 8

Function at 0x40c4d0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40c525
add esi, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x10]
push eax
push 0x444ed4
push ecx
call fcn.0040b430
add esp, 0x10
pop esi
pop ecx
ret 0xc
test edi, edi
je 0x40c52f
mov edx, dword [esp + 4]
mov dword [edi], edx
mov al, 1
pop esi
pop ecx
ret 0xc
Function at 0x40c880
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x43ce1b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x44d404]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44d404]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov edi, dword [esp + 0x254]
mov esi, ecx
mov eax, dword [esi + 4]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x20], esi
mov ebx, edx
mov dword [esp + 0x14], edi
je 0x40c8e9
push eax
call fcn.00421d6d
add esp, 4
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
or esi, 0xffffffff
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov word [esp + 0x30], bp
mov dword [esp + 0x24], vtable.t_fileRead.0
mov dword [esp + 0x238], ebp
mov dword [esp + 0x23c], ebp
push ebx
lea eax, [esp + 0x28]
push eax
xor edx, edx
mov eax, edi
mov dword [esp + 0x254], ebp
call fcn.0040c370
test al, al
je 0x40c97e
mov edx, dword [esp + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSize]
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x20], ebp
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x40c952
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40c952
xor esi, esi
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x240], esi
mov dword [esp + 0x20], ebp
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x40c99c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40c99c
xor edi, edi
jmp 0x40c99e
mov eax, dword [esp + 0x28]
cmp eax, esi
mov dword [esp + 0x24], vtable.t_file.0
je 0x40c995
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x40ca76
mov edi, esi
lea eax, [edi + 4]
push eax
mov dword [esp + 0x20], eax
call fcn.0042314d
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x40c9ed
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
push edx
push eax
push 0x444f50
push ebx
call fcn.0040b430
add esp, 0x10
mov bl, al
mov eax, dword [esp + 0x28]
cmp eax, 0xffffffff
mov dword [esp + 0x24], vtable.t_file.0
je 0x40c9e6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
jmp 0x40ca76
push edi
push esi
push ebx
lea ecx, [esp + 0x30]
call fcn.0040ce90
test al, al
jne 0x40ca12
mov ecx, dword [esp + 0x14]
push ecx
push 0x444e40
push ebx
call fcn.0040b430
add esp, 0xc
jmp 0x40c9cc
mov eax, dword [esp + 0x28]
cmp eax, 0xffffffff
je 0x40ca2a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x28], 0xffffffff
mov edx, dword [esp + 0x20]
push edi
push esi
push ebx
mov word [esp + 0x3c], bp
push edx
mov word [esi + edi + 2], bp
mov word [esi + edi], bp
call fcn.0040cb70
test al, al
jne 0x40ca6b
mov eax, dword [esp + 0x14]
push eax
push 0x444e40
push ebx
call fcn.0040b430
add esp, 0xc
lea ecx, [esp + 0x24]
mov bl, al
call fcn.0040ce60
mov al, bl
jmp 0x40ca76
lea ecx, [esp + 0x24]
call fcn.0040ce60
mov al, 1
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00421402
add esp, 0x23c
ret 4
Function at 0x40e280
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1550
call fcn.004363a0
mov eax, dword [0x44d404]
xor eax, esp
mov dword [esp + 0x154c], eax
push esi
push edi
mov esi, 1
mov edi, ecx
call fcn.0040e770
add dword [0x46d478], 1
push edi
mov esi, eax
push 0x104
push esi
call fcn.00422bd4
push 0x444374
lea eax, [esp + 0x18]
push edi
push eax
mov dword [esp + 0x20], 0
call fcn.00421ec1
mov edi, dword [esp + 0x20]
add esp, 0x18
test edi, edi
je 0x40e341
push 0x153c
lea ecx, [esp + 0x18]
push 0
push ecx
mov dword [esp + 0x1c], 0
call fcn.004223b0
push edi
push 1
lea edx, [esp + 0x24]
push 0x1540
push edx
call fcn.00421c7f
lea eax, [esp + 0x48]
add esp, 0x1c
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e313
sub eax, edx
sar eax, 1
je 0x40e334
mov eax, dword [esp + 0x155c]
neg eax
mov dword [esp + 0x155c], eax
mov ecx, dword [esp + 8]
push ecx
call fcn.00421915
add esp, 4
mov edx, dword [esp + 0x155c]
mov ecx, dword [esp + 0x1554]
mov dword [esi + 0x208], edx
mov eax, dword [ebx + 0x438]
mov dword [esi + 0x20c], eax
pop edi
mov dword [ebx + 0x438], esi
pop esi
xor ecx, esp
mov al, 1
call fcn.00421402
add esp, 0x1550
ret 4
Function at 0x413b10
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [edi + 4]
add eax, eax
add eax, eax
push eax
lea ebp, [ebx + 4]
lea esi, [eax + 4]
call fcn.0042314d
mov edx, eax
add esp, 4
test edx, edx
mov dword [esp + 0xc], edx
jne 0x413b41
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x10
ret
mov eax, dword [edi]
mov dword [edx], eax
mov eax, dword [eax + 8]
mov ecx, 1
jmp 0x413b54
mov ebp, dword [esp + 0x10]
test eax, eax
je 0x413b6d
jmp 0x413b60
mov dword [edx + ecx*4], eax
mov eax, dword [eax + 8]
add ecx, 1
test eax, eax
jne 0x413b60
mov eax, dword [edx + ecx*4 - 4]
sub ecx, 1
mov dword [ebp], esi
mov edi, dword [eax]
add ebp, 4
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
lea ebp, [esi + ebx]
jmp 0x413b90
movzx edx, word [edi]
mov word [ebp], dx
add edi, 2
add ebp, 2
test dx, dx
jne 0x413b90
movsx edx, word [eax + 0x10]
lea esi, [esi + edx*2 + 2]
mov dx, word [eax + 0x12]
mov word [esi + ebx], dx
mov edi, dword [eax + 4]
add esi, 2
test edi, edi
je 0x413c00
lea esp, [esp]
mov ax, word [edi + 6]
add ax, ax
mov word [esi + ebx], ax
movzx eax, ax
movzx ebp, ax
mov eax, dword [edi]
push ebp
add esi, 2
push eax
lea ecx, [esi + ebx]
push ecx
call fcn.00423ff0
mov dx, word [edi + 4]
add esi, ebp
mov word [esi + ebx], dx
mov edi, dword [edi + 8]
add esp, 0xc
add esi, 2
test edi, edi
jne 0x413bc0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
test ecx, ecx
mov edx, dword [esp + 0xc]
mov eax, dword [eax + 0xc]
jg 0x413b50
test eax, eax
jne 0x413b50
push edx
call fcn.00421d6d
add esp, 4
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x10
ret

Function at 0x415640
Capabilities:
Read file on windows

Disassembly:
push esi
push eax
mov esi, edx
push 1
push 0x1540
push esi
mov dword [esi + 0x1540], eax
mov dword [esi + 0x1544], ecx
call fcn.00421c7f
add esp, 0x10
cmp dword [esi + 4], 0x1534344
je 0x415674
and byte [esi + 0x1548], 0xfd
xor al, al
pop esi
ret
push edi
call fcn.00415890
mov edx, dword [esi + 0x1540]
or byte [esi + 0x1548], 8
push edx
call fcn.00422653
push 0
mov edi, eax
mov eax, dword [esi + 0x1540]
push 2
push eax
call fcn.004243dc
mov ecx, dword [esi + 0x1540]
push 0
sub eax, edi
push edi
push ecx
mov dword [esi + 0x1558], eax
call fcn.004243dc
add esp, 0x1c
pop edi
mov al, 1
pop esi
ret
Function at 0x4156c0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x1540], 0
je 0x4156d3
cmp dword [esp + 8], 0
jne 0x4156ea
push 0x44a4a0
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0
call fcn.00423f5f
mov ecx, dword [esi + 0x1974]
cmp ecx, dword [esi + 0x124]
jl 0x415726
mov al, byte [esi + 0x1548]
test al, 4
jne 0x415720
or al, 4
push 0x414
mov byte [esi + 0x1548], al
push 0
add esi, 0x155c
push esi
call fcn.004223b0
add esp, 0xc
xor al, al
pop esi
ret 4
mov dx, word [esi + 0x1760]
cmp dx, word [esi + 0x175e]
push ebp
lea ebp, [esi + 0x175e]
push edi
jl 0x4157cf
add dword [esi + 0x1970], 1
push 0x414
lea edi, [esi + 0x155c]
push 0
push edi
call fcn.004223b0
mov eax, dword [esi + 0x1540]
push eax
push 1
push 2
push ebp
call fcn.00421c7f
mov ecx, dword [esi + 0x1540]
push ecx
push 1
push 2
push edi
mov word [esi + 0x1760], 0
call fcn.00421c7f
mov edx, dword [esi + 0x1540]
movsx eax, word [edi]
push edx
push eax
lea ebp, [esi + 0x155e]
push 1
push ebp
call fcn.00421c7f
movsx edx, word [edi]
add esp, 0x3c
xor ecx, ecx
test edx, 0xfffffffe
jbe 0x4157cf
mov eax, ebp
movsx edx, word [eax]
mov dx, word [esi + edx*2 + 0x197c]
mov word [eax], dx
movsx edx, word [edi]
add ecx, 1
shr edx, 1
add eax, 2
cmp ecx, edx
jb 0x4157b2
mov eax, dword [esi + 0x1540]
add dword [esi + 0x1974], 1
add word [esi + 0x1760], 1
push eax
push 1
lea edi, [esi + 0x1764]
push 2
push edi
call fcn.00421c7f
mov ecx, dword [esi + 0x1540]
movsx edx, word [edi]
push ecx
push edx
lea eax, [esi + 0x1766]
push 1
push eax
call fcn.00421c7f
mov ecx, dword [esi + 0x1540]
push ecx
push 1
lea edi, [esi + 0x1762]
push 2
push edi
call fcn.00421c7f
movzx eax, word [edi]
add esp, 0x30
cmp ax, 0xa
movsx ebp, ax
jb 0x415839
mov ebp, 0xa
mov edx, dword [esi + 0x1540]
push edx
push ebp
lea eax, [esi + 0x1966]
push 1
push eax
call fcn.00421c7f
movzx eax, word [edi]
add esp, 0x10
cmp ax, bp
jle 0x415871
mov edx, dword [esi + 0x1540]
movsx ecx, ax
sub ecx, ebp
push ecx
push 1
push edx
call fcn.004243dc
add esp, 0xc
mov eax, dword [esp + 0x10]
pop edi
add esi, 0x155c
mov dword [eax], esi
pop ebp
mov al, 1
pop esi
ret 4
Function at 0x415890
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x24
mov eax, dword [0x44d404]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x1540]
push ebx
push ebp
push edi
push eax
push 1
lea ebx, [esi + 0x1978]
push 4
push ebx
call fcn.00421c7f
xor ebp, ebp
add esp, 0x10
xor edi, edi
cmp dword [ebx], ebp
jle 0x415999
lea ecx, [esi + 0x197c]
mov dword [esp + 0x14], ecx
mov edx, dword [esi + 0x1540]
push edx
push 1
lea eax, [esp + 0x20]
push 2
push eax
call fcn.00421c7f
mov ecx, dword [esi + 0x1540]
push ecx
push 1
lea edx, [esp + 0x24]
push 2
push edx
call fcn.00421c7f
mov eax, dword [esi + 0x1540]
movsx ecx, word [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x44]
push 1
push edx
call fcn.00421c7f
movsx eax, word [esp + 0x3c]
shr eax, 1
mov word [esp + eax*2 + 0x4c], bp
mov eax, dword [0x46d47c]
add esp, 0x30
cmp eax, ebp
jne 0x415955
push 0x14
call fcn.00421839
add esp, 4
cmp eax, ebp
je 0x41594e
mov dword [eax], vtable.t_sysCopusPy.0
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], ebp
jmp 0x415950
xor eax, eax
mov dword [0x46d47c], eax
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
mov ax, word [ecx + 4]
lea edx, [esp + 0x24]
push edx
call fcn.00415070
add esp, 0xc
test al, al
je 0x41597d
movzx eax, word [esp + 0x10]
jmp 0x415980
or eax, 0xffffffff
mov ecx, dword [esp + 0x14]
mov word [ecx], ax
add edi, 1
add ecx, 2
cmp edi, dword [ebx]
mov dword [esp + 0x14], ecx
jl 0x4158d1
mov ecx, dword [esp + 0x2c]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00421402
add esp, 0x24
ret
Function at 0x418e10
Capabilities:
Read file on windows

Disassembly:
push edi
mov edi, eax
push edi
push 1
push 0x1540
push esi
call fcn.00421c7f
add esp, 0x10
push esi
call fcn.00418e40
mov byte [esi + 0x1540], al
mov eax, esi
pop edi
ret

Function at 0x418e40
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x880
mov eax, dword [0x44d404]
xor eax, esp
mov dword [esp + 0x87c], eax
push 2
push 0
push edi
call fcn.004243dc
push edi
call fcn.00422653
add esp, 0x10
cmp eax, 0x1540
ja 0x418e87
xor al, al
mov ecx, dword [esp + 0x87c]
xor ecx, esp
call fcn.00421402
add esp, 0x880
ret 4
push 0
push 0x1540
push edi
call fcn.004243dc
push 0x7fe
lea eax, [esp + 0x8e]
push 0
push eax
mov word [esp + 0x94], 0
call fcn.004223b0
xor eax, eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x78], 0
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], eax
mov dword [esp + 0x89], eax
mov dword [esp + 0x8d], eax
mov dword [esp + 0x91], eax
mov word [esp + 0x95], ax
mov byte [esp + 0x97], al
call fcn.00439e10
push edi
push 0x400
lea edx, [esp + 0xa0]
push 1
push edx
call fcn.00421c7f
add esp, 0x2c
test eax, eax
je 0x418f4f
lea esp, [esp]
push eax
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 8]
push ecx
call fcn.00439e20
push edi
push 0x400
lea edx, [esp + 0x90]
push 1
push edx
call fcn.00421c7f
add esp, 0x1c
test eax, eax
jne 0x418f20
lea eax, [esp]
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.00439e90
mov ecx, dword [esp + 0x88c]
add esp, 8
push ebx
mov eax, 0x10
add ecx, 0xc
lea edx, [esp + 0x60]
push esi
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x418f8d
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x418f75
test eax, eax
je 0x418fea
movzx ebx, byte [ecx]
movzx esi, byte [edx]
sub esi, ebx
jne 0x418fdc
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x418fea
movzx ebx, byte [ecx]
movzx esi, byte [edx]
sub esi, ebx
jne 0x418fdc
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x418fea
movzx ebx, byte [ecx]
movzx esi, byte [edx]
sub esi, ebx
jne 0x418fdc
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x418fea
movzx eax, byte [ecx]
movzx esi, byte [edx]
sub esi, eax
je 0x418fea
test esi, esi
mov eax, 1
jg 0x418fec
or eax, 0xffffffff
jmp 0x418fec
xor eax, eax
push 0
test eax, eax
push 0x1540
push edi
sete bl
call fcn.004243dc
mov ecx, dword [esp + 0x890]
add esp, 0xc
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.00421402
add esp, 0x880
ret 4
Function at 0x41c4d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push esi
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push str.SoftwareSogouInput
lea esi, [ecx + 0x99c]
push 0x80000002
mov word [esi], 0
xor bl, bl
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41c52a
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push esi
push eax
push edx
mov dword [esp + 0x1c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x41c52a
mov bl, 1
mov eax, dword [esp + 8]
test eax, eax
je 0x41c539
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
add esp, 8
ret

Function at 0x41cc00
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x43c5fb
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x44d404]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push esi
push edi
mov eax, dword [0x44d404]
xor eax, esp
push eax
lea eax, [esp + 0x484]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x494]
mov edi, ecx
lea esi, [edi + 0x794]
push esi
call fcn.0040c2a0
add esp, 4
test al, al
jne 0x41cc7b
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41cca6
push 0x10000000
push 1
push esi
call fcn.0040bd50
push 1
push esi
call fcn.0040bf80
add esp, 0x14
push 0x104
lea eax, [esp + 0x27c]
push eax
mov ecx, edi
call fcn.0041c550
test al, al
jne 0x41ccb9
push 0x43f6d8
push ebx
call fcn.0040b430
add esp, 8
jmp 0x41cd4c
push 0x43f6b4
push ebx
call fcn.0040b430
add esp, 8
jmp 0x41cd4c
lea ecx, [esp + 0x278]
push ecx
call fcn.0040c2a0
add esp, 4
test al, al
jne 0x41cd4a
lea ecx, [esp + 0x10]
call fcn.0041e0f0
lea edx, [esp + 0x278]
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x490], 0
call fcn.00420620
push 0x43f580
lea ecx, [esp + 0x14]
call fcn.00420150
push ebx
lea ecx, [esp + 0x14]
call fcn.0041d9e0
test al, al
jne 0x41cd36
push str.UserManager::PrepareAccFile
push ebx
call fcn.0040b430
add esp, 8
lea ecx, [esp + 0x10]
mov bl, al
mov dword [esp + 0x48c], 0xffffffff
call fcn.0041cba0
mov al, bl
jmp 0x41cd4c
lea ecx, [esp + 0x10]
mov dword [esp + 0x48c], 0xffffffff
call fcn.0041cba0
mov al, 1
mov ecx, dword [esp + 0x484]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.00421402
add esp, 0x480
ret 4
Function at 0x420690
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x34
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x21c]
xor ebp, ebp
cmp eax, ebp
push edi
mov dword [esp + 0xc], ebp
je 0x4206b7
push eax
call fcn.00421d6d
add esp, 4
mov dword [esi + 0x21c], ebp
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
mov ecx, esi
mov dword [esi + 0x220], ebp
call edx
lea eax, [esp + 0x10]
push eax
lea edi, [esi + 4]
push edi
call fcn.00422063
add esp, 8
test eax, eax
je 0x4206f7
mov ecx, dword [esp + 0x44]
push edi
push str.UserFile::Load
push ecx
call fcn.0040b430
add esp, 0xc
pop edi
pop esi
pop ebp
add esp, 0x34
ret 4
push ebx
mov ebx, dword [esp + 0x28]
cmp ebx, 0x20
jg 0x42071d
mov edx, dword [esp + 0x48]
push 0x43fb2c
push edx
call fcn.0040b430
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x34
ret 4
push 0x444374
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00421ec1
add esp, 0xc
cmp dword [esp + 0x10], ebp
jne 0x420753
mov ecx, dword [esp + 0x48]
push edi
push 0x43faf8
push ecx
call fcn.0040b430
add esp, 0xc
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x34
ret 4
push ebx
call fcn.0042314d
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x42077f
mov edx, dword [esp + 0x48]
push ebx
push 0x43fac0
push edx
call fcn.0040b430
add esp, 0xc
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x34
ret 4
mov eax, dword [esp + 0x10]
push eax
push 1
push ebx
push edi
call fcn.00421c7f
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00421915
add esp, 0x14
push ebx
push edi
push ebx
push ebp
mov ecx, esi
call fcn.00420220
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4207ce
push edi
call fcn.00421d6d
mov edx, dword [esp + 0x4c]
push 0x43fa84
push edx
call fcn.0040b430
add esp, 0xc
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x34
ret 4
push ebp
call fcn.0042314d
add esp, 4
push ebx
push edi
push ebp
push eax
mov ecx, esi
mov dword [esi + 0x21c], eax
call fcn.00420220
push edi
mov dword [esi + 0x220], eax
call fcn.00421d6d
add esp, 4
cmp dword [esi + 0x220], 0xffffffff
mov ecx, esi
jne 0x420823
call fcn.00420120
mov eax, dword [esp + 0x48]
push 0x43fa48
push eax
call fcn.0040b430
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x34
ret 4
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
call eax
test al, al
jne 0x42084a
mov ecx, dword [esp + 0x48]
push 0x43fa10
push ecx
call fcn.0040b430
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x34
ret 4
pop ebx
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x34
ret 4
Function at 0x420860
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [esi + 0x220]
push eax
push 0
push 0
push 0
mov ecx, esi
call fcn.00420430
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x42089f
mov ecx, dword [esp + 0x10]
push str.UserFile::Save
push ecx
call fcn.0040b430
add esp, 8
pop esi
pop ebx
pop ecx
ret 4
push edi
push ebx
call fcn.0042314d
mov edx, dword [esi + 0x220]
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x21c]
push edx
push eax
push ebx
push edi
mov ecx, esi
call fcn.00420430
cmp eax, 0xffffffff
jne 0x4208e6
push edi
call fcn.00421d6d
mov ecx, dword [esp + 0x18]
push 0x43fbc8
push ecx
call fcn.0040b430
add esp, 0xc
pop edi
pop esi
pop ebx
pop ecx
ret 4
push 0x444a04
add esi, 4
lea edx, [esp + 0x10]
push esi
push edx
mov dword [esp + 0x18], 0
call fcn.00421ec1
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
jne 0x42092c
push edi
call fcn.00421d6d
mov eax, dword [esp + 0x18]
push esi
push 0x43fb94
push eax
call fcn.0040b430
add esp, 0x10
pop edi
pop esi
pop ebx
pop ecx
ret 4
push eax
push 1
push ebx
push edi
call fcn.0042336f
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00421915
push 1
push esi
call fcn.0040bf80
push edi
call fcn.00421d6d
add esp, 0x20
pop edi
pop esi
mov al, 1
pop ebx
pop ecx
ret 4

Function at 0x421402
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44d404]
jne 0x42140c
repz ret
jmp fcn.00428398
Function at 0x4219e3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x421a20
cmp dword [ebp + 0x14], edi
je 0x421a20
cmp ecx, edi
jne 0x421a27
call fcn.0042483b
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.004217e7
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x421a3b
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x421a5c
cmp ebx, 0xffffffff
je 0x421a4b
push ebx
push edi
push ecx
call fcn.004223b0
add esp, 0xc
cmp esi, edi
je 0x421a08
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x421a08
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x421a78
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x421a7f
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x421b70
test word [esi + 0xc], 0x10c
je 0x421ad3
mov eax, dword [esi + 4]
test eax, eax
je 0x421ad3
jl 0x421bd1
cmp ebx, eax
mov edi, ebx
jb 0x421aa4
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x421b78
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00421666
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x421b68
cmp ebx, dword [ebp - 0xc]
jb 0x421b40
cmp dword [ebp - 0xc], 0
je 0x421afd
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x421af2
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x421af9
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x421b08
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x421b08
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x421ba4
push eax
push dword [ebp - 8]
push esi
call fcn.00428c52
pop ecx
push eax
call fcn.00429c20
add esp, 0xc
test eax, eax
je 0x421be3
cmp eax, 0xffffffff
je 0x421bd1
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x421b68
push esi
call fcn.0042953f
cmp eax, 0xffffffff
pop ecx
je 0x421bd5
cmp dword [ebp - 4], 0
je 0x421ba4
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x421a87
mov eax, dword [ebp + 0x14]
jmp 0x421a22
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x421b8f
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.004223b0
add esp, 0xc
call fcn.0042483b
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x421a18
cmp dword [ebp + 0xc], 0xffffffff
je 0x421bba
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004223b0
add esp, 0xc
call fcn.0042483b
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x421a18
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x421a22
or dword [esi + 0xc], 0x10
jmp 0x421bd5