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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov edx, dword [ebp + 8]
mov eax, ecx
not eax
and eax, 1
mov dword [ebp - 0x20], eax
mov eax, ecx
shr eax, 1
push ebx
and eax, 1
push esi
xor esi, esi
mov dword [ebp - 0x28], eax
mov eax, dword [edx + 4]
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc], 0x400
mov dword [ebp - 0x1c], esi
mov dword [ebp - 8], esi
cmp eax, 0x28
jle 0x420aff
add eax, 7
and eax, 0xfffffff8
mov dword [ebp - 0x10], eax
jmp 0x420b06
mov dword [ebp - 0x10], 0x28
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
test cl, 4
je 0x420b1f
mov dword [ebp - 0x18], 1
mov dword [ebp + 0x10], esi
jmp 0x420c24
cmp dword [ebp + 0x10], esi
je 0x420c24
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], bl
je 0x420c24
mov edi, dword [edx + 8]
inc edi
lea edx, [edi + edi]
push edx
call fcn.00416680
mov ebx, eax
add esp, 4
cmp ebx, esi
je 0x420dab
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push ebx
push edi
push esi
mov byte [ebx], 0
push eax
mov eax, dword [eax + 0x24]
call eax
add esp, 0x10
cmp byte [ebx], 0
mov edx, eax
mov dword [ebp - 4], edx
mov edi, ebx
je 0x420b76
mov edi, edi
inc edi
cmp byte [edi], 0
jne 0x420b70
sub edi, ebx
and edi, 0x3fffffff
cmp byte [esi], 0
mov eax, esi
je 0x420b8b
inc eax
cmp byte [eax], 0
jne 0x420b85
sub eax, esi
and eax, 0x3fffffff
cmp byte [eax + esi + 1], 0
lea esi, [eax + esi + 1]
mov dword [ebp - 0x1c], esi
mov ecx, esi
je 0x420be8
cmp byte [ecx], 0
mov eax, ecx
je 0x420bb6
lea esp, [esp]
inc eax
cmp byte [eax], 0
jne 0x420bb0
sub eax, ecx
and eax, 0x3fffffff
lea ecx, [ecx + eax + 1]
mov eax, ecx
test ecx, ecx
je 0x420bdd
cmp byte [ecx], 0
je 0x420bd6
lea esp, [esp]
inc eax
cmp byte [eax], 0
jne 0x420bd0
sub eax, ecx
and eax, 0x3fffffff
cmp byte [ecx + eax + 1], 0
lea ecx, [ecx + eax + 1]
jne 0x420ba2
sub ecx, esi
inc ecx
mov dword [ebp - 8], ecx
test edx, edx
jne 0x420c0e
mov edx, dword [ebp + 8]
lea ecx, [edi + 8]
cmp ecx, dword [edx + 8]
jle 0x420c21
mov eax, 0xa0ba
call fcn.00475da0
mov dword [ebp - 4], eax
test eax, eax
je 0x420c21
push ebx
call fcn.00416940
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov edx, dword [ebp - 0x10]
add eax, 7
and eax, 0xfffffff8
add eax, dword [ebp - 8]
lea ecx, [edi + edi*2]
lea eax, [eax + edx*2]
lea eax, [ecx + eax + 0x107]
push eax
mov dword [ebp - 0x24], eax
call fcn.00416680
mov esi, eax
add esp, 4
test esi, esi
je 0x420da2
mov ecx, dword [ebp - 0x24]
push ecx
push 0
push esi
call fcn.004a63e0
mov ecx, dword [ebp + 8]
lea eax, [esi + 0xc8]
mov dword [esi + 0xb8], eax
add eax, 0x30
mov dword [esi + 0x3c], eax
mov edx, dword [ecx + 4]
add edx, 7
and edx, 0xfffffff8
add eax, edx
mov edx, dword [ebp - 0x10]
mov dword [esi + 0x44], eax
add eax, edx
mov dword [esi + 0x40], eax
add eax, edx
add esp, 0xc
mov dword [esi + 0x90], eax
test ebx, ebx
je 0x420d34
mov ecx, dword [ebp - 8]
push edi
lea edx, [eax + ecx]
lea ecx, [edx + edi + 1]
push ebx
push eax
mov dword [esi + 0x94], ecx
call fcn.004a5470
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [esi + 0x90]
add esp, 0xc
push edx
push eax
lea edx, [ecx + edi + 1]
push edx
call fcn.004a5470
mov eax, dword [esi + 0x94]
add esp, 0xc
push edi
push ebx
push eax
call fcn.004a5470
mov eax, dword [esi + 0x94]
mov ecx, dword [str._journal]
mov dword [eax + edi], ecx
mov edx, dword [0x4da9c4]
add esp, 0xc
mov dword [eax + edi + 4], edx
mov eax, dword [esi + 0x94]
push edi
lea eax, [eax + edi + 9]
push ebx
push eax
mov dword [esi + 0xc0], eax
call fcn.004a5470
mov ecx, dword [esi + 0xc0]
add esp, 0xc
push ebx
mov dword [edi + ecx], 0x6c61772d
call fcn.00416940
mov ecx, dword [ebp + 8]
add esp, 4
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [esi], ecx
mov dword [esi + 0x78], eax
test edx, edx
je 0x420dbc
cmp byte [edx], 0
je 0x420dbc
mov edx, dword [esi + 0x3c]
mov edi, dword [esi + 0x90]
lea ebx, [ebp + 0x10]
push ebx
and eax, 0x87f3f
push eax
push edx
mov edx, dword [ecx + 0x18]
push edi
push ecx
mov dword [ebp + 0x10], 0
call edx
mov edi, eax
mov eax, dword [ebp + 0x10]
and eax, 1
add esp, 0x14
mov dword [ebp + 8], eax
test edi, edi
jne 0x420df1
test eax, eax
jne 0x420dd4
call fcn.0041f5e0
mov eax, dword [esi + 0x7c]
cmp eax, 0x400
jbe 0x420dd4
mov bl, byte [ebp - 0x14]
cmp eax, 0x2000
jbe 0x420db7
mov dword [ebp - 0xc], 0x2000
jmp 0x420dd7
push ebx
call fcn.00416940
add esp, 4
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0xc], eax
jmp 0x420dd7
mov ebx, 1
and eax, ebx
cmp dword [ebp - 4], 0
mov word [esi + 0xf], 0x401
mov dword [ebp + 8], eax
jne 0x420dee
jmp 0x420dd7
mov bl, byte [ebp - 0x14]
lea eax, [ebp - 0xc]
push 0xffffffffffffffff
push eax
mov edi, esi
call fcn.00420100
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x420e1b
mov edi, dword [ebp - 4]
mov ebx, dword [esi + 0x3c]
mov eax, dword [ebx]
test eax, eax
je 0x420e09
mov ecx, dword [eax + 4]
push ebx
call ecx
add esp, 4
mov dword [ebx], 0
push esi
call fcn.00416940
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0xb8]
push 0x30
push 0
push edi
call fcn.004a63e0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
xor ecx, ecx
mov dword [edi + 0x14], edx
add esp, 0xc
test eax, eax
sete cl
mov edx, eax
neg edx
sbb edx, edx
not edx
and edx, 0x4209c0
cmp dword [ebp - 0x28], 0
mov dword [edi + 0x1c], ecx
mov cl, byte [ebp - 0x20]
mov dword [edi + 0x18], 0x50
mov dword [edi + 0x20], edx
mov dword [edi + 0x24], esi
mov dword [edi + 0x10], 0x64
mov byte [esi + 6], cl
je 0x420e7c
cmp dword [ebp + 8], 0
je 0x420e7c
mov ecx, 1
jmp 0x420e7e
xor ecx, ecx
mov dl, byte [ebp + 8]
mov byte [esi + 0xe], al
test bl, bl
sete al
mov byte [esi + 9], al
test bl, bl
setne al
dec al
and al, 2
mov byte [esi + 7], cl
mov byte [esi + 0xb], al
mov byte [esi + 0xa], al
or eax, 0xffffffff
mov ecx, 0x50
mov dword [esi + 0x84], 0x3fffffff
mov byte [esi + 0xc], bl
mov byte [esi + 4], bl
mov byte [esi + 0x11], bl
mov byte [esi + 0xd], dl
mov byte [esi + 8], bl
mov word [esi + 0x74], cx
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
call fcn.0041f5e0
cmp dword [ebp - 0x20], 0
jne 0x420ee0
mov byte [esi + 5], 2
jmp 0x420eea
cmp dword [ebp - 0x18], 0
je 0x420eea
mov byte [esi + 5], 4
mov edx, dword [ebp + 0xc]
mov dword [esi + 0xa0], 0x426a70
pop edi
mov dword [edx], esi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret