joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418090
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x4985db
mov eax, dword fs:[0]
push eax
sub esp, 0x36c
mov eax, dword [0x4c5280]
xor eax, esp
mov dword [esp + 0x368], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c5280]
xor eax, esp
push eax
lea eax, [esp + 0x380]
mov dword fs:[0], eax
mov eax, dword [esp + 0x394]
mov ebp, dword [esp + 0x390]
mov ebx, ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 4]
xor edi, edi
mov dword [esp + 0x1c], ebp
cmp eax, edi
je 0x4180fe
push eax
call fcn.00475125
add esp, 4
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
lea esi, [esp + 0x24]
call fcn.00418900
mov eax, dword [esp + 0x18]
push edi
push ebp
mov ecx, esi
mov dword [esp + 0x390], edi
call fcn.00415eb0
test al, al
je 0x4181cc
mov edx, dword [esp + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileSize]
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x28], edi
call ebp
mov esi, eax
cmp esi, 0xffffffff
jne 0x41814c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
je 0x41814c
xor esi, esi
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x37c], esi
mov dword [esp + 0x28], edi
call ebp
mov esi, eax
cmp esi, 0xffffffff
jne 0x418176
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
je 0x418176
xor esi, esi
lea edx, [esi + 4]
push edx
call fcn.00475202
mov ebp, eax
add esp, 4
cmp ebp, edi
jne 0x4181fa
mov ebx, dword [esp + 0x18]
cmp byte [ebx + 0x11c], 0
je 0x41819a
add ebx, 0xc
jmp 0x41819d
mov ebx, dword [ebx + 8]
mov eax, dword [esp + 0x1c]
call fcn.0040f780
push 0x4ba558
mov esi, eax
push 0x4b8ff4
mov edx, esi
call fcn.00410f90
add ebx, 4
push ebx
push 0x4b8ff4
mov edx, esi
call fcn.00410f90
add esp, 0x10
mov dword [esp + 0x388], 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.00415df0
xor al, al
jmp 0x4182cc
mov edi, dword [esp + 0x1c]
push esi
push ebp
push edi
lea ecx, [esp + 0x37c]
call fcn.00418a20
test al, al
jne 0x418245
mov ebx, dword [esp + 0x18]
cmp byte [ebx + 0x11c], al
je 0x418231
mov eax, edi
add ebx, 0xc
call fcn.0040f780
push 0x4ba2bc
jmp 0x4181ab
mov ebx, dword [ebx + 8]
mov eax, edi
call fcn.0040f780
push 0x4ba2bc
jmp 0x4181ab
lea edi, [esp + 0x24]
call fcn.00416100
mov edi, dword [esp + 0x1c]
push esi
push ebp
push edi
xor eax, eax
xor ecx, ecx
push ebx
mov word [esi + ebp + 2], ax
mov word [esi + ebp], cx
call fcn.00418460
test al, al
jne 0x4182a3
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x11c], 0
lea esi, [eax + 0xc]
jne 0x41827f
mov esi, dword [eax + 8]
push 0x4ba2bc
mov eax, edi
call fcn.00407b00
add esi, 4
push esi
push 0x4b8ff4
mov edx, eax
call fcn.00410f90
add esp, 8
jmp 0x4181cc
mov dword [esp + 0x388], 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.00415df0
mov al, 1
mov ecx, dword [esp + 0x380]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x368]
xor ecx, esp
call fcn.00474db0
add esp, 0x378
ret 8
Function at 0x4189d0
Capabilities:
Get file size

Disassembly:
push 0
push eax
mov eax, dword [esp + 0xc]
mov ecx, edi
call fcn.00415eb0
test al, al
jne 0x4189e5
ret 4
mov edx, dword [edi + 4]
push esi
lea ecx, [esp + 8]
push ecx
push edx
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x418a10
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x418a10
xor esi, esi
mov dword [edi + 0x350], esi
mov al, 1
pop esi
ret 4

Function at 0x418af0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x5c], eax
lea eax, [esp + 4]
push ebx
push eax
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00418b50
mov byte [esp + 0xb], al
mov eax, dword [esp + 0x70]
add esp, 4
lea ebx, [esp + 8]
call fcn.00419270
mov al, byte [esp + 7]
pop ebx
add esp, 0x64
ret
Function at 0x418b50
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x498e6b
mov eax, dword fs:[0]
push eax
sub esp, 0x36c
mov eax, dword [0x4c5280]
xor eax, esp
mov dword [esp + 0x364], eax
push ebx
push esi
push edi
mov eax, dword [0x4c5280]
xor eax, esp
push eax
lea eax, [esp + 0x37c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38c]
lea esi, [esp + 0x1c]
mov ebx, ecx
mov dword [esp + 0x14], eax
mov edi, edx
call fcn.00418900
push 0
push ebx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x38c], 0
call fcn.00415eb0
test al, al
je 0x418caf
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x418bec
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x418bec
xor esi, esi
push 0x100000
mov dword [esp + 0x370], esi
call fcn.00475202
mov edi, eax
mov eax, dword [esp + 0x370]
add esp, 4
sub eax, dword [esp + 0x370]
je 0x418c56
mov esi, eax
cmp eax, 0x100000
jb 0x418c20
mov esi, 0x100000
push esi
push edi
push ebx
lea ecx, [esp + 0x374]
call fcn.00418a20
push edi
test al, al
je 0x418ceb
mov ecx, dword [esp + 0x18]
mov eax, esi
call fcn.00418fd0
mov eax, dword [esp + 0x370]
add esp, 4
sub eax, dword [esp + 0x370]
jne 0x418c12
push edi
call fcn.00475125
mov dword [esp + 0x388], 0xffffffff
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.00415df0
mov al, 1
mov ecx, dword [esp + 0x37c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x364]
xor ecx, esp
call fcn.00474db0
add esp, 0x378
ret
push 0x4ba704
mov eax, ebx
call fcn.0040f830
mov dword [esp + 0x388], 0xffffffff
add esp, 4
lea ecx, [esp + 0x1c]
mov bl, al
mov dword [esp + 0x1c], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.00415df0
mov al, bl
jmp 0x418c88
call fcn.00475125
add esp, 4
mov eax, ebx
call fcn.0040f780
push 0x4ba704
push 0x4b8ff4
mov edx, eax
call fcn.00410f90
mov dword [esp + 0x38c], 0xffffffff
add esp, 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.t_fileRead.0
mov dword [esp + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.00415df0
xor al, al
jmp 0x418c88
Function at 0x419cc0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, ebx
call fcn.00419a20
test eax, eax
jl 0x419ef8
mov edx, dword [ebx + 0xf0]
add edx, edx
push esi
add edx, edx
xor esi, esi
push edi
test edx, edx
jle 0x419d2d
lea ecx, [ebx + edx*4 + 8]
lea eax, [ebx + 8]
push ebp
lea esp, [esp]
mov ebp, dword [ecx - 8]
mov edi, dword [eax - 8]
mov dword [eax - 8], ebp
mov ebp, dword [ecx - 4]
mov dword [ecx - 8], edi
mov edi, dword [eax - 4]
mov dword [eax - 4], ebp
mov ebp, dword [ecx]
mov dword [ecx - 4], edi
mov edi, dword [eax]
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [eax + 4], ebp
mov dword [ecx + 4], edi
add esi, 4
sub edx, 4
add eax, 0x10
sub ecx, 0x10
cmp esi, edx
jl 0x419cf0
pop ebp
mov edx, 1
cmp dword [ebx + 0xf0], edx
jle 0x419ef4
lea eax, [ebx + 2]
mov ecx, dword [eax + 0xe]
movzx edi, byte [eax + 0xf]
mov edi, dword [edi*4 + 0x4b39f8]
add eax, 0x10
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x4b39f8]
and esi, 0xff
mov esi, dword [esi*4 + 0x4b45f8]
and edi, 0xff
xor esi, dword [edi*4 + 0x4b4df8]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4b39f8]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4b51f8]
movzx ecx, byte [eax]
mov ecx, dword [ecx*4 + 0x4b39f8]
movzx edi, byte [eax + 3]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4b49f8]
mov ecx, dword [eax + 2]
mov dword [eax - 2], esi
mov edi, dword [edi*4 + 0x4b39f8]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x4b39f8]
and esi, 0xff
mov esi, dword [esi*4 + 0x4b45f8]
and edi, 0xff
xor esi, dword [edi*4 + 0x4b4df8]
movzx edi, byte [eax + 4]
mov edi, dword [edi*4 + 0x4b39f8]
and edi, 0xff
xor esi, dword [edi*4 + 0x4b49f8]
movzx edi, byte [eax + 7]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4b39f8]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4b51f8]
mov ecx, dword [eax + 6]
mov dword [eax + 2], esi
mov edi, dword [edi*4 + 0x4b39f8]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x4b39f8]
and esi, 0xff
mov esi, dword [esi*4 + 0x4b45f8]
and edi, 0xff
xor esi, dword [edi*4 + 0x4b4df8]
movzx edi, byte [eax + 8]
mov edi, dword [edi*4 + 0x4b39f8]
and edi, 0xff
xor esi, dword [edi*4 + 0x4b49f8]
movzx edi, byte [eax + 0xb]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4b39f8]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4b51f8]
mov ecx, dword [eax + 0xa]
mov dword [eax + 6], esi
mov edi, dword [edi*4 + 0x4b39f8]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x4b39f8]
and esi, 0xff
mov esi, dword [esi*4 + 0x4b45f8]
and edi, 0xff
xor esi, dword [edi*4 + 0x4b4df8]
movzx edi, byte [eax + 0xc]
mov edi, dword [edi*4 + 0x4b39f8]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4b39f8]
and edi, 0xff
xor esi, dword [edi*4 + 0x4b49f8]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4b51f8]
inc edx
mov dword [eax + 0xa], esi
cmp edx, dword [ebx + 0xf0]
jl 0x419d41
pop edi
xor eax, eax
pop esi
ret
Function at 0x41aa40
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
mov edi, eax
cmp edi, 3
mov esi, edx
jl 0x41aac5
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea eax, [edx + edx*2]
sub edi, eax
push ebx
lea ebx, [ebx]
movzx eax, byte [esi]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
movzx eax, byte [esi]
movzx ebx, byte [esi + 1]
and eax, 3
shl eax, 4
shr ebx, 4
or eax, ebx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
movzx eax, byte [esi + 1]
movzx ebx, byte [esi + 2]
inc ecx
and eax, 0xf
add eax, eax
add eax, eax
shr ebx, 6
or eax, ebx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
movzx eax, byte [esi + 2]
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
add esi, 3
sub edx, 1
jne 0x41aa60
pop ebx
test edi, edi
jle 0x41ab25
movzx edx, byte [esi]
shr edx, 2
movzx eax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov al, byte [esi]
and al, 3
inc ecx
shl al, 4
cmp edi, 1
jle 0x41aaed
mov dl, byte [esi + 1]
shr dl, 4
or al, dl
movzx eax, al
mov dl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
inc ecx
cmp edi, 2
jge 0x41ab0f
mov eax, 0x3d
mov byte [ecx], al
inc ecx
mov byte [ecx], al
inc ecx
pop edi
mov byte [ecx], 0
pop esi
ret
movzx eax, byte [esi + 1]
and eax, 0xf
movsx eax, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x3d
inc ecx
pop edi
mov byte [ecx], 0
pop esi
ret
Function at 0x41b240
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4985b0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4c5280]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov byte [esp + 0x20], bl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], vtable.t_lockerMemSharable.0
mov byte [esp + 0x38], 1
mov eax, dword [vtable.t_mutex.0]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c7468
call edx
test al, al
lea eax, [esp + 0x1c]
jne 0x41b369
push str.t_mutex::Lock
call fcn.0040f830
add esp, 4
cmp al, bl
je 0x41b381
mov edx, dword [esi + 8]
mov edx, dword [edx]
push ebx
lea eax, [esp + 0x14]
push eax
add esi, 8
lea ecx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov dword [esp + 0x28], 0x4c7468
mov dword [esp + 0x20], ebx
call edx
test al, al
je 0x41b381
cmp dword [esp + 0x10], ebx
je 0x41b381
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], eax
push edx
lea eax, [esp + 0x28]
mov dword [esp + 0x28], ecx
call fcn.0041c530
neg eax
sbb eax, eax
and eax, 2
xor ecx, ecx
add eax, 0xfffffffe
cmp eax, ebx
sete cl
mov byte [esp + 0x38], bl
mov dword [esp + 0x14], vtable.t_mutex::t_locker.0
mov esi, ecx
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x41b349
call fcn.00415300
mov dword [esp + 0x18], ebx
lea edi, [esp + 0x1c]
call fcn.0040f730
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [vtable.t_mutex.0]
push eax
mov eax, dword [edx + 0x10]
mov ecx, 0x4c7468
call eax
test al, al
jmp 0x41b2b7
mov byte [esp + 0x38], bl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], vtable.t_mutex::t_locker.0
cmp ecx, ebx
je 0x41b39e
call fcn.00415300
mov dword [esp + 0x18], ebx
lea edi, [esp + 0x1c]
call fcn.0040f730
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41b3c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4985b0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4c5280]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov byte [esp + 0x20], bl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], vtable.t_lockerMemSharable.0
mov byte [esp + 0x38], 1
mov eax, dword [vtable.t_mutex.0]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c7468
call edx
test al, al
lea eax, [esp + 0x1c]
jne 0x41b4d8
push str.t_mutex::Lock
call fcn.0040f830
add esp, 4
cmp al, bl
je 0x41b4f0
mov edx, dword [esi + 8]
mov edx, dword [edx]
push ebx
lea eax, [esp + 0x14]
push eax
add esi, 8
lea ecx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov dword [esp + 0x28], 0x4c7468
mov dword [esp + 0x20], ebx
call edx
test al, al
je 0x41b4f0
cmp dword [esp + 0x10], ebx
je 0x41b4f0
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x24]
call fcn.0041c600
mov esi, eax
neg esi
sbb esi, esi
mov byte [esp + 0x38], bl
mov ecx, dword [esp + 0x18]
inc esi
mov dword [esp + 0x14], vtable.t_mutex::t_locker.0
cmp ecx, ebx
je 0x41b4b8
call fcn.00415300
mov dword [esp + 0x18], ebx
lea edi, [esp + 0x1c]
call fcn.0040f730
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [vtable.t_mutex.0]
push eax
mov eax, dword [edx + 0x10]
mov ecx, 0x4c7468
call eax
test al, al
jmp 0x41b437
mov byte [esp + 0x38], bl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], vtable.t_mutex::t_locker.0
cmp ecx, ebx
je 0x41b50d
call fcn.00415300
mov dword [esp + 0x18], ebx
lea edi, [esp + 0x1c]
call fcn.0040f730
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41b530
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4985b0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4c5280]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov byte [esp + 0x20], bl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], vtable.t_lockerMemSharable.0
mov byte [esp + 0x38], 1
mov eax, dword [vtable.t_mutex.0]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c7468
call edx
test al, al
lea eax, [esp + 0x1c]
jne 0x41b651
push str.t_mutex::Lock
call fcn.0040f830
add esp, 4
cmp al, bl
je 0x41b669
mov edx, dword [esi + 8]
mov edx, dword [edx]
push ebx
lea eax, [esp + 0x14]
push eax
add esi, 8
lea ecx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov dword [esp + 0x28], 0x4c7468
mov dword [esp + 0x20], ebx
call edx
test al, al
je 0x41b669
cmp dword [esp + 0x10], ebx
je 0x41b669
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], eax
push edx
lea eax, [esp + 0x28]
push eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x2c], ecx
call fcn.0041c6f0
mov esi, eax
neg esi
sbb esi, esi
mov byte [esp + 0x38], bl
mov ecx, dword [esp + 0x18]
inc esi
mov dword [esp + 0x14], vtable.t_mutex::t_locker.0
cmp ecx, ebx
je 0x41b631
call fcn.00415300
mov dword [esp + 0x18], ebx
lea edi, [esp + 0x1c]
call fcn.0040f730
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [vtable.t_mutex.0]
push eax
mov eax, dword [edx + 0x10]
mov ecx, 0x4c7468
call eax
test al, al
jmp 0x41b5a7
mov byte [esp + 0x38], bl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], vtable.t_mutex::t_locker.0
cmp ecx, ebx
je 0x41b686
call fcn.00415300
mov dword [esp + 0x18], ebx
lea edi, [esp + 0x1c]
call fcn.0040f730
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41ba90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4992f8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
mov eax, dword [0x4c5280]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], vtable.t_lockerMemSharable.0
mov dword [esp + 0x30], ebp
mov eax, dword [vtable.t_mutex.0]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c7468
call edx
test al, al
jne 0x41baee
push str.t_mutex::Lock
mov eax, edi
call fcn.0040f830
add esp, 4
jmp 0x41bafe
mov eax, dword [vtable.t_mutex.0]
mov edx, dword [eax + 0x10]
push edi
mov ecx, 0x4c7468
call edx
test al, al
je 0x41bbac
mov eax, dword [ebx + 8]
mov eax, dword [eax]
push ebp
lea ecx, [esp + 0x18]
push ecx
lea esi, [ebx + 8]
lea edx, [esp + 0x20]
push edx
push edi
mov ecx, esi
mov dword [esp + 0x2c], 0x4c7468
mov dword [esp + 0x24], ebp
call eax
test al, al
je 0x41bc4c
cmp dword [esp + 0x14], ebp
je 0x41bc4c
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov esi, eax
push esi
call fcn.00475202
mov ecx, dword [esp + 0x18]
add esp, 4
push esi
push ecx
mov ebp, eax
push esi
push ebp
call fcn.00475f0e
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test ecx, ecx
je 0x41bb77
call fcn.00415300
mov dword [esp + 0x1c], 0
mov edx, dword [ebx + 0x23c]
mov eax, dword [edx + 4]
lea ecx, [ebx + 0x23c]
push edi
call eax
test al, al
jne 0x41bbbd
push str.Save_Failed_PreparePath_
mov eax, edi
call fcn.00407b00
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jmp 0x41bc75
mov eax, edi
call fcn.0040f780
push str.Save_Failed_Lock_.
jmp 0x41bc58
cmp byte [ebx + 0x574], 0
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], esi
je 0x41bbd6
add ebx, 0x464
jmp 0x41bbdc
mov ebx, dword [ebx + 0x460]
add ebx, 4
push ebx
mov ecx, edi
lea edx, [esp + 0x24]
call fcn.0041d4e0
push ebp
test al, al
jne 0x41bc1e
call fcn.00475125
add esp, 4
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.0040d9d0
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
call fcn.00475125
add esp, 4
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.0040d9d0
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov eax, edi
call fcn.0040f780
push str.Save_Failed_GetBasePtr_.
push 0x4b8ff4
mov edx, eax
call fcn.00410f90
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x24]
add esp, 8
cmp ecx, ebp
mov dword [esp + 0x18], vtable.t_mutex::t_locker.0
je 0x41bc84
call fcn.00415300
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x41c110
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4985b0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4c5280]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov byte [esp + 0x20], bl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], vtable.t_lockerMemSharable.0
mov byte [esp + 0x38], 1
mov eax, dword [vtable.t_mutex.0]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c7468
call edx
test al, al
lea eax, [esp + 0x1c]
jne 0x41c220
push str.t_mutex::Lock
call fcn.0040f830
add esp, 4
cmp al, bl
je 0x41c238
mov edx, dword [esi + 8]
mov edx, dword [edx]
push ebx
lea eax, [esp + 0x14]
push eax
add esi, 8
lea ecx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov dword [esp + 0x28], 0x4c7468
mov dword [esp + 0x20], ebx
call edx
test al, al
je 0x41c238
cmp dword [esp + 0x10], ebx
je 0x41c238
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 8]
push edx
mov dword [esp + 0x2c], eax
call fcn.0041d780
mov byte [esp + 0x38], bl
mov ecx, dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x14], vtable.t_mutex::t_locker.0
cmp ecx, ebx
je 0x41c200
call fcn.00415300
mov dword [esp + 0x18], ebx
lea edi, [esp + 0x1c]
call fcn.0040f730
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [vtable.t_mutex.0]
push eax
mov eax, dword [edx + 0x10]
mov ecx, 0x4c7468
call eax
test al, al
jmp 0x41c187
mov byte [esp + 0x38], bl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], vtable.t_mutex::t_locker.0
cmp ecx, ebx
je 0x41c255
call fcn.00415300
mov dword [esp + 0x18], ebx
lea edi, [esp + 0x1c]
call fcn.0040f730
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4