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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x8c
call fcn.0065d180
mov eax, dword [0x746694]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x7c], ecx
mov ecx, dword [ebp + 8]
push ebx
mov ebx, edx
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x38]
mov dword [esp + 0x58], eax
mov eax, dword [ecx]
push esi
mov esi, dword [ebp + 0x30]
mov dword [esp + 0x64], eax
mov eax, dword [0x74d984]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx]
mov dword [esp + 0x3c], ebx
mov ebx, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x18], 0
push edi
mov edi, dword [ebp + 0x34]
test eax, eax
je 0x451157
call eax
test eax, eax
je 0x45114f
mov ecx, dword [esp + 0x28]
xor eax, eax
mov dword [ecx], 0x55
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x20]
sub eax, dword [edi + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x2c]
add eax, 6
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
cmp byte [ecx], 0x85
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], 0xfffffffe
mov dword [esp + 0x24], 0xfffffffe
jne 0x4511ca
movzx eax, byte [ecx + 3]
shl eax, 8
mov dword [esp + 0x1c], eax
movzx eax, byte [ecx + 4]
or dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov word [esp + 0x70], ax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x6c], eax
xor eax, eax
mov word [esp + 0x72], ax
lea eax, [esp + 0x6c]
mov dword [edi + 0x24], eax
mov byte [ecx + 1], 0
xor esi, esi
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x2c]
add ecx, 3
mov byte [eax + 2], 0
mov eax, dword [esp + 0x64]
add eax, ecx
mov ecx, dword [edi + 0x40]
test edx, edx
mov dword [esp + 0x30], ecx
lea edx, [esp + 0x7c]
mov dword [esp + 0x44], ecx
cmove edx, esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x48], edx
cmp dword [ebp + 0x14], 0
mov dword [esp + 0x64], eax
je 0x45120e
mov dword [edi + 0x40], ecx
cmp dword [ebp + 0x10], 0
je 0x451239
mov byte [eax], 0x7c
mov eax, dword [esp + 0x64]
inc eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x38], eax
mov byte [eax], 0
mov eax, dword [esp + 0x64]
mov byte [eax + 1], 0
add dword [esp + 0x64], 2
add dword [esp + 0x7c], 3
push edx
push edi
push dword [ebp + 0x1c]
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xac]
push eax
push dword [esp + 0x48]
lea eax, [esp + 0x8c]
push eax
lea edx, [esp + 0x8c]
lea ecx, [esp + 0xb0]
call fcn.0044c4b0
add esp, 0x28
test eax, eax
je 0x45146d
mov eax, dword [edi + 0x40]
cmp eax, dword [esp + 0x30]
cmovbe eax, dword [esp + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4513d3
cmp byte [ebx], 0x77
je 0x4512de
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0x80]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x14], eax
jmp 0x451374
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x8c]
mov esi, dword [esp + 0x90]
test ecx, ecx
js 0x451325
cmp ecx, edx
jne 0x4512fe
cmp dword [esp + 0x20], esi
je 0x451346
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x24], 0xffffffff
cmovns ecx, eax
cmp dword [esp + 0x10], 0
mov eax, dword [esp + 0x20]
cmovge eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
test edx, edx
js 0x451346
mov ecx, dword [esp + 0x80]
test ecx, ecx
jns 0x45134d
mov ecx, edx
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ecx
jmp 0x45134d
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x10]
mov eax, ecx
xor eax, esi
test eax, 0xfffffffd
jne 0x451371
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x14], eax
jne 0x451371
mov dword [esp + 0x14], eax
or esi, ecx
jmp 0x451374
or esi, 0xffffffff
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x10], esi
je 0x4513cf
mov eax, dword [esp + 0x64]
mov ecx, ebx
push 0
push edi
push 0
mov byte [eax], 0
mov edx, dword [esp + 0x94]
shr edx, 0xb
and edx, 1
call fcn.00449860
mov ecx, eax
add esp, 0xc
cmp ecx, 0xfffffffd
jne 0x4513b1
mov dword [edi + 0x74], 1
jmp 0x4513cf
test ecx, ecx
js 0x45144d
cmp ecx, dword [edi + 0x48]
jle 0x4513c1
mov dword [edi + 0x48], ecx
mov edx, dword [esp + 0x38]
mov eax, ecx
sar eax, 8
mov byte [edx], al
mov byte [edx + 1], cl
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x68]
cmp byte [ecx], 0x7c
jne 0x45148e
test eax, eax
je 0x45140a
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
add dword [esp + 0x7c], 3
add edx, 3
mov eax, dword [eax]
add eax, edx
mov edx, dword [esp + 0x48]
inc ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x44]
jmp 0x451201
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x48]
mov byte [eax], 0x77
mov ecx, dword [esp + 0x64]
mov eax, ecx
sub eax, ebx
sar eax, 8
mov byte [ecx + 1], al
mov ecx, dword [esp + 0x64]
mov al, cl
sub al, bl
mov byte [ecx + 2], al
mov eax, dword [esp + 0x64]
mov ebx, eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x78], eax
add eax, 3
inc ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x44]
jmp 0x451201
cmp ecx, 0xfffffffe
jne 0x451457
lea eax, [ecx + 0x26]
jmp 0x451467
cmp ecx, 0xfffffffc
mov eax, 0x19
mov edx, 0x46
cmove eax, edx
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x68]
mov dword [edx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x4514c0
mov edx, dword [esp + 0x64]
sub edx, ebx
nop dword [eax + eax]
movzx ecx, byte [ebx + 1]
movzx eax, byte [ebx + 2]
shl ecx, 8
or ecx, eax
mov byte [ebx + 2], dl
mov eax, edx
mov edx, ecx
sar eax, 8
mov byte [ebx + 1], al
sub ebx, edx
test ecx, ecx
jne 0x4514a0
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x4c]
mov byte [eax], 0x78
mov ecx, dword [esp + 0x64]
mov eax, ecx
sub eax, ebx
sar eax, 8
mov byte [ecx + 1], al
mov ecx, dword [esp + 0x64]
mov al, cl
sub al, byte [esp + 0x3c]
mov byte [ecx + 2], al
mov edx, dword [esp + 0x64]
add edx, 3
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x64], edx
jbe 0x4515b1
mov eax, dword [edi + 0x24]
cmp word [eax + 6], 0
je 0x4515a6
push dword [esp + 0x50]
mov byte [edx], 0
mov ecx, ebx
mov eax, dword [esp + 0x8c]
mov edx, 3
shr eax, 0xb
and eax, 1
push edi
push eax
call fcn.0044bb50
mov eax, dword [esp + 0x70]
add esp, 0xc
sub eax, ebx
push eax
lea eax, [ebx + 3]
push ebx
push eax
call fcn.00660260
mov edx, dword [esp + 0x48]
add esp, 0xc
mov byte [ebx], 0x81
mov eax, dword [esp + 0x64]
add eax, 3
mov dword [esp + 0x64], eax
sub eax, ebx
sar eax, 8
mov byte [ebx + 1], al
mov al, byte [esp + 0x64]
sub al, dl
mov byte [ebx + 2], al
mov eax, dword [esp + 0x64]
mov byte [eax], 0x78
mov ecx, dword [esp + 0x64]
mov eax, ecx
sub eax, ebx
sar eax, 8
mov byte [ecx + 1], al
mov ecx, dword [esp + 0x64]
mov al, cl
sub al, dl
mov byte [ecx + 2], al
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x7c]
add edx, 3
mov eax, dword [edi + 0x24]
add ecx, 6
mov dword [esp + 0x64], edx
mov dword [esp + 0x7c], ecx
mov eax, dword [eax]
mov dword [edi + 0x24], eax
jmp 0x4515b5
mov eax, dword [eax]
mov ecx, dword [esp + 0x7c]
mov dword [edi + 0x24], eax
jmp 0x4515b5
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x30]
mov dword [edi + 0x40], eax
mov eax, dword [esp + 0x40]
mov dword [eax], edx
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x68]
mov dword [edx], eax
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x20]
mov dword [edx], eax
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x24]
mov dword [edx], eax
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x14]
mov dword [edx], eax
mov eax, dword [esp + 0x60]
mov dword [eax], esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x45162b
mov edx, dword [esi]
mov eax, 0x7fffffeb
sub eax, edx
cmp eax, ecx
jge 0x451626
mov eax, dword [esp + 0x28]
mov dword [eax], 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret
lea eax, [edx + ecx]
mov dword [esi], eax
mov ecx, dword [esp + 0x94]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret