Function at 0x420820
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x472cb3
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x9c]
mov eax, dword [edi + 0x30]
xor ebx, ebx
push ebx
lea ecx, [esp + 0x1c]
push ecx
push esi
push edx
push eax
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, ebx
je 0x42087c
cmp esi, dword [esp + 0x18]
jne 0x42087c
xor eax, eax
jmp 0x420aa2
push 0x3e
push str.._src_file_npFileImpl.cpp_106__:__npz::log::npFileImpl::write_
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.00401540
mov dword [esp + 0x94], ebx
mov dword [esp + 0x14], ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov byte [esp + 0x98], 1
call fcn.0041c820
add esp, 4
cmp dword [0x4af498], ebx
je 0x4208ee
call fcn.0041ad80
cmp dword [eax + 4], ebx
jne 0x4208ee
call fcn.0041ad80
mov esi, dword [esp + 0x14]
mov ecx, dword [eax]
push esi
push 2
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
add esp, 0x10
jmp 0x420904
mov esi, dword [esp + 0x14]
push esi
mov ecx, 2
lea edx, [esp + 0x20]
call fcn.0041afc0
add esp, 4
push esi
call fcn.0045332d
mov ebp, 8
add esp, 4
mov dword [esp + 0x94], 0xffffffff
cmp dword [esp + 0x34], ebp
jb 0x420930
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00452ad1
add esp, 4
cmp dword [0x4af498], ebx
je 0x4209f1
call fcn.0041ad80
cmp dword [eax + 4], ebx
jne 0x4209f1
push str.._src_file_npFileImpl.cpp_107__:__npz::log::npFileImpl::write_
lea ecx, [esp + 0x74]
call fcn.004014d0
mov dword [esp + 0x94], 2
call fcn.0041ad80
mov ebx, eax
call fcn.0041bcc0
push eax
mov ecx, 0x22200001
lea esi, [esp + 0x20]
call fcn.0041f950
mov byte [esp + 0x94], 3
cmp dword [edi + 0x1c], ebp
jb 0x420990
mov edi, dword [edi + 8]
jmp 0x420993
add edi, 8
cmp dword [eax + 0x18], ebp
jb 0x42099d
mov eax, dword [eax + 4]
jmp 0x4209a0
add eax, 4
mov edx, dword [ebx]
mov ecx, dword [edx + 0x10]
push edi
push eax
push 2
lea eax, [esp + 0x7c]
push eax
push ebx
call ecx
add esp, 0x14
cmp dword [esp + 0x34], ebp
jb 0x4209c7
mov edx, dword [esp + 0x20]
push edx
call fcn.00452ad1
add esp, 4
xor eax, eax
cmp dword [esp + 0x88], ebp
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], eax
mov word [esp + 0x20], ax
jb 0x420a9d
mov eax, dword [esp + 0x74]
push eax
jmp 0x420a95
push 0x3e
push str.._src_file_npFileImpl.cpp_107__:__npz::log::npFileImpl::write_
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.00401540
mov dword [esp + 0x94], 4
call fcn.0041bcc0
push eax
mov ecx, 0x22200001
lea esi, [esp + 0x58]
call fcn.0041f950
mov byte [esp + 0x94], 5
cmp dword [edi + 0x1c], ebp
jb 0x420a43
mov edi, dword [edi + 8]
jmp 0x420a46
add edi, 8
cmp dword [eax + 0x18], ebp
jb 0x420a50
mov eax, dword [eax + 4]
jmp 0x420a53
add eax, 4
push edi
push eax
mov ecx, 2
lea edx, [esp + 0x40]
call fcn.0041afc0
add esp, 8
cmp dword [esp + 0x6c], ebp
jb 0x420a79
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00452ad1
add esp, 4
cmp dword [esp + 0x50], ebp
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
jb 0x420a9d
mov edx, dword [esp + 0x3c]
push edx
call fcn.00452ad1
add esp, 4
mov eax, 0x22200205
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 4