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

Disassembly:
sub esp, 0xb8
mov eax, dword [0x490004]
xor eax, esp
mov dword [esp + 0xb4], eax
push ebx
push ebp
push esi
push edi
mov edi, edx
mov dword [esp + 0x48], edi
mov ebp, ecx
mov dword [esp + 0x80], ebp
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xdc]
mov ebx, dword [esp + 0xd4]
mov dword [esp + 0x88], eax
xor eax, eax
mov esi, dword [esp + 0xcc]
mov dword [esp + 0x90], eax
mov dword [esp + 0x58], eax
mov ecx, dword [esi + 4]
lea eax, [esi + 0x50]
mov dword [esp + 0x70], eax
mov eax, dword [ebp]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 0x2c]
imul eax, eax, 0x48
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ebx
mov eax, dword [eax + ecx + 0x34]
lea ecx, [esi + 0x1e8]
mov edx, eax
mov dword [esp + 0x34], eax
call fcn.0045244f
not eax
not edx
and eax, dword [esp + 0x8c]
and edx, dword [esp + 0x88]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], edx
mov eax, dword [esi + 0x40]
mov edx, dword [esi + 0x44]
mov esi, dword [esp + 0xd0]
mov ecx, esi
call fcn.004754a0
xor ecx, ecx
inc ecx
and eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x38]
dec eax
mov dword [ebp + 0x38], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], eax
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x38]
dec eax
mov dword [ebp + 0x38], eax
cmp byte [ebx + 0x2c], 0
mov dword [esp + 0x84], eax
mov dword [ebx + 0x18], eax
jbe 0x45044b
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
test byte [eax + ecx + 0x2c], 8
je 0x45044b
mov eax, dword [ebp + 0x2c]
xor ecx, ecx
push ecx
inc eax
push eax
push ecx
push 0x46
mov dword [ebp + 0x2c], eax
mov ecx, edi
pop edx
mov dword [ebx], eax
call fcn.0041c3a0
add esp, 0xc
mov ecx, dword [esp + 0x5c]
test esi, esi
jle 0x45046d
imul eax, esi, 0x50
add eax, 0x2f0
add eax, ecx
xor edx, edx
cmp dword [eax], edx
jne 0x45046f
dec esi
sub eax, 0x50
test esi, esi
jg 0x45045f
jmp 0x45046f
xor edx, edx
imul eax, esi, 0x50
mov esi, dword [eax + ecx + 0x2fc]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x2c], esi
test byte [eax + ecx + 0x30], 0x10
je 0x4504c8
push dword [eax + ecx + 0x20]
mov esi, dword [eax + ecx + 0x24]
mov ecx, edi
push edx
push esi
push 0xd
pop edx
call fcn.0041c3a0
mov ecx, dword [esp + 0x54]
add esp, 0xc
xor edi, edi
push edi
push dword [esp + 0x1c]
push esi
push 0xe
pop edx
call fcn.0041c3a0
add esp, 0xc
mov dword [ebx + 0x34], eax
push 0xb
pop eax
mov byte [ebx + 0x2d], al
jmp 0x4511a9
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x24]
test eax, 0x400
je 0x4506ff
movzx eax, word [ecx + 0x28]
mov ecx, ebp
mov dword [esp + 0x18], eax
lea edx, [eax + 2]
call fcn.00430120
xor edi, edi
mov ecx, eax
mov eax, dword [ebx + 0xc]
mov esi, edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x18], esi
jbe 0x450556
lfence
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + esi*4]
test edx, edx
je 0x45054f
lea eax, [ecx + 2]
xor ecx, ecx
inc ecx
add eax, esi
test byte [edx + 0xc], cl
je 0x45053b
push eax
push dword [esp + 0x40]
mov ecx, ebp
push esi
push ebx
call fcn.0044faaa
mov eax, dword [ebx + 0x10]
add esp, 0x10
mov dword [esp + 0x1c], eax
jmp 0x45054b
mov edx, dword [edx]
push ecx
push eax
mov ecx, ebp
mov edx, dword [edx + 0x10]
call fcn.00450137
pop ecx
pop ecx
mov ecx, dword [esp + 0x50]
inc esi
cmp esi, dword [esp + 0x18]
jl 0x450506
mov eax, dword [esp + 0x20]
push edi
push ecx
mov ecx, dword [esp + 0x50]
push dword [eax + 0x18]
push 0x46
pop edx
call fcn.0041c3a0
mov eax, dword [esp + 0x5c]
add esp, 0xc
mov esi, dword [esp + 0x18]
inc eax
push edi
mov edi, dword [esp + 0x4c]
mov ecx, edi
push eax
push esi
push 0x46
pop edx
call fcn.0041c3a0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
or eax, 0xffffffff
cmp byte [ecx + 0x1c], 0
push 0xfffffffffffffff9
pop edx
cmovne eax, edx
push eax
push dword [ecx + 0x20]
mov ecx, edi
push dword [esp + 0x58]
push dword [esp + 0x28]
push dword [esp + 0x44]
push 9
pop edx
call fcn.0041c4e0
mov edx, dword [esp + 0x34]
add esp, 0x14
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x5c]
mov byte [edx + 0x1c], 0
mov dword [ebx + 0x30], eax
cmp byte [ecx + 0x31], 0
push 0x3c
pop eax
lea ecx, [eax + 0x6e]
cmovne eax, ecx
sub esi, 1
mov byte [ebx + 0x2d], al
mov eax, dword [edi + 0x6c]
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x38]
js 0x4511a9
mov ecx, dword [esp + 0x50]
imul eax, eax, 0x14
add ecx, 2
add ecx, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x30]
mov edx, dword [eax + esi*4]
mov dword [esp + 0x40], edx
cmp esi, 0x10
jae 0x450633
mov eax, dword [esp + 0x20]
mov cx, si
mov ax, word [eax + 0x1e]
shr ax, cl
test al, 1
je 0x45062f
mov ecx, ebx
call fcn.0044f84a
jmp 0x4506e4
mov ecx, dword [esp + 0x24]
xor eax, eax
inc eax
test byte [edx + 0xc], al
je 0x4506e8
mov eax, dword [esp + 0x4c]
cmp byte [eax + 0x51], 0
jne 0x450676
mov eax, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [ebx + 0x3c]
sub eax, 0x14
mov dword [esp + 0x18], eax
mov edx, dword [edx + eax + 4]
call fcn.0041cb08
push dword [eax + 0xc]
movzx edx, byte [eax]
push dword [eax + 8]
push dword [eax + 4]
call fcn.0041c3a0
add esp, 0xc
xor eax, eax
mov ecx, ebp
push eax
push eax
push 0x35
pop edx
call fcn.0042b2e9
mov dword [esp + 0x24], eax
pop ecx
pop ecx
test eax, eax
je 0x4506e4
mov ecx, dword [esp + 0x40]
xor edi, edi
push edi
mov edx, 0xab
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x50]
call fcn.0042b2ba
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x10], ecx
test ecx, ecx
je 0x4506d2
mov edx, dword [esp + 0x24]
push edi
mov dword [ecx + 0x18], edx
push dword [ebx + 0x18]
push eax
push ebp
call fcn.0042f237
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov ecx, dword [esp + 0x4c]
mov edx, eax
mov dword [eax + 0xc], edi
call fcn.0042b66f
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
dec ecx
sub esi, 1
mov dword [esp + 0x24], ecx
jns 0x450602
jmp 0x4511a9
test al, 5
setne cl
bt eax, 8
setb al
test al, cl
mov eax, dword [esp + 0x20]
je 0x450785
mov eax, dword [eax + 0x30]
mov ecx, ebp
mov esi, dword [eax]
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
push eax
push dword [esp + 0x40]
mov dword [esp + 0x20], eax
push edx
push ebx
mov edx, esi
call fcn.0044faaa
mov edx, dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x1c], eax
cmp eax, edx
je 0x45074c
mov ecx, ebp
call fcn.00430107
mov eax, dword [esp + 0x1c]
push eax
push dword [ebx + 0x10]
mov ecx, edi
push dword [esp + 0x3c]
push 0x1e
pop edx
call fcn.0041c3a0
mov byte [ebx + 0x2d], 0xaa
add esp, 0xc
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [ebx + 0x48]
and eax, dword [ebx + 0x4c]
or ecx, eax
jne 0x4511a9
push 4
pop ecx
or word [esi + 0xa], cx
jmp 0x4511a9
mov ecx, dword [eax + 0x24]
mov eax, ecx
and eax, 0x102
cmp eax, 0x102
jne 0x450997
mov dword [esp + 0x28], 0xaa
mov esi, edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x40], edx
test cl, 0x20
je 0x4507c3
mov eax, dword [esp + 0x20]
push 4
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
pop eax
mov dword [esp + 0x1c], eax
jmp 0x4507cb
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x40]
test cl, 0x10
je 0x4507de
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov eax, dword [eax + 0x30]
mov esi, dword [esi + eax]
mov ecx, dword [esp + 0x3c]
mov eax, edx
test ecx, ecx
cmove eax, esi
cmove esi, edx
mov dword [esp + 0x64], eax
test esi, esi
je 0x450894
mov edx, dword [esi]
mov dword [esp + 0x4c], 0x18161719
mov dword [esp + 0x1c], edx
mov ecx, dword [edx + 0x10]
call fcn.0042ae65
cmp eax, 1
jle 0x450845
mov ecx, ebp
call fcn.004300e8
mov edx, dword [edx + 0x10]
mov esi, eax
xor eax, eax
mov dword [esp + 0x40], esi
inc eax
push eax
push esi
call fcn.00450137
mov edx, dword [esp + 0x24]
xor eax, eax
pop ecx
pop ecx
inc eax
movzx ecx, byte [edx]
inc ecx
and ecx, 2
or ecx, eax
mov al, byte [esp + ecx + 0x4c]
jmp 0x450870
lea eax, [esp + 0x2c]
mov edx, ecx
push eax
mov ecx, ebp
call fcn.0042eb3b
pop ecx
mov edx, esi
mov dword [esp + 0x40], eax
mov ecx, ebx
call fcn.0044f84a
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
movzx ecx, byte [edx]
mov al, byte [esp + ecx + 0x16]
push dword [esp + 0x40]
movzx edx, al
mov ecx, edi
push dword [esp + 0x1c]
push dword [esp + 0x3c]
call fcn.0041c3a0
add esp, 0xc
mov edx, esi
mov ecx, ebp
call fcn.00430107
jmp 0x4508b3
push dword [esp + 0x2c]
xor eax, eax
mov edx, ecx
push dword [esp + 0x38]
inc eax
mov ecx, edi
xor edx, eax
lea edx, [edx*4 + 0x20]
call fcn.0041c409
pop ecx
pop ecx
mov esi, dword [esp + 0x64]
test esi, esi
je 0x45092b
mov eax, dword [esi]
inc dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x2c]
push 1
mov edx, dword [eax + 0x10]
mov dword [esp + 0x6c], ecx
push ecx
mov ecx, ebp
mov dword [esp + 0x24], eax
call fcn.00450137
mov edx, dword [esp + 0x24]
pop ecx
pop ecx
mov ecx, dword [edx + 0x10]
call fcn.0042ae65
cmp eax, 1
jg 0x450909
mov al, byte [edx]
cmp al, 0x38
je 0x4508f5
cmp al, 0x36
jne 0x450909
mov eax, dword [esp + 0x3c]
xor eax, 1
lea edx, [eax*2 + 0x37]
mov dword [esp + 0x28], edx
jmp 0x450918
mov eax, dword [esp + 0x3c]
lea eax, [eax*2 + 0x36]
mov dword [esp + 0x28], eax
call fcn.0042ae65
cmp eax, 1
jg 0x45092b
mov edx, esi
mov ecx, ebx
call fcn.0044f84a
cmp dword [esp + 0x3c], 0
mov ecx, dword [edi + 0x6c]
sete al
mov dword [ebx + 0x34], ecx
add al, 4
cmp dword [esp + 0x28], 0xaa
mov byte [ebx + 0x2d], al
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x30], eax
je 0x4511a9
inc dword [ebp + 0x2c]
xor edi, edi
mov esi, dword [ebp + 0x2c]
mov edx, 0x80
push edi
mov edi, dword [esp + 0x4c]
mov ecx, edi
push esi
push eax
call fcn.0041c3a0
mov edx, dword [esp + 0x34]
add esp, 0xc
mov ecx, edi
push esi
push dword [esp + 0x1c]
push dword [esp + 0x70]
call fcn.0041c3a0
add esp, 0xc
mov ecx, edi
push 0x53
pop edx
call fcn.0041c871
jmp 0x4511a9
test ecx, 0x200
je 0x451164
mov esi, dword [esp + 0x20]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x1c], edx
movzx eax, word [esi + 0x18]
mov dword [esp + 0x2c], eax
movzx eax, word [esi + 0x1a]
mov dword [esp + 0x64], eax
movzx eax, word [esi + 0x1c]
mov esi, edx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x20]
mov byte [esp + 0x17], dl
mov byte [esp + 0x57], dl
mov dword [esp + 0x60], edx
mov eax, dword [eax + 0x20]
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
movzx eax, ax
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], eax
test cl, 0x20
je 0x450a1d
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
inc dword [esp + 0x28]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + esi*4]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x6c], eax
movzx esi, word [esi + 0x1a]
test cl, 0x10
je 0x450a90
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x50], eax
movzx eax, word [ecx + 0x1c]
cmp esi, eax
cmova eax, esi
cmp dword [esp + 0x6c], 0
mov esi, eax
mov dword [esp + 0x18], esi
jne 0x450a94
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + 4]
movsx ecx, word [eax + ecx*2]
mov dword [esp + 0x40], ecx
test ecx, ecx
js 0x450a78
mov eax, dword [esi + 0xc]
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xc], 0
je 0x450a85
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
mov esi, eax
cmp ecx, 0xfffffffe
jne 0x450a90
jmp 0x450a89
mov eax, dword [esp + 0x18]
mov byte [esp + 0x17], 1
mov esi, eax
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x24]
and eax, 0x80030
cmp eax, 0x80000
jne 0x450ac2
xor eax, eax
inc eax
inc dword [ebp + 0x2c]
mov esi, eax
mov byte [esp + 0x17], al
mov eax, dword [ebp + 0x2c]
mov dword [ebx + 0x24], eax
dec dword [ebp + 0x38]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x38]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x2c]
movzx eax, word [eax + 0x32]
mov dword [esp + 0x18], eax
cmp cx, ax
jae 0x450afc
mov eax, dword [esp + 0x58]
xor ecx, ecx
mov edi, dword [esp + 0x30]
mov eax, dword [eax + 0x1c]
cmp byte [edi + eax], cl
mov edi, dword [esp + 0x48]
sete cl
cmp dword [esp + 0x3c], ecx
je 0x450b08
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x3c], 0
je 0x450b3a
cmp ax, cx
jne 0x450b3a
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x6c], eax
mov al, byte [esp + 0x17]
mov byte [esp + 0x57], al
mov eax, dword [esp + 0x64]
mov byte [esp + 0x17], dl
mov edx, dword [esp + 0x68]
mov dword [esp + 0x50], ecx
movzx ecx, dx
movzx eax, al
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
lea eax, [esp + 0x40]
mov edx, ebx
push eax
push esi
push dword [esp + 0x44]
mov ecx, ebp
call fcn.0044fe76
mov ecx, dword [esp + 0x4c]
add esp, 0xc
mov dword [esp + 0x44], eax
test ecx, ecx
je 0x450b78
cmp word [esp + 0x68], 0
je 0x450b78
mov edx, dword [esp + 0x30]
lea edx, [ecx + edx]
mov ecx, dword [esp + 0x4c]
call fcn.00404b16
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x60], 0
je 0x450b88
mov ecx, dword [ebx + 0x28]
mov dword [esp + 0x24], ecx
jmp 0x450b8f
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x450ba5
test byte [eax + 0xc], 0x28
jne 0x450ba5
xor ecx, ecx
mov dword [esp + 0x28], ecx
jmp 0x450baf
mov dword [esp + 0x28], 1
xor ecx, ecx
mov edx, dword [esp + 0x50]
test edx, edx
je 0x450bc1
test byte [edx + 0xc], 0x28
mov dword [esp + 0x18], ecx
je 0x450bc9
mov dword [esp + 0x18], 1
test eax, eax
jne 0x450bf3
cmp word [esp + 0x2c], ax
ja 0x450bf3
mov edx, dword [esp + 0x30]
mov esi, edx
mov dword [esp + 0x2c], ecx
mov al, byte [esp + 0x17]
test al, al
je 0x450ca9
mov dword [esp + 0x28], ecx
jmp 0x450cb0
mov edx, dword [esp + 0x30]
mov esi, edx
mov dword [esp + 0x2c], 1
test eax, eax
je 0x450bde
mov eax, dword [eax]
mov ecx, dword [esp + 0x64]
add edx, dword [esp + 0x44]
movzx ecx, cx
mov eax, dword [eax + 0x10]
push ecx
push edx
mov edx, eax
mov dword [esp + 0x34], eax
mov ecx, ebp
call fcn.00450137
pop ecx
pop ecx
mov ecx, dword [esp + 0x2c]
call fcn.0042c536
mov edi, dword [esp + 0x48]
test eax, eax
je 0x450c56
mov eax, dword [esp + 0x44]
xor edi, edi
push edi
push dword [esp + 0x28]
mov edi, dword [esp + 0x50]
add eax, esi
push eax
push 0x32
pop edx
mov ecx, edi
call fcn.0041c3a0
add esp, 0xc
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x450c74
mov eax, esi
add eax, ecx
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x68]
movzx edx, ax
call fcn.0044f8f5
pop ecx
mov ecx, dword [esp + 0x64]
movzx eax, cx
mov ecx, dword [esp + 0x2c]
add esi, eax
call fcn.0042ae65
xor ecx, ecx
inc ecx
cmp eax, ecx
jg 0x450c9d
mov edx, dword [esp + 0x6c]
mov ecx, ebx
call fcn.0044f84a
xor ecx, ecx
inc ecx
jmp 0x450ca1
mov dword [esp + 0x28], ecx
xor al, al
mov dword [esp + 0x2c], ecx
jmp 0x450cd2
cmp dword [esp + 0x60], 0
je 0x450cd2
mov eax, dword [esp + 0x44]
push ecx
add eax, edx
push eax
push ecx
push 0x49
pop edx
mov ecx, edi
call fcn.0041c3a0
xor eax, eax
add esp, 0xc
inc eax
inc esi
mov dword [esp + 0x2c], eax
mov al, byte [esp + 0x17]
push dword [esp + 0x40]
mov edx, dword [esp + 0x48]
movzx ecx, al
mov eax, esi
sub eax, ecx
mov dword [esp + 0x68], ecx
push eax
mov ecx, ebp
call fcn.0044f8ae
pop ecx
pop ecx
mov ecx, dword [esp + 0x20]
movzx eax, word [ecx + 0x2a]
test ax, ax
je 0x450d04
cmp esi, eax
je 0x450dc3
test dword [ecx + 0x24], 0x40000
je 0x450d22
xor eax, eax
mov ecx, edi
push eax
push eax
push dword [esp + 0x40]
push 0x77
pop edx
call fcn.0041c3a0
add esp, 0xc
mov eax, dword [esp + 0x60]
test eax, eax
je 0x450d3e
push 0
push eax
xor eax, eax
mov ecx, edi
inc eax
push eax
push 0x46
pop edx
call fcn.0041c3a0
add esp, 0xc
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
push esi
push dword [esp + 0x48]
push dword [esp + 0x2c]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x48]
push dword [esp + 0x44]
movzx edx, byte [ecx + eax*2 + 0x480600]
mov ecx, edi
call fcn.0041c609
mov eax, dword [esp + 0x70]
add esp, 0x10
test eax, eax
je 0x450dc7
mov eax, dword [edi + 0x6c]
xor ecx, ecx
push ecx
add eax, 2
push eax
push ecx
push 0xb
pop eax
mov edx, eax
mov ecx, edi
call fcn.0041c3a0
add esp, 0xc
mov eax, esi
sub eax, dword [esp + 0x28]
push eax
push dword [esp + 0x48]
xor eax, eax
push dword [esp + 0x2c]
inc eax
push dword [esp + 0x44]
cmp eax, esi
push 4
pop ecx
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x4c]
movzx edx, byte [eax + ecx + 0x480602]
mov ecx, edi
call fcn.0041c609
add esp, 0x10
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x450f89
mov eax, dword [ecx]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x30]
add ecx, dword [esp + 0x44]
mov eax, dword [eax + 0x10]
movzx esi, dx
mov edx, eax
push esi
push ecx
mov ecx, ebp
mov dword [esp + 0x30], eax
call fcn.00450137
pop ecx
pop ecx
mov ecx, dword [esp + 0x28]
call fcn.0042c536
test eax, eax
je 0x450e21
mov eax, dword [esp + 0x44]
mov ecx, edi
add eax, dword [esp + 0x30]
push 0
push dword [esp + 0x28]
push eax
push 0x32
pop edx
call fcn.0041c3a0
add esp, 0xc
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x450e50
mov ecx, dword [esp + 0x28]
mov edx, esi
push eax
call fcn.0044f8f5
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
pop ecx
mov ecx, dword [esp + 0x30]
push eax
push esi
lea edx, [edx + ecx]
mov ecx, ebp
call fcn.0044f8ae
pop ecx
pop ecx
add dword [esp + 0x30], esi
mov ecx, dword [esp + 0x28]
call fcn.0042ae65
xor ecx, ecx
inc ecx
cmp eax, ecx
jg 0x450f80
mov edx, dword [esp + 0x50]
mov ecx, ebx
call fcn.0044f84a
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x450e8a
mov ecx, dword [esp + 0x4c]
mov edx, eax
call fcn.004047d8
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x450e9d
mov ecx, dword [esp + 0x4c]
mov edx, eax
call fcn.004047d8
mov eax, dword [edi + 0x6c]
mov dword [ebx + 0x34], eax
test esi, esi
je 0x450eed
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x450ec6
mov eax, dword [edi + 0x6c]
push 0
add eax, 3
push eax
push ecx
push 0x14
pop edx
mov ecx, edi
call fcn.0041c3a0
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
push esi
push dword [esp + 0x48]
push dword [esp + 0x2c]
movzx edx, byte [eax + ecx*2 + str.__]
mov ecx, edi
push dword [esp + 0x44]
call fcn.0041c609
add esp, 0x10
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x450f36
mov eax, dword [edi + 0x6c]
push 0
add eax, 2
push eax
push ecx
push 0x12
pop edx
mov ecx, edi
call fcn.0041c3a0
mov ecx, dword [esp + 0x70]
add esp, 0xc
lea eax, [esi + ecx]
push eax
push dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push dword [esp + 0x2c]
push dword [esp + 0x44]
movzx edx, byte [ecx + eax*2 + str.__]
mov ecx, edi
call fcn.0041c609
add esp, 0x10
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x24]
test eax, 0x40000
je 0x450f5e
push 0
xor eax, eax
mov ecx, edi
inc eax
push eax
push dword [esp + 0x40]
push 0x77
pop edx
call fcn.0041c3a0
mov eax, dword [esi + 0x24]
add esp, 0xc
test al, 0x40
je 0x450fbf
mov ecx, dword [esp + 0x5c]
test byte [ecx + 0x2c], 0x20
jne 0x450fbf
mov edx, dword [esp + 0x34]
xor eax, eax
xor edi, edi
lea esi, [eax + 1]
mov eax, dword [esp + 0x38]
jmp 0x4510ee
mov dword [esp + 0x18], ecx
jmp 0x450e73
cmp byte [esp + 0x57], 0
je 0x450e73
mov esi, dword [esp + 0x30]
test eax, eax
jne 0x450fb9
mov eax, dword [esp + 0x44]
xor ecx, ecx
push ecx
add eax, esi
push eax
push ecx
push 0x49
pop edx
mov ecx, edi
call fcn.0041c3a0
add esp, 0xc
and dword [esp + 0x18], 0
inc esi
jmp 0x450e77
mov edx, dword [esp + 0x58]
xor edi, edi
mov esi, edi
mov ecx, dword [edx + 0xc]
test byte [ecx + 0x24], 0x20
jne 0x45103a
mov ecx, dword [esp + 0x5c]
movzx eax, word [ecx + 0x2c]
test eax, 0x400
jne 0x451002
test eax, 0x1000
je 0x450fee
xor eax, eax
inc eax
cmp byte [ecx + 0x31], al
je 0x451002
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.00450094
pop ecx
pop ecx
jmp 0x4510e2
inc dword [ebp + 0x2c]
mov edx, 0x87
mov esi, dword [ebp + 0x2c]
mov ecx, dword [esp + 0x48]
push edi
push esi
push dword [esp + 0x40]
call fcn.0041c3a0
mov ecx, dword [esp + 0x54]
add esp, 0xc
push esi
push 0
push dword [esp + 0x3c]
push 0x1f
pop edx
call fcn.0041c3a0
add esp, 0xc
jmp 0x4510de
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
cmp edx, eax
je 0x4510ea
call fcn.0043430e
mov esi, eax
mov ecx, ebp
mov dword [esp + 0x40], esi
movzx edx, word [esi + 0x32]
call fcn.00430120
movzx ecx, word [esi + 0x32]
xor edi, edi
mov esi, dword [esp + 0x48]
mov edx, ecx
mov dword [esp + 0x18], eax
xor eax, eax
cmp ax, cx
jae 0x4510be
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x18]
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x58]
mov dx, word [eax + edi*2]
call fcn.00434326
movsx ecx, ax
lea eax, [edi + ebx]
push eax
push ecx
push dword [esp + 0x40]
mov ecx, esi
push 0x5a
pop edx
call fcn.0041c3a0
movzx ecx, word [ebp + 0x32]
add esp, 0xc
inc edi
cmp edi, ecx
jl 0x45107f
mov ebx, dword [esp + 0x74]
mov edx, ecx
mov ebp, dword [esp + 0x80]
movzx eax, dx
mov ecx, esi
push eax
push dword [esp + 0x1c]
push dword [esp + 0x8c]
push dword [esp + 0x40]
push 0x1c
pop edx
call fcn.0041c609
add esp, 0x10
xor edi, edi
mov esi, edi
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x5c]
cmp dword [ebx], edi
jne 0x451105
test byte [ecx + 0x2c], 0x20
jne 0x451105
push ecx
mov ecx, dword [esp + 0x5c]
push eax
call fcn.00450204
pop ecx
pop ecx
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x45111e
push dword [esp + 0x70]
mov edx, dword [esp + 0x38]
call fcn.004502bc
pop ecx
mov ecx, dword [esp + 0x20]
test dword [ecx + 0x24], 0x1000
je 0x451131
mov byte [ebx + 0x2d], 0xaa
jmp 0x45113e
cmp dword [esp + 0x3c], 0
sete al
add al, 4
mov byte [ebx + 0x2d], al
mov eax, dword [esp + 0x38]
xor edx, edx
mov dword [ebx + 0x30], eax
inc edx
mov al, byte [ecx + 0x26]
and al, dl
mov byte [ebx + 0x2e], al
test byte [ecx + 0x24], 0xf
jne 0x451159
mov byte [ebx + 0x2f], dl
test esi, esi
je 0x4511a9
and dword [esp + 0x58], 0
jmp 0x4511a9
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
test byte [eax + ecx + 0x30], 0x20
je 0x451179
mov byte [ebx + 0x2d], 0xaa
jmp 0x4511a9
mov ecx, dword [esp + 0x3c]
push esi
mov al, byte [ecx + 0x484538]
movzx edx, byte [ecx + 0x4805fc]
mov ecx, edi
mov byte [ebx + 0x2d], al
mov eax, dword [esp + 0x38]
push eax
mov dword [ebx + 0x30], eax
call fcn.0041c409
inc eax
mov dword [ebx + 0x34], eax
xor eax, eax
pop ecx
inc eax
pop ecx
mov byte [ebx + 0x2f], al
mov ecx, dword [esp + 0x70]
xor edx, edx
cmp dword [esp + 0x58], edx
sete dl
inc edx
mov dword [esp + 0x1c], edx
mov edi, dword [ecx + 0xc]
xor eax, eax
mov esi, dword [ecx + 0x14]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], edi
test edi, edi
jle 0x451297
movzx ecx, word [esi + 0xa]
test cl, 6
jne 0x451279
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [ebx + 0x48]
and eax, dword [ebx + 0x4c]
or ecx, eax
je 0x4511fc
mov eax, dword [esp + 0x5c]
xor ecx, ecx
inc ecx
mov byte [eax + 0x32], cl
jmp 0x451275
mov ebp, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov ecx, dword [esi]
mov dword [esp + 0x74], ecx
test byte [eax + ebp + 0x2c], 8
mov ebp, dword [esp + 0x80]
je 0x451222
xor eax, eax
inc eax
test byte [ecx + 4], al
je 0x451275
jmp 0x451225
xor eax, eax
inc eax
cmp edx, eax
jne 0x451247
push dword [esp + 0x58]
mov edx, dword [ebx + 4]
call fcn.0042fcf5
pop ecx
test eax, eax
jne 0x451431
push 2
pop eax
mov dword [esp + 0x24], eax
jmp 0x451279
cmp edx, 3
jl 0x451435
movzx eax, word [esi + 0xa]
test eax, 0x200
jne 0x451275
push 0x10
push dword [esp + 0x88]
push ecx
push ebp
call fcn.0042f237
add esp, 0x10
push 4
pop eax
or word [esi + 0xa], ax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
dec edi
add esi, 0x30
test edi, edi
jg 0x4511d3
mov ecx, dword [esp + 0x70]
mov edi, dword [ecx + 0xc]
mov esi, dword [ecx + 0x14]
mov dword [esp + 0x18], edi
mov edx, eax
mov dword [esp + 0x1c], edx
test eax, eax
jg 0x4511bb
test edi, edi
jle 0x45139a
lea ebp, [esi + 0xc]
test byte [ebp - 2], 6
jne 0x451383
movzx eax, word [ebp]
test al, 0x82
push 0xb
setne cl
pop edx
bt ax, dx
setb al
test al, cl
je 0x451383
mov ecx, dword [esp + 0x34]
cmp dword [ebp + 8], ecx
jne 0x451383
cmp dword [ebx], 0
jne 0x451383
mov eax, dword [ebp - 0xc]
mov edx, ecx
mov ecx, dword [esp + 0x70]
push 0
push 0x83
push dword [esp + 0x90]
mov dword [esp + 0x80], eax
push dword [esp + 0x98]
push dword [ebp + 0x10]
call fcn.0045275f
mov esi, eax
add esp, 0x14
test esi, esi
je 0x451383
test byte [esi + 0xa], 4
jne 0x451383
xor ecx, ecx
inc ecx
test byte [esi + 0xc], cl
je 0x451343
mov eax, dword [esi]
test dword [eax + 4], 0x800
je 0x451343
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
cmp dword [eax], ecx
jg 0x451383
mov esi, dword [esi]
lea edi, [esp + 0x94]
mov eax, dword [esp + 0x74]
push 0xc
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0xc]
push 0x10
push dword [esp + 0x88]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x9c]
push eax
push dword [esp + 0x8c]
call fcn.0042f237
mov edi, dword [esp + 0x28]
add esp, 0x10
dec edi
add ebp, 0x30
mov dword [esp + 0x18], edi
test edi, edi
jg 0x4512b0
mov ebp, dword [esp + 0x80]
cmp dword [ebx], 0
je 0x451412
mov ecx, dword [esp + 0x48]
push 0
push dword [ebx]
mov eax, dword [ecx + 0x6c]
mov dword [ebx + 0x1c], eax
xor eax, eax
inc eax
push eax
push 0x46
pop edx
call fcn.0041c3a0
mov edi, dword [esp + 0x7c]
xor edx, edx
add esp, 0xc
mov esi, dword [edi + 0x14]
cmp dword [edi + 0xc], edx
jle 0x451412
test byte [esi + 0xa], 6
jne 0x451402
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [ebx + 0x48]
and eax, dword [ebx + 0x4c]
or ecx, eax
jne 0x451402
push 0x10
push dword [esp + 0x88]
push dword [esi]
push ebp
call fcn.0042f237
mov edx, dword [esp + 0xa0]
add esp, 0x10
push 4
pop eax
or word [esi + 0xa], ax
inc edx
add esi, 0x30
mov dword [esp + 0x90], edx
cmp edx, dword [edi + 0xc]
jl 0x4513ca
mov eax, dword [ebx + 0x48]
mov edx, dword [ebx + 0x4c]
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004614f6
add esp, 0xb8
ret
mov ecx, dword [esp + 0x74]
movzx eax, word [esi + 0xa]
test eax, 0x1000
je 0x451254
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x451279
push 3
jmp 0x451240