Function at 0x423f40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov eax, ecx
mov dword [ebp - 8], 0
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov eax, dword [eax + 4]
not edx
and edx, 1
mov dword [ebp - 0x2c], edi
xor ebx, ebx
mov dword [ebp - 0x1c], ecx
xor esi, esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], 0x400
mov dword [ebp - 0x18], ecx
cmp eax, 0x28
jle 0x423f8e
lea edx, [eax + 7]
and edx, 0xfffffff8
mov dword [ebp - 0x10], edx
jmp 0x423f95
mov dword [ebp - 0x10], 0x28
mov eax, dword [ebp + 0x10]
mov edx, 1
and eax, 4
mov dword [edi], ecx
cmovne ecx, edx
xor edi, edi
test eax, eax
mov dword [ebp - 0x24], ecx
cmove edi, dword [ebp + 8]
mov dword [ebp + 8], edi
test edi, edi
je 0x4240b7
cmp byte [edi], bl
je 0x4240b7
mov ecx, dword [ebp - 4]
mov esi, dword [ecx + 8]
inc esi
lea eax, [esi + esi]
push eax
call fcn.00418d10
mov ebx, eax
add esp, 4
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x42438b
mov eax, dword [ebp - 4]
push ebx
push esi
push edi
mov byte [ebx], 0
push eax
mov eax, dword [eax + 0x24]
call eax
mov edi, eax
add esp, 0x10
mov eax, ebx
mov dword [ebp - 8], edi
cmp byte [eax], 0
je 0x424007
inc ebx
cmp byte [ebx], 0
jne 0x424001
mov ecx, dword [ebp + 8]
sub ebx, eax
mov eax, ecx
and ebx, 0x3fffffff
cmp byte [eax], 0
je 0x424026
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x424020
sub eax, ecx
lea edx, [ecx + 1]
and eax, 0x3fffffff
add edx, eax
mov dword [ebp - 0x18], edx
mov esi, edx
cmp byte [edx], 0
je 0x42407d
nop dword [eax]
cmp byte [esi], 0
mov eax, esi
je 0x42404d
inc eax
cmp byte [eax], 0
jne 0x424047
sub eax, esi
and eax, 0x3fffffff
lea ecx, [eax + 1]
add ecx, esi
mov eax, ecx
jne 0x424061
xor eax, eax
jmp 0x424073
cmp byte [ecx], 0
je 0x42406c
inc eax
cmp byte [eax], 0
jne 0x424066
sub eax, ecx
and eax, 0x3fffffff
lea esi, [eax + 1]
add esi, ecx
cmp byte [esi], 0
jne 0x424040
sub esi, edx
inc esi
test edi, edi
jne 0x4240a2
mov ecx, dword [ebp - 4]
lea eax, [ebx + 8]
cmp eax, dword [ecx + 8]
jle 0x4240b7
mov ecx, 0xa6ae
call fcn.00477200
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
je 0x4240b7
mov edx, dword [ebp - 0xc]
push edx
call fcn.00419000
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
lea eax, [ebx + 0x5b]
lea ecx, [esi + eax*2]
add edx, 7
add ecx, eax
and edx, 0xfffffff8
mov eax, dword [ebp - 0x10]
add ecx, edx
lea eax, [ecx + eax*2]
push eax
mov dword [ebp - 0x28], eax
call fcn.00418d10
mov edi, eax
add esp, 4
test edi, edi
je 0x42437f
push dword [ebp - 0x28]
push 0
push edi
call fcn.004f8b70
mov eax, dword [ebp - 4]
lea ecx, [edi + 0xd0]
mov edx, dword [ebp - 0xc]
add esp, 0xc
mov dword [edi + 0xc0], ecx
add ecx, 0x30
mov dword [edi + 0x3c], ecx
mov eax, dword [eax + 4]
add eax, 7
and eax, 0xfffffff8
add ecx, eax
mov dword [edi + 0x44], ecx
add ecx, dword [ebp - 0x10]
mov dword [edi + 0x40], ecx
add ecx, dword [ebp - 0x10]
mov dword [edi + 0x90], ecx
test edx, edx
je 0x4241d1
lea eax, [ecx + 1]
push ebx
add eax, esi
push edx
add eax, ebx
push ecx
mov dword [edi + 0x94], eax
call fcn.004f93a0
mov eax, dword [edi + 0x90]
add esp, 0xc
inc eax
add eax, ebx
push esi
push dword [ebp - 0x18]
push eax
call fcn.004f93a0
mov esi, dword [ebp - 0xc]
add esp, 0xc
push ebx
push esi
push dword [edi + 0x94]
call fcn.004f93a0
mov ecx, dword [edi + 0x94]
add esp, 0xc
movq xmm0, qword [str._journal]
movq qword [ecx + ebx], xmm0
movzx eax, byte [0x54a23c]
mov byte [ecx + ebx + 8], al
mov eax, dword [edi + 0x94]
add eax, 9
push ebx
add eax, ebx
push esi
push eax
mov dword [edi + 0xc8], eax
call fcn.004f93a0
mov ecx, dword [edi + 0xc8]
add esp, 0xc
mov eax, dword [str._wal]
mov dword [ecx + ebx], eax
movzx eax, byte [0x54a244]
push esi
mov byte [ecx + ebx + 4], al
call fcn.00419000
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 0x14]
mov dword [edi], ecx
mov dword [edi + 0x78], ebx
test eax, eax
je 0x424243
cmp byte [eax], 0
je 0x424243
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
mov eax, dword [ecx + 0x18]
and ebx, 0x87f7f
push ebx
push dword [edi + 0x3c]
push dword [edi + 0x90]
push ecx
call eax
mov ebx, dword [ebp + 8]
mov ecx, eax
add esp, 0x14
mov dword [ebp - 8], ecx
and ebx, 1
test ecx, ecx
jne 0x424354
test ebx, ebx
jne 0x42425d
mov ecx, edi
call fcn.004229b0
mov eax, dword [edi + 0x7c]
cmp eax, 0x400
jbe 0x42425d
mov ecx, 0x2000
cmp eax, ecx
cmova eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x42425d
mov ecx, 1
mov word [edi + 0x10], 0x401
and ebx, ecx
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 8], 0
jne 0x424354
push 0xffffffffffffffff
lea edx, [ebp - 0x14]
mov ecx, edi
call fcn.00423620
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x424354
mov esi, dword [edi + 0xc0]
push 0x30
push eax
push esi
call fcn.004f8b70
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov edx, 0x423e60
mov dword [esi + 0x14], eax
xor eax, eax
test ecx, ecx
mov dword [esi + 0x18], 0x58
mov dword [esi + 0x24], edi
sete al
mov dword [esi + 0x10], 0x64
mov dword [esi + 0x1c], eax
xor eax, eax
test ecx, ecx
cmove eax, edx
test byte [ebp + 0x10], 2
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x20]
mov byte [edi + 6], al
je 0x4242d3
test ebx, ebx
je 0x4242d3
mov eax, 1
jmp 0x4242d5
xor eax, eax
mov byte [edi + 7], al
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x84], 0x3fffffff
mov byte [edi + 0xd], al
mov byte [edi + 4], al
mov byte [edi + 0x12], al
mov byte [edi + 0xf], cl
mov byte [edi + 0xe], bl
mov byte [edi + 8], al
test al, al
jne 0x424302
mov dword [edi + 9], 0x2220201
mov eax, 0x58
mov dword [edi + 0x88], 0xffffffff
mov ecx, edi
mov word [edi + 0x74], ax
mov dword [edi + 0x8c], 0xffffffff
call fcn.004229b0
cmp dword [ebp - 0x20], 0
jne 0x424332
mov byte [edi + 5], 2
jmp 0x42433c
cmp dword [ebp - 0x24], 0
je 0x42433c
mov byte [edi + 5], 4
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0xa8], 0x429830
mov dword [eax], edi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 0x3c]
mov eax, dword [esi]
test eax, eax
je 0x42436c
mov eax, dword [eax + 4]
push esi
call eax
add esp, 4
mov dword [esi], 0
push edi
call fcn.00419000
mov eax, dword [ebp - 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0xc]
push edx
call fcn.00419000
add esp, 4
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret