Function at 0x4576f5
Capabilities:
Authenticate hmac
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov dword [esp + 4], edx
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea eax, [edx + 0x50]
mov dword [esp + 0x30], esi
mov dword [esp + 0x68], eax
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [esi]
mov dword [esp + 0x68], eax
mov dword [esp + 0x60], ebx
mov eax, dword [edi + 0x48]
mov dword [esp + 0x28], eax
movzx eax, byte [edi + 0x34]
imul ecx, eax, 0x48
mov eax, dword [edx + 4]
add eax, 8
add eax, ecx
lea ecx, [edx + 0x1e8]
mov dword [esp + 0x74], eax
mov eax, dword [eax + 0x2c]
mov edx, eax
mov dword [esp + 0x2c], eax
call fcn.0045ac17
mov ecx, dword [ebp + 8]
not eax
and eax, dword [ebp + 0x14]
not edx
and edx, dword [ebp + 0x18]
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], edx
mov eax, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
mov ecx, dword [ebp + 0xc]
call fcn.0047d2a0
xor ecx, ecx
inc ecx
and eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x38]
dec eax
mov dword [esi + 0x38], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], eax
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x38]
dec eax
mov dword [esi + 0x38], eax
mov dword [esp + 0x7c], eax
mov dword [edi + 0x18], eax
cmp byte [edi + 0x34], bl
jbe 0x4577c8
mov eax, dword [esp + 0x74]
test byte [eax + 0x24], 8
je 0x4577c8
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0x10]
inc eax
push ebx
push eax
push ebx
push 0x46
mov dword [esi + 0x2c], eax
pop edx
mov dword [edi], eax
call fcn.00423978
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov edx, dword [ebp + 8]
test eax, eax
jle 0x4577ea
imul eax, eax, 0x58
add eax, 0x2f0
add eax, edx
cmp dword [eax], ebx
jne 0x4577ea
dec ecx
sub eax, 0x58
test ecx, ecx
jg 0x4577de
imul eax, ecx, 0x58
mov eax, dword [eax + edx + 0x2fc]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x74]
test byte [eax + 0x28], 0x10
je 0x45783c
push dword [eax + 0x18]
mov esi, dword [eax + 0x1c]
mov ecx, dword [esp + 0x14]
push ebx
push esi
push 0xd
pop edx
call fcn.00423978
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ebx
push dword [esp + 0x24]
push esi
push 0xe
pop edx
call fcn.00423978
add esp, 0xc
mov dword [edi + 0x3c], eax
push 0xb
pop eax
mov byte [edi + 0x35], al
jmp 0x458be1
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x24]
bt edx, 0xa
jae 0x457a72
movzx eax, word [eax + 0x28]
mov ecx, esi
mov dword [esp + 0xc], eax
lea edx, [eax + 2]
call fcn.004379f5
mov ecx, eax
mov eax, dword [edi + 0xc]
mov esi, ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
cmp dword [esp + 0xc], ebx
jbe 0x4578ca
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + esi*4]
test edx, edx
je 0x4578c1
lea eax, [ecx + 2]
xor ecx, ecx
inc ecx
add eax, esi
test byte [edx + 0xc], cl
je 0x4578ad
push eax
push dword [esp + 0x3c]
mov ecx, ebx
push esi
push edi
call fcn.00456e23
mov eax, dword [edi + 0x10]
add esp, 0x10
mov dword [esp + 0x20], eax
jmp 0x4578bd
mov edx, dword [edx]
push ecx
push eax
mov ecx, ebx
mov edx, dword [edx + 0x10]
call fcn.00457535
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
inc esi
cmp esi, dword [esp + 0xc]
jl 0x457878
xor ebx, ebx
mov eax, dword [esp + 0x28]
push ebx
push ecx
mov ecx, dword [esp + 0x18]
push dword [eax + 0x18]
push 0x46
pop edx
call fcn.00423978
mov eax, dword [esp + 0x20]
add esp, 0xc
mov esi, dword [esp + 0xc]
inc eax
mov ecx, dword [esp + 0x10]
push ebx
push eax
push esi
push 0x46
pop edx
call fcn.00423978
mov ecx, dword [esp + 0x34]
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, dword [esp + 0x18]
push dword [esp + 0x1c]
push dword [esp + 0x2c]
push dword [esp + 0x3c]
push 9
pop edx
call fcn.00423a9c
mov edx, dword [esp + 0x3c]
add esp, 0x14
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 8]
mov byte [edx + 0x1c], bl
mov dword [edi + 0x38], eax
cmp byte [ecx + 0x31], 0
push 0x3c
pop eax
lea ecx, [eax + 0x6e]
cmovne eax, ecx
sub esi, 1
mov ecx, dword [esp + 0x10]
mov byte [edi + 0x35], al
mov eax, dword [ecx + 0x6c]
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0x40]
js 0x458be1
imul eax, eax, 0x14
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
add eax, 2
add eax, esi
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x30]
mov edx, dword [eax + esi*4]
mov dword [esp + 0x24], edx
cmp esi, 0x10
jae 0x4579ac
mov eax, dword [esp + 0x28]
mov cx, si
mov ax, word [eax + 0x1e]
shr ax, cl
xor ecx, ecx
inc ecx
test cl, al
je 0x4579a8
mov ecx, edi
call fcn.00456ba0
jmp 0x457a58
mov ecx, dword [esp + 0x10]
xor eax, eax
inc eax
test byte [edx + 0xc], al
je 0x457a58
mov eax, dword [esp + 0x68]
cmp byte [eax + 0x51], 0
jne 0x4579ed
mov eax, dword [esp + 0x20]
mov edx, dword [edi + 0x44]
sub eax, 0x14
mov dword [esp + 0x20], eax
mov edx, dword [edx + eax + 4]
call fcn.004240dc
push dword [eax + 0xc]
movzx edx, byte [eax]
push dword [eax + 8]
push dword [eax + 4]
call fcn.00423978
add esp, 0xc
mov ecx, dword [esp + 0x34]
push ebx
push ebx
push 0x35
pop edx
call fcn.00432ec6
mov dword [esp + 0x24], eax
pop ecx
pop ecx
test eax, eax
je 0x457a58
mov ecx, dword [esp + 0x24]
mov edx, 0xab
push ebx
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x6c]
call fcn.00432e3c
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x10], ecx
test ecx, ecx
je 0x457a4a
mov edx, dword [esp + 0xc]
push ebx
mov dword [ecx + 0x1c], edx
push dword [edi + 0x18]
push eax
push dword [esp + 0x40]
call fcn.00436bec
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov ecx, dword [esp + 0x68]
mov edx, eax
mov dword [eax + 0xc], ebx
call fcn.004331ad
dec dword [esp + 0xc]
sub esi, 1
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
jns 0x457978
jmp 0x458be1
test dl, 5
setne cl
bt edx, 8
setb al
test al, cl
je 0x457b02
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
mov eax, dword [eax + 0x30]
mov esi, dword [eax]
mov eax, dword [esp + 0x34]
inc dword [eax + 0x2c]
mov ecx, dword [eax + 0x2c]
push ecx
push edx
mov dword [esp + 0x14], ecx
mov edx, esi
push ebx
push edi
mov ecx, eax
call fcn.00456e23
mov edx, dword [esp + 0x1c]
add esp, 0x10
mov dword [esp + 0x20], eax
cmp eax, edx
je 0x457ac7
mov ecx, dword [esp + 0x34]
call fcn.004379dc
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push eax
push dword [edi + 0x10]
push dword [esp + 0x34]
push 0x1e
pop edx
call fcn.00423978
mov byte [edi + 0x35], 0xaa
add esp, 0xc
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [edi + 0x50]
and eax, dword [edi + 0x54]
or ecx, eax
jne 0x458be1
push 4
pop ecx
or word [esi + 0xa], cx
jmp 0x458be1
mov ecx, 0x102
mov eax, edx
and eax, ecx
cmp eax, ecx
jne 0x457d38
mov dword [esp + 0x24], 0xaa
mov ecx, ebx
mov dword [esp + 0x4c], ebx
mov esi, ebx
mov dword [esp + 0x1c], ebx
test dl, 0x20
je 0x457b3e
mov eax, dword [esp + 0x28]
push 4
mov eax, dword [eax + 0x30]
mov esi, dword [eax]
pop eax
mov dword [esp + 0xc], eax
jmp 0x457b42
mov dword [esp + 0xc], ebx
test dl, 0x10
je 0x457b59
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 0x30]
mov ecx, dword [ecx + eax]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x457b67
mov dword [esp + 0x1c], esi
mov esi, ecx
test esi, esi
je 0x457c22
mov edx, dword [esi]
mov dword [esp + 0x14], 0x18161719
mov dword [esp + 0x48], edx
mov ecx, dword [edx + 0x10]
call fcn.00432931
cmp eax, 1
jle 0x457bc4
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.004379bd
mov edx, dword [edx + 0x10]
xor ecx, ecx
inc ecx
mov dword [esp + 0xc], eax
push ecx
push eax
mov ecx, esi
call fcn.00457535
mov eax, dword [esp + 0x50]
xor edx, edx
inc edx
pop ecx
pop ecx
movzx eax, byte [eax]
mov ecx, dword [esp + 0xc]
inc eax
and eax, 2
or eax, edx
mov dl, byte [esp + eax + 0x14]
jmp 0x457bfd
lea eax, [esp + 0xc]
mov edx, ecx
mov ecx, dword [esp + 0x34]
push eax
call fcn.0043653b
pop ecx
mov edx, esi
mov dword [esp + 0x54], eax
mov ecx, edi
call fcn.00456ba0
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x34]
movzx ecx, byte [eax]
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov dl, byte [esp + ecx - 0x22]
mov ecx, dword [esp + 0x54]
push ecx
push dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x34]
movzx edx, dl
call fcn.00423978
mov edx, dword [esp + 0x18]
add esp, 0xc
mov ecx, esi
call fcn.004379dc
jmp 0x457c49
mov ecx, dword [esp + 0x10]
mov edx, eax
xor eax, eax
inc eax
push ebx
push dword [esp + 0x4c]
xor edx, eax
push dword [esp + 0x34]
lea edx, [edx*4 + 0x20]
call fcn.00423978
mov esi, dword [esp + 0x40]
add esp, 0xc
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x457cc9
mov eax, dword [eax]
xor edx, edx
inc dword [esi + 0x2c]
inc edx
mov ecx, dword [esi + 0x2c]
push edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x50], ecx
push ecx
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.00457535
mov edx, dword [esp + 0x14]
pop ecx
pop ecx
mov ecx, dword [edx + 0x10]
call fcn.00432931
cmp eax, 1
jg 0x457ca3
mov al, byte [edx]
cmp al, 0x38
je 0x457c8d
cmp al, 0x36
jne 0x457ca3
mov eax, dword [esp + 0x38]
xor edx, edx
inc edx
xor eax, edx
lea edx, [eax*2 + 0x37]
mov dword [esp + 0x24], edx
jmp 0x457cb2
mov eax, dword [esp + 0x38]
lea eax, [eax*2 + 0x36]
mov dword [esp + 0x24], eax
call fcn.00432931
xor ecx, ecx
inc ecx
cmp eax, ecx
jg 0x457cc9
mov edx, dword [esp + 0x1c]
mov ecx, edi
call fcn.00456ba0
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x38], ebx
mov ecx, dword [eax + 0x6c]
sete al
add al, 4
mov dword [edi + 0x3c], ecx
cmp dword [esp + 0x24], 0xaa
mov byte [edi + 0x35], al
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x38], eax
je 0x458be1
inc dword [esi + 0x2c]
mov edx, 0x80
mov esi, dword [esi + 0x2c]
mov ecx, dword [esp + 0x10]
push ebx
push esi
push eax
call fcn.00423978
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, dword [esp + 0x10]
push esi
push dword [esp + 0x24]
push dword [esp + 0x54]
call fcn.00423978
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 0x53
pop edx
call fcn.00423e3f
jmp 0x458be1
test edx, 0x200
je 0x4585dc
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x20], ebx
movzx eax, word [ecx + 0x18]
mov dword [esp + 0x50], eax
movzx eax, ax
mov dword [esp + 0x44], eax
movzx eax, word [ecx + 0x1a]
mov dword [esp + 0x48], eax
movzx eax, word [ecx + 0x1c]
mov ecx, ebx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov byte [esp + 0x1b], bl
mov byte [esp + 0x67], bl
mov eax, dword [eax + 0x20]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x50]
movzx eax, ax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x1c], eax
test dl, 0x20
je 0x457dcb
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
inc dword [esp + 0x1c]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x30], eax
movzx eax, word [ecx + 0x1a]
mov ecx, eax
mov dword [esp + 0x14], eax
test dl, 0x10
je 0x457ea4
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x58], eax
movzx edx, word [edx + 0x1c]
cmp ecx, edx
cmova edx, ecx
mov ecx, pe_nt_image_headers32
mov dword [esp + 0xc], edx
test word [eax + 0xa], cx
je 0x457e54
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0x10]
inc eax
push ebx
push eax
mov dword [esi + 0x2c], eax
mov dword [edi + 0x2c], eax
xor eax, eax
inc eax
push eax
push 0x46
pop edx
call fcn.00423978
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov esi, dword [esp + 0x5c]
add esp, 0xc
movzx edx, si
mov esi, dword [esp + 0x34]
mov eax, dword [eax + 0x6c]
shl dword [edi + 0x2c], 1
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x1c]
cmp byte [edx + eax], 1
mov edx, dword [esp + 0xc]
sete cl
xor ecx, dword [esp + 0x38]
or dword [edi + 0x2c], ecx
mov dword [esp + 0x14], edx
cmp dword [esp + 0x30], ebx
jne 0x457ea4
mov eax, dword [esp + 0x50]
movzx ecx, ax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 4]
movsx ecx, word [eax + ecx*2]
mov dword [esp + 0xc], ecx
test ecx, ecx
js 0x457e8e
mov eax, dword [esp + 0x60]
add ecx, ecx
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xc], bl
je 0x457e97
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], edx
cmp ecx, 0xfffffffe
jne 0x457ea4
xor ecx, ecx
mov dword [esp + 0x14], edx
inc ecx
mov byte [esp + 0x1b], cl
jmp 0x457ea7
xor ecx, ecx
inc ecx
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x24]
and eax, 0x80030
cmp eax, 0x80000
jne 0x457ed9
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x24], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x38]
dec eax
mov dword [esp + 0x14], ecx
mov dword [esi + 0x38], eax
mov byte [esp + 0x1b], cl
mov dword [edi + 0x28], eax
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x50]
movzx eax, word [edx + 0x32]
mov dword [esp + 0xc], eax
cmp cx, ax
jae 0x457f0a
mov eax, dword [edx + 0x1c]
xor edx, edx
movzx ecx, cx
cmp byte [ecx + eax], dl
sete dl
cmp dword [esp + 0x38], edx
je 0x457f19
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x38]
test edx, edx
je 0x457f53
cmp ax, cx
jne 0x457f53
jmp 0x457f1d
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x1b]
mov byte [esp + 0x67], al
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], ecx
movzx ecx, si
mov esi, dword [esp + 0x34]
movzx eax, al
mov byte [esp + 0x1b], bl
mov dword [esp + 0x48], ecx
mov dword [esp + 0x54], eax
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
push dword [esp + 0x18]
push edx
mov edx, edi
call fcn.0045718e
add esp, 0xc
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x4c], ebx
je 0x457f92
cmp word [esp + 0x54], bx
je 0x457f92
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x68]
movzx edx, ax
add edx, dword [esp + 0x4c]
call fcn.0040c09f
mov dword [esp + 0x20], eax
cmp dword [esp + 0x3c], ebx
je 0x457f9d
mov eax, dword [edi + 0x28]
jmp 0x457fa0
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x457fbb
test byte [ecx + 0xc], 0x28
jne 0x457fbb
xor edx, edx
mov dword [esp + 0x1c], ebx
inc edx
jmp 0x457fc2
xor edx, edx
inc edx
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x58]
test eax, eax
je 0x457fd4
test byte [eax + 0xc], 0x28
mov dword [esp + 0xc], ebx
je 0x457fd8
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x50]
test ecx, ecx
jne 0x458009
test dx, dx
jne 0x458009
mov eax, dword [esp + 0x44]
movzx eax, ax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x44], eax
mov al, byte [esp + 0x1b]
test al, al
je 0x4580de
mov dword [esp + 0x1c], ebx
jmp 0x4580e4
movzx eax, dx
mov dword [esp + 0x44], eax
xor eax, eax
inc eax
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x457ff4
mov eax, dword [ecx]
mov esi, dword [esp + 0x34]
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x48]
movzx edx, ax
mov eax, dword [esp + 0x50]
movzx eax, ax
add eax, dword [esp + 0x5c]
push edx
mov dword [esp + 0x28], ecx
mov edx, ecx
push eax
mov ecx, esi
mov dword [esp + 0x78], eax
call fcn.00457535
push dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov edx, edi
call fcn.00457458
mov ecx, dword [esp + 0x30]
add esp, 0xc
call fcn.00434046
test eax, eax
je 0x458080
mov ecx, dword [esp + 0x10]
push ebx
push dword [esp + 0x18]
push dword [esp + 0x78]
push 0x32
pop edx
call fcn.00423978
add esp, 0xc
cmp dword [esp + 0x4c], ebx
je 0x4580a3
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
movzx eax, ax
add eax, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
movzx edx, ax
call fcn.00456c4c
pop ecx
mov ecx, dword [esp + 0x48]
movzx eax, cx
add dword [esp + 0x44], eax
mov ecx, dword [esp + 0x24]
call fcn.00432931
xor ecx, ecx
inc ecx
cmp eax, ecx
jg 0x4580ce
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.00456ba0
xor ecx, ecx
inc ecx
jmp 0x4580d2
mov dword [esp + 0x1c], ecx
mov al, bl
mov dword [esp + 0x24], ecx
mov byte [esp + 0x1b], al
jmp 0x45810c
cmp dword [esp + 0x3c], ebx
je 0x45810c
mov ecx, dword [esp + 0x10]
movzx eax, dx
add eax, dword [esp + 0x5c]
push ebx
push eax
push ebx
push 0x49
pop edx
call fcn.00423978
xor eax, eax
add esp, 0xc
inc eax
inc dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x44]
push dword [esp + 0x4c]
mov edx, dword [esp + 0x60]
movzx eax, al
sub ecx, eax
push ecx
mov ecx, esi
call fcn.00456c04
pop ecx
pop ecx
mov ecx, dword [esp + 0x28]
movzx eax, word [ecx + 0x2a]
test ax, ax
je 0x45813e
cmp dword [esp + 0x44], eax
je 0x458209
test dword [ecx + 0x24], 0x40000
je 0x45815c
mov ecx, dword [esp + 0x10]
push ebx
push ebx
push dword [esp + 0x48]
push 0x77
pop edx
call fcn.00423978
add esp, 0xc
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x458179
mov ecx, dword [esp + 0x10]
push ebx
push eax
xor eax, eax
inc eax
push eax
push 0x46
pop edx
call fcn.00423978
add esp, 0xc
mov ecx, dword [esp + 0x1c]
push dword [esp + 0x44]
mov eax, dword [esp + 0x28]
push dword [esp + 0x60]
push dword [esp + 0x1c]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x44]
push dword [esp + 0x4c]
movzx edx, byte [ecx + eax*2 + 0x53133c]
mov ecx, dword [esp + 0x20]
call fcn.00423bcb
mov ecx, dword [esp + 0x4c]
add esp, 0x10
test ecx, ecx
je 0x45820d
mov ecx, dword [esp + 0x10]
push ebx
mov eax, dword [ecx + 0x6c]
add eax, 2
push eax
push ebx
push 0xb
pop eax
mov edx, eax
call fcn.00423978
mov eax, dword [esp + 0x50]
add esp, 0xc
sub eax, dword [esp + 0x1c]
push eax
push dword [esp + 0x60]
xor eax, eax
push dword [esp + 0x1c]
inc eax
push dword [esp + 0x4c]
cmp eax, dword [esp + 0x54]
push 4
pop ecx
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x48]
movzx edx, byte [eax + ecx + 0x53133e]
mov ecx, dword [esp + 0x20]
call fcn.00423bcb
add esp, 0x10
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x50]
movzx edx, ax
mov dword [esp + 0x30], edx
cmp dword [esp + 0x58], ebx
je 0x4582e7
mov eax, dword [esp + 0x58]
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x54]
movzx ecx, ax
mov eax, dword [esp + 0x50]
movzx eax, ax
add eax, dword [esp + 0x5c]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], eax
call fcn.00457535
push dword [esp + 0x60]
mov ecx, dword [esp + 0x1c]
mov edx, edi
call fcn.00457458
mov ecx, dword [esp + 0x28]
add esp, 0xc
call fcn.00434046
test eax, eax
je 0x458285
mov ecx, dword [esp + 0x10]
push ebx
push dword [esp + 0x18]
push dword [esp + 0x2c]
push 0x32
pop edx
call fcn.00423978
add esp, 0xc
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4582b9
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x58]
movzx edx, ax
call fcn.00456c4c
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
pop ecx
mov ecx, dword [esp + 0x54]
push eax
movzx eax, cx
mov ecx, esi
push eax
call fcn.00456c04
pop ecx
pop ecx
mov ecx, dword [esp + 0x54]
movzx eax, cx
add dword [esp + 0x30], eax
mov ecx, dword [esp + 0x1c]
call fcn.00432931
xor ecx, ecx
inc ecx
cmp eax, ecx
jg 0x4582e1
mov edx, dword [esp + 0x58]
mov ecx, edi
call fcn.00456ba0
jmp 0x458317
mov dword [esp + 0xc], ecx
jmp 0x458317
cmp byte [esp + 0x67], bl
je 0x458317
test ecx, ecx
jne 0x458312
mov ecx, dword [esp + 0x10]
push ebx
movzx eax, ax
add eax, dword [esp + 0x60]
push eax
push ebx
push 0x49
pop edx
call fcn.00423978
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0xc], ebx
inc edx
mov dword [esp + 0x30], edx
cmp dword [esp + 0x4c], ebx
je 0x45832a
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x68]
call fcn.0040bcf5
mov eax, dword [esp + 0x20]
test eax, eax
je 0x45833d
mov ecx, dword [esp + 0x68]
mov edx, eax
call fcn.0040bcf5
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x6c]
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x45839c
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x458373
mov eax, dword [ecx + 0x6c]
push ebx
add eax, 3
push eax
push edx
push 0x14
pop edx
call fcn.00423978
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
push eax
push dword [esp + 0x60]
mov eax, dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x4c]
movzx edx, byte [eax + edx*2 + str.__percent_rank]
call fcn.00423bcb
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x4583eb
mov eax, dword [ecx + 0x6c]
push ebx
add eax, 2
push eax
push edx
push 0x12
pop edx
call fcn.00423978
movzx eax, byte [esp + 0x27]
add esp, 0xc
add eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
push eax
push dword [esp + 0x60]
movzx eax, byte [esp + 0x23]
push dword [esp + 0x1c]
push dword [esp + 0x4c]
movzx edx, byte [eax + ecx*2 + str.__percent_rank]
mov ecx, dword [esp + 0x20]
call fcn.00423bcb
add esp, 0x10
mov eax, dword [esp + 0x28]
test dword [eax + 0x24], 0x40000
je 0x458414
mov ecx, dword [esp + 0x10]
xor eax, eax
push ebx
inc eax
push eax
push dword [esp + 0x48]
push 0x77
pop edx
call fcn.00423978
mov eax, dword [esp + 0x34]
add esp, 0xc
test byte [eax + 0x24], 0x40
je 0x458432
mov ecx, dword [ebp + 8]
test byte [ecx + 0x2c], 0x20
jne 0x458432
mov edx, dword [esp + 0x2c]
xor eax, eax
lea esi, [eax + 1]
mov eax, dword [esp + 0x40]
jmp 0x4584b0
mov edx, dword [esp + 0x60]
mov ecx, dword [edx + 0xc]
test byte [ecx + 0x24], 0x20
jne 0x4584fa
mov ecx, dword [ebp + 8]
movzx eax, word [ecx + 0x2c]
test eax, 0x400
jne 0x458471
test eax, 0x1000
je 0x458460
xor eax, eax
inc eax
cmp byte [ecx + 0x31], al
je 0x458471
push dword [esp + 0x40]
push dword [esp + 0x30]
call fcn.0045748c
pop ecx
pop ecx
jmp 0x4584a3
inc dword [esi + 0x2c]
mov edx, 0x87
mov esi, dword [esi + 0x2c]
mov ecx, dword [esp + 0x10]
push ebx
push esi
push dword [esp + 0x48]
call fcn.00423978
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push esi
push ebx
push dword [esp + 0x34]
push 0x1f
pop edx
call fcn.00423978
add esp, 0xc
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
mov esi, ebx
mov ecx, dword [ebp + 8]
cmp dword [edi], ebx
jne 0x4584c7
test byte [ecx + 0x2c], 0x20
jne 0x4584c7
push ecx
mov ecx, dword [esp + 0x64]
push eax
call fcn.004575fc
pop ecx
pop ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x4584e0
push dword [esp + 0x6c]
mov edx, dword [esp + 0x30]
call fcn.0045768e
pop ecx
mov ecx, dword [esp + 0x28]
test dword [ecx + 0x24], 0x1000
je 0x4585a4
mov byte [edi + 0x35], 0xaa
jmp 0x4585b0
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
cmp edx, eax
je 0x4584ab
call fcn.0043bdc8
mov ecx, esi
mov dword [esp + 0xc], eax
movzx edx, word [eax + 0x32]
call fcn.004379f5
mov dword [esp + 0x20], eax
mov esi, ebx
mov eax, dword [esp + 0xc]
movzx ecx, word [eax + 0x32]
xor eax, eax
mov edx, ecx
cmp ax, cx
jae 0x458575
mov esi, dword [esp + 0xc]
mov edi, ebx
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x60]
mov dx, word [edx + edi*2]
call fcn.0043bde0
movsx ecx, ax
mov eax, dword [esp + 0x20]
add eax, edi
push eax
push ecx
push dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
push 0x5a
pop edx
call fcn.00423978
movzx ecx, word [esi + 0x32]
add esp, 0xc
inc edi
cmp edi, ecx
jl 0x458537
mov edi, dword [ebp + 0x10]
mov edx, ecx
mov esi, ebx
mov ecx, dword [esp + 0x10]
movzx eax, dx
push eax
push dword [esp + 0x24]
push dword [esp + 0x84]
push dword [esp + 0x38]
push 0x1c
pop edx
call fcn.00423bcb
mov eax, dword [esp + 0x50]
add esp, 0x10
mov edx, dword [esp + 0x2c]
jmp 0x4584ad
cmp dword [esp + 0x38], ebx
sete al
add al, 4
mov byte [edi + 0x35], al
mov eax, dword [esp + 0x40]
xor edx, edx
mov dword [edi + 0x38], eax
inc edx
mov al, byte [ecx + 0x26]
and al, dl
mov byte [edi + 0x36], al
test byte [ecx + 0x24], 0xf
jne 0x4585cb
mov byte [edi + 0x37], dl
test esi, esi
je 0x458be1
mov dword [esp + 0x60], ebx
jmp 0x458be1
test edx, 0x2000
je 0x458b9a
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x40], eax
inc edx
inc eax
mov dword [esi + 0x2c], edx
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x38]
dec eax
mov dword [esp + 0x50], edx
mov dword [esi + 0x38], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov eax, dword [eax + 0x1c]
mov dword [edi + 0x38], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x30], eax
mov byte [edi + 0x35], 0x42
mov al, byte [edx + 0x2e]
cmp al, 1
jbe 0x458711
mov ecx, dword [esp + 0x68]
movzx eax, al
sub eax, dword [ebp + 0xc]
dec eax
mov dword [esp + 0x70], eax
imul eax, eax, 0x48
push ebx
add eax, 0x50
push eax
test ecx, ecx
je 0x45867b
call fcn.0040bf37
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x458688
call fcn.0040bb82
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x14], eax
test ecx, ecx
jne 0x458697
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
jmp 0x458ea2
mov edx, dword [esp + 0x70]
lea edi, [ecx + 8]
mov esi, dword [esp + 0x74]
push 0x12
lea eax, [edx + 1]
movzx eax, al
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov eax, dword [ebp + 8]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, 8
inc eax
mov dword [esp + 0x70], ecx
cmp edx, eax
jl 0x458701
mov ebx, dword [esp + 0x14]
mov eax, dword [ebp + 0x10]
add ebx, 0x50
add eax, 0x8c
mov dword [esp + 0xc], eax
movzx eax, byte [eax]
mov edi, ebx
imul esi, eax, 0x48
add ebx, 0x48
mov eax, dword [esp + 0xc]
push 0x12
add eax, 0x58
mov dword [esp + 0x10], eax
add esi, ecx
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x70]
sub edx, 1
jne 0x4586d9
xor ebx, ebx
mov edi, dword [ebp + 0x10]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 8]
jmp 0x458718
mov eax, dword [edx + 4]
mov dword [esp + 0x14], eax
test byte [edx + 0x2c], 0x10
jne 0x458787
test byte [ecx + 0x24], 0x20
jne 0x458742
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0x10]
push ebx
push eax
push ebx
push 0x49
pop edx
mov dword [esp + 0x30], eax
call fcn.00423978
add esp, 0xc
jmp 0x45877d
call fcn.0043bdc8
mov esi, eax
mov eax, dword [esp + 0x34]
push ebx
mov edx, dword [eax + 0x28]
mov dword [esp + 0x28], edx
lea ecx, [edx + 1]
mov dword [eax + 0x28], ecx
movzx ecx, word [esi + 0x32]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push 0x70
pop edx
call fcn.00423978
add esp, 0xc
mov edx, esi
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.004240c1
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x10]
push ebx
push dword [esp + 0x54]
push ebx
push 0x46
pop edx
call fcn.00423978
mov edx, dword [esp + 0x78]
add esp, 0xc
mov dword [esp + 0x78], eax
xor eax, eax
inc eax
cmp dword [edx + 0xc], eax
jle 0x458836
mov edi, ebx
mov dword [esp + 0xc], ebx
mov ecx, ebx
mov eax, dword [edx + 0x14]
add eax, ecx
mov edx, dword [eax]
cmp eax, dword [esp + 0x28]
je 0x458806
test byte [eax + 0xa], 6
jne 0x458806
mov esi, 0x1fff
test word [eax + 0xc], si
mov esi, dword [esp + 0x34]
je 0x458806
test edx, edx
je 0x4587ed
mov ecx, dword [esp + 0x68]
push ebx
push ebx
call fcn.00433321
pop ecx
pop ecx
jmp 0x4587ef
mov eax, ebx
mov edx, dword [esp + 0x3c]
mov ecx, esi
push eax
call fcn.00432f6f
pop ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
jmp 0x45880a
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x6c]
inc edi
add ecx, 0x30
mov dword [esp + 0xc], ecx
cmp edi, dword [edx + 0xc]
jl 0x4587b8
mov edi, dword [ebp + 0x10]
test eax, eax
je 0x458836
push eax
push ebx
mov edx, 0x1002c
mov ecx, esi
call fcn.00432ec6
pop ecx
pop ecx
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 8]
mov ecx, 0x400
push 0x20
mov ax, word [eax + 0x2c]
and ax, cx
pop ecx
or ax, cx
movzx eax, ax
mov dword [esp + 0x70], eax
xor eax, eax
push str.MULTI_INDEX_OR
inc eax
push eax
push esi
call fcn.00423b0f
mov ecx, dword [esp + 0x3c]
add esp, 0xc
mov eax, ebx
mov dword [esp + 0x54], eax
cmp dword [ecx + 0xc], ebx
jle 0x458b0f
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
imul eax, eax, 0x30
add eax, dword [ecx + 0x14]
cmp dword [eax + 0x14], edx
je 0x45889d
mov edi, 0x400
test word [eax + 0xc], di
mov edi, dword [esp + 0x10]
je 0x458afa
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov dword [esp + 0x5c], ebx
test ecx, ecx
je 0x4588b6
mov dword [ecx + 0xc], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x54]
inc eax
push eax
xor eax, eax
push str.INDEX__d
inc eax
push eax
push esi
call fcn.00423b0f
push dword [esp + 0x50]
mov edx, dword [esp + 0x28]
mov ecx, esi
push dword [esp + 0x84]
push ebx
push ebx
push dword [esp + 0x2c]
call fcn.0045edbf
add esp, 0x24
mov dword [esp + 0x80], eax
test eax, eax
je 0x458af2
mov edx, dword [esp + 0x14]
lea ecx, [eax + 0x2f0]
push ebx
push ecx
mov ecx, esi
call fcn.00456902
mov eax, dword [ebp + 8]
pop ecx
pop ecx
test byte [eax + 0x2c], 0x10
jne 0x458a5c
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x54]
push 0xffffffffffffffff
pop edx
mov eax, dword [eax + 0xc]
dec eax
cmp ecx, eax
mov eax, dword [esp + 0x20]
cmove ecx, edx
mov dword [esp + 0xc], ecx
test byte [eax + 0x24], 0x20
jne 0x458975
push dword [esp + 0x1c]
mov ecx, edi
push edx
push dword [esp + 0x34]
mov edx, eax
call fcn.00435472
add esp, 0xc
mov ecx, edi
push dword [esp + 0xc]
push dword [esp + 0x20]
push ebx
push dword [esp + 0x30]
push 0x2a
pop edx
call fcn.00423bcb
add esp, 0x10
mov dword [esp + 0x5c], eax
jmp 0x458a5c
mov ecx, eax
call fcn.0043bdc8
mov ecx, esi
mov dword [esp + 0x84], eax
movzx edx, word [eax + 0x32]
mov dword [esp + 0x48], edx
call fcn.004379f5
mov dword [esp + 0x4c], eax
mov dword [esp + 0x88], ebx
test edx, edx
je 0x4589db
mov esi, edx
mov edx, dword [esp + 0x20]
lea ecx, [ebx + eax]
mov eax, dword [esp + 0x84]
push ecx
mov ecx, edi
mov eax, dword [eax + 4]
movsx eax, word [eax + ebx*2]
push eax
push dword [esp + 0x34]
call fcn.00435472
mov eax, dword [esp + 0x58]
add esp, 0xc
inc ebx
cmp ebx, esi
jl 0x4589a3
mov esi, dword [esp + 0x34]
xor ebx, ebx
mov edx, dword [esp + 0x48]
cmp dword [esp + 0xc], 0
je 0x458a01
push edx
push eax
push ebx
push dword [esp + 0x30]
mov ecx, edi
push 0x1d
pop edx
call fcn.00423bcb
add esp, 0x10
mov dword [esp + 0x5c], eax
cmp dword [esp + 0xc], 0
jl 0x458a4a
push dword [esp + 0x1c]
mov ecx, edi
push dword [esp + 0x4c]
push dword [esp + 0x54]
push 0x5c
pop edx
call fcn.00423978
add esp, 0xc
mov edx, 0x84
mov ecx, edi
push dword [esp + 0x48]
push dword [esp + 0x50]
push dword [esp + 0x24]
push dword [esp + 0x30]
call fcn.00423bcb
add esp, 0x10
cmp dword [esp + 0xc], 0
je 0x458a4a
push 0x10
pop edx
mov ecx, edi
call fcn.00423e3f
push dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov ecx, esi
call fcn.00437a2b
add esp, 4
push ebx
push dword [esp + 0x3c]
mov ecx, edi
push dword [esp + 0x58]
push 0xc
pop edx
call fcn.00423978
mov eax, dword [esp + 0x68]
add esp, 0xc
test eax, eax
je 0x458a89
mov edx, eax
mov ecx, edi
call fcn.004240dc
mov ecx, dword [edi + 0x6c]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x44]
push 1
pop ecx
cmp byte [edx + 0x32], 0
cmovne eax, ecx
mov ecx, dword [edx + 0x338]
mov dword [esp + 0x44], eax
test dword [ecx + 0x24], 0x200
je 0x458ae0
cmp dword [esp + 0x54], 0
je 0x458ac1
mov eax, dword [esp + 0x58]
cmp dword [ecx + 0x20], eax
jne 0x458ae0
mov eax, dword [esp + 0x20]
test byte [eax + 0x24], 0x20
je 0x458ad7
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x38]
and al, 3
cmp al, 2
je 0x458ae0
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x58], eax
jmp 0x458ae4
mov dword [esp + 0x58], ebx
mov ecx, edx
call fcn.0045f7b3
mov ecx, esi
call fcn.00423b60
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x54]
inc eax
mov dword [esp + 0x54], eax
cmp eax, dword [ecx + 0xc]
jl 0x45887f
mov edi, dword [ebp + 0x10]
mov ecx, esi
call fcn.00423b60
mov eax, dword [esp + 0x58]
mov dword [edi + 0x40], eax
test eax, eax
je 0x458b28
mov eax, dword [esp + 0x40]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x458b3e
mov ecx, dword [esp + 0x68]
mov edx, eax
mov dword [eax + 0xc], ebx
call fcn.004331ad
mov esi, dword [esp + 0x10]
mov ecx, esi
mov edx, dword [esp + 0x78]
call fcn.004240dc
mov ecx, dword [esi + 0x6c]
mov dword [eax + 4], ecx
mov ecx, esi
mov edx, dword [edi + 0xc]
call fcn.004239d1
mov edx, dword [esp + 0x38]
mov ecx, esi
call fcn.00423c65
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
cmp byte [eax + 0x2e], cl
jbe 0x458b86
mov eax, dword [esp + 0x14]
test eax, eax
je 0x458b86
mov ecx, dword [esp + 0x68]
mov edx, eax
call fcn.0040bcf5
cmp dword [esp + 0x44], 0
jne 0x458be1
mov edx, dword [esp + 0x28]
mov ecx, edi
call fcn.00456ba0
jmp 0x458be1
mov eax, dword [esp + 0x74]
test byte [eax + 0x28], 0x20
je 0x458baa
mov byte [edi + 0x35], 0xaa
jmp 0x458be1
mov ecx, dword [esp + 0x38]
push ebx
push dword [esp + 0x4c]
mov al, byte [ecx + 0x5340fc]
movzx edx, byte [ecx + 0x5359f8]
mov ecx, dword [esp + 0x18]
mov byte [edi + 0x35], al
mov eax, dword [esp + 0x34]
push eax
mov dword [edi + 0x38], eax
call fcn.00423978
add esp, 0xc
inc eax
mov dword [edi + 0x3c], eax
xor eax, eax
inc eax
mov byte [edi + 0x37], al
xor edx, edx
cmp dword [esp + 0x60], edx
sete dl
inc edx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x6c]
mov ecx, ebx
mov dword [esp + 0x14], ecx
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
jmp 0x458d22
movzx eax, word [esi + 0xa]
mov dword [esp + 0x20], ebx
mov edx, eax
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0xc]
test al, 6
jne 0x458d1a
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [edi + 0x50]
and eax, dword [edi + 0x54]
or ecx, eax
je 0x458c3c
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
mov byte [eax + 0x32], cl
jmp 0x458d16
mov ecx, dword [esp + 0x74]
mov eax, dword [esi]
mov dword [esp + 0x80], eax
test byte [ecx + 0x24], 8
je 0x458c5d
xor ecx, ecx
inc ecx
test byte [eax + 4], cl
je 0x458d16
jmp 0x458c60
xor ecx, ecx
inc ecx
cmp edx, ecx
jne 0x458c83
push dword [esp + 0x60]
mov edx, dword [edi + 4]
mov ecx, eax
call fcn.00437666
pop ecx
test eax, eax
jne 0x458c8f
push 2
pop ecx
mov dword [esp + 0x14], ecx
jmp 0x458d1a
mov eax, dword [esp + 0x78]
movzx ecx, ax
cmp edx, 3
jge 0x458ca8
movzx eax, word [esi + 0xa]
mov ecx, eax
test eax, 0x1000
je 0x458ca8
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x458d1a
push 3
jmp 0x458c79
test ecx, 0x200
je 0x458cda
mov edx, dword [edi + 0x2c]
test edx, edx
je 0x458cda
mov ecx, dword [esp + 0x10]
mov eax, edx
push ebx
shr eax, 1
push ebx
push eax
xor eax, eax
inc eax
and edx, eax
lea edx, [edx*2 + 0x12]
call fcn.00423978
add esp, 0xc
mov dword [esp + 0x20], eax
push 0x10
push dword [esp + 0x80]
push dword [esp + 0x88]
push dword [esp + 0x40]
call fcn.00436bec
mov eax, dword [esp + 0x30]
add esp, 0x10
test eax, eax
je 0x458d0f
mov ecx, dword [esp + 0x10]
mov edx, eax
call fcn.004240dc
mov ecx, dword [ecx + 0x6c]
mov dword [eax + 8], ecx
push 4
pop eax
or word [esi + 0xa], ax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
dec eax
add esi, 0x30
mov dword [esp + 0x1c], eax
test eax, eax
jg 0x458c04
mov edx, ecx
mov dword [esp + 0xc], edx
test ecx, ecx
jg 0x458bef
mov eax, dword [esp + 0x6c]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
jmp 0x458e1e
test byte [esi + 0xa], 6
jne 0x458e1a
movzx eax, word [esi + 0xc]
test al, 0x82
push 0xb
pop edi
setne cl
bt ax, di
mov edi, dword [ebp + 0x10]
setb al
test al, cl
je 0x458e1a
mov ecx, dword [esp + 0x2c]
cmp dword [esi + 0x14], ecx
jne 0x458e1a
cmp dword [edi], ebx
jne 0x458e1a
mov eax, dword [esi]
mov edx, ecx
mov ecx, dword [esp + 0x6c]
push ebx
push 0x83
push dword [ebp + 0x18]
mov dword [esp + 0x84], eax
push dword [ebp + 0x14]
push dword [esi + 0x1c]
call fcn.0045aef6
mov edx, eax
add esp, 0x14
test edx, edx
je 0x458e16
test byte [edx + 0xa], 4
jne 0x458e16
xor ecx, ecx
inc ecx
test byte [edx + 0xc], cl
je 0x458dd6
mov eax, dword [edx]
test dword [eax + 4], 0x800
je 0x458dd6
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
cmp dword [eax], ecx
jg 0x458e16
mov esi, dword [edx]
lea edi, [esp + 0x8c]
mov eax, dword [esp + 0x78]
push 0xd
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0xc]
push 0x10
push dword [esp + 0x80]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x94]
push eax
push dword [esp + 0x40]
call fcn.00436bec
mov edi, dword [ebp + 0x10]
add esp, 0x10
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
dec edx
add esi, 0x30
mov dword [esp + 0x1c], edx
mov dword [esp + 0xc], esi
test edx, edx
jg 0x458d4b
cmp dword [edi], 0
je 0x458e9c
mov ecx, dword [esp + 0x10]
push ebx
push dword [edi]
mov eax, dword [ecx + 0x6c]
mov dword [edi + 0x1c], eax
xor eax, eax
inc eax
push eax
push 0x46
pop edx
call fcn.00423978
mov edx, dword [esp + 0x78]
add esp, 0xc
mov esi, dword [edx + 0x14]
cmp dword [edx + 0xc], ebx
jle 0x458e9c
test byte [esi + 0xa], 6
jne 0x458e93
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [edi + 0x50]
and eax, dword [edi + 0x54]
or ecx, eax
jne 0x458e93
push 0x10
push dword [esp + 0x80]
push dword [esi]
push dword [esp + 0x40]
call fcn.00436bec
mov edx, dword [esp + 0x7c]
add esp, 0x10
push 4
pop eax
or word [esi + 0xa], ax
inc ebx
add esi, 0x30
cmp ebx, dword [edx + 0xc]
jl 0x458e5b
mov eax, dword [edi + 0x50]
mov edx, dword [edi + 0x54]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret