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

Disassembly:
mov eax, 0x1fcc
call fcn.00585e80
mov eax, dword [0x5debe0]
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x40
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call dword [eax + 0x14]
mov esi, dword [esp + 0x1fe8]
mov ebx, eax
mov ecx, esi
mov eax, dword [ecx]
mov edx, ebx
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x1fe4]
mov dword [ebx + 0x10], ebp
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x1c], ebp
mov dword [ebx + 0x20], ebp
mov dword [ebx + 0x24], ebp
mov dword [ebx + 0x34], ebp
mov dword [ebx + 0x38], ebp
mov dword [ebx + 0x3c], 0x12
mov dword [ebx + 0x14], ebp
mov edi, dword [esi + 8]
xor edx, edx
cmp edi, ebp
sete dl
lea eax, [esp + 0x84]
push eax
push esi
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x7c], edx
call fcn.00543e10
mov edi, eax
add esp, 0x10
cmp edi, ebp
je 0x53a9c4
cmp dword [esi + 8], ebp
jne 0x53a9c4
mov eax, dword [esp + 0x8c]
cmp eax, ebp
mov ecx, eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], ecx
je 0x53a94d
jmp 0x53a851
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 8]
cmp eax, ebp
jle 0x53a869
cmp edi, ebp
je 0x53a9c4
add dword [esp + 0x1c], eax
jmp 0x53a93a
mov eax, dword [ecx]
cmp eax, 0x5a3448
je 0x53a881
cmp eax, 0x5a3428
jne 0x53a93a
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0xc]
cmp dword [edx + 0x98], ebp
je 0x53a93a
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x1fd4]
lea ecx, [ecx + eax*4]
inc dword [ecx]
mov ecx, dword [edx + 8]
mov eax, dword [esp + 0x1fd4]
shl ecx, 2
test byte [ecx + eax], 1
je 0x53a8bc
mov eax, dword [esp + 0x1fd8]
mov dword [ecx + eax], edx
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x88]
cmp eax, ecx
jl 0x53a93a
mov edi, dword [esp + 0x14]
cmp dword [edi], 0x5a3448
jne 0x53a92d
cmp eax, ecx
je 0x53a8f2
mov ecx, dword [0x5debe0]
push str.Bad_tag_priority_being_toggled_off
call dword [ecx + 0x10]
mov ecx, dword [esp + 0x8c]
add esp, 4
xor edi, edi
dec ecx
cmp ecx, ebp
mov dword [esp + 0x88], ecx
jle 0x53a93a
mov eax, dword [esp + 0x1fd4]
test byte [eax + ecx*4], 1
jne 0x53a91b
dec ecx
cmp ecx, ebp
mov dword [esp + 0x88], ecx
jg 0x53a907
jmp 0x53a93a
mov edx, dword [esp + 0x1fd8]
mov eax, dword [edx + ecx*4]
mov edi, dword [eax + 0x9c]
jmp 0x53a93a
mov edi, dword [edx + 0x9c]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
cmp eax, ebp
mov dword [esp + 0x14], eax
jne 0x53a84d
cmp edi, ebp
je 0x53a9c4
cmp dword [ebx + 8], ebp
mov edx, dword [esp + 0x1c]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x30], ebp
mov dword [ebx + 0x2c], ebp
mov dword [ebx + 0x28], ebp
jne 0x53a9a7
mov ecx, dword [esp + 0x1fe0]
mov eax, dword [ecx + 0xa0]
mov edx, dword [ebx + 4]
mov esi, dword [ecx + 0x10]
mov edx, dword [edx + 0xc]
mov eax, dword [eax + 0xa8]
mov dword [edx + esi*8 + 4], eax
mov eax, dword [ebx + 4]
mov ecx, dword [ecx + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [edx + ecx*8], ebp
je 0x53a9a7
push ebp
push ebp
push eax
mov eax, dword [esp + 0x1fec]
push eax
call fcn.005423d0
add esp, 0x10
lea ecx, [esp + 0x80]
push ecx
call fcn.00544080
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x1fcc
ret
lea edx, [esp + 0x80]
push edx
call fcn.00544080
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0xc]
add esp, 4
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], ebp
xor esi, esi
mov dword [esp + 0x48], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x68], ebp
test ecx, ecx
mov eax, ecx
mov dword [esp + 0x10], eax
mov edi, dword [edx + 8]
jle 0x53aa82
mov ecx, dword [edi + 8]
cmp eax, ecx
jl 0x53aa82
sub eax, ecx
mov dword [esp + 0x10], eax
mov edi, dword [edi + 4]
test edi, edi
jne 0x53aa78
push edx
push edi
call fcn.00542cf0
add esp, 8
test eax, eax
je 0x53ae79
inc dword [ebx + 0x14]
mov edx, eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edx
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x53aa3e
jmp 0x53aa82
mov ebp, dword [esp + 0x18]
test edi, edi
je 0x53ae81
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x53ab2a
test ebp, ebp
je 0x53ab2a
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x53ab2a
mov ecx, dword [edi + 8]
sub ecx, eax
test ecx, ecx
jle 0x53aac7
add dword [esp + 0x40], ecx
mov eax, dword [ebp + 0x1c]
add eax, ecx
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x30], eax
mov dword [esp + 0x14], eax
jmp 0x53aafa
mov eax, dword [edi]
cmp eax, 0x5a3448
je 0x53aad7
cmp eax, 0x5a3428
jne 0x53aafa
mov ebp, dword [edi + 0xc]
mov ecx, dword [ebp + 0x98]
test ecx, ecx
je 0x53aafa
xor ecx, ecx
cmp eax, 0x5a3448
mov eax, dword [ebp + 0x9c]
sete cl
xor ecx, eax
mov dword [esp + 0x30], ecx
xor eax, eax
mov dword [esp + 0x10], eax
mov edi, dword [edi + 4]
test edi, edi
jne 0x53aa7e
mov edx, dword [esp + 0x3c]
push edx
push edi
call fcn.00542cf0
add esp, 8
test eax, eax
jne 0x53ae1c
mov eax, dword [esp + 0x10]
jmp 0x53aa7e
mov eax, dword [edi]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x53ab41
mov edi, dword [edi + 4]
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x53aa82
test esi, esi
jne 0x53ab5d
mov ecx, dword [0x5debe0]
push 0x38
call dword [ecx + 0x14]
mov esi, eax
add esp, 4
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 0x34], eax
mov ebx, dword [esp + 0x1fe0]
lea edx, [esp + 0x38]
push edx
push ebx
call fcn.0053b0f0
mov dword [esi + 8], eax
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x4c]
add esp, 8
test ecx, ecx
mov dword [esp + 0x30], ecx
jne 0x53abed
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x53abed
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
mov ebp, dword [esp + 0x6c]
test ebp, ebp
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x54], ecx
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x1c], ecx
je 0x53abbb
mov ebp, dword [eax + 0x20]
jmp 0x53abbe
mov ebp, dword [eax + 0x24]
cmp ecx, 1
mov dword [esp + 0x28], ebp
jne 0x53abd1
mov dword [esp + 0x2c], 0xffffffff
jmp 0x53abf1
mov ecx, dword [ebx + 0xa0]
mov eax, dword [ecx + 0x54]
sub eax, dword [ecx + 0x4c]
sub eax, edx
cmp eax, ebp
mov dword [esp + 0x2c], eax
jge 0x53abf1
mov dword [esp + 0x2c], ebp
jmp 0x53abf1
mov ebp, dword [esp + 0x28]
mov ebx, dword [edi + 8]
mov edx, dword [esp + 0x10]
mov ecx, dword [edi]
xor eax, eax
sub ebx, edx
cmp ecx, 0x5a3408
mov dword [esp + 0x64], eax
jne 0x53ac44
cmp dword [esp + 0x30], eax
jne 0x53ac44
cmp dword [esp + 0x54], eax
jne 0x53ac44
mov cl, byte [edx + edi + 0xc]
test cl, cl
lea eax, [edx + edi + 0xc]
je 0x53ac42
cmp cl, 9
je 0x53ac31
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x53ac22
jmp 0x53ac42
sub eax, edx
sub eax, edi
sub eax, 0xb
mov ebx, eax
mov dword [esp + 0x64], 1
xor eax, eax
cmp dword [esp + 0x30], eax
mov dword [esi], ebp
je 0x53ac74
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0x53f2c0
mov dword [esi + 0x18], 0x53f290
jmp 0x53acf1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x34]
mov edx, dword [edi]
push esi
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x1c]
push ebx
sub eax, ebp
push eax
push ecx
mov ecx, dword [esp + 0x1ff8]
push edi
lea eax, [esp + 0x54]
push eax
push ecx
call dword [edx + 0x18]
mov ebp, eax
add esp, 0x24
test ebp, ebp
jg 0x53acde
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x1fe0]
push edx
push eax
call fcn.00539f50
add esp, 8
test ebp, ebp
jge 0x53ae5e
mov edi, dword [edi + 4]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x53aa82
mov eax, dword [esi + 0x1c]
test eax, eax
jle 0x53acf1
mov dword [esp + 0x48], 0
mov dword [esp + 0x68], esi
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x53ad02
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0x34], esi
jmp 0x53ad05
mov dword [eax + 4], esi
mov ebp, dword [esp + 0x28]
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x30]
add ebp, edx
test eax, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], ebp
jle 0x53ad45
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x20], esi
cmp dword [esi + 0x1c], ebx
jne 0x53ae79
mov eax, dword [esp + 0x64]
test eax, eax
je 0x53adc5
mov eax, dword [esp + 0x58]
test eax, eax
jl 0x53ad86
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push ecx
push eax
mov eax, dword [esp + 0x1fe8]
push edx
push eax
call fcn.0053f7c0
mov ebx, dword [esi]
mov eax, dword [esi + 0x2c]
add esp, 0x10
add ebx, eax
mov dword [esp + 0x28], ebx
jmp 0x53ad8a
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x60]
push ebp
push ebx
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x1fec]
push edx
push eax
push ecx
mov dword [esp + 0x68], esi
call fcn.0053fa40
add esp, 0x18
test ebp, ebp
mov dword [esp + 0x34], eax
jl 0x53adc5
sub ebp, ebx
cmp eax, ebp
jge 0x53ae79
mov edx, dword [esi + 0x1c]
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x40], ebx
add eax, dword [esi + 0x1c]
mov dword [esp + 0x10], eax
cmp eax, dword [edi + 8]
jl 0x53ae0d
mov ecx, dword [esp + 0x30]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
mov edi, dword [edi + 4]
je 0x53ae0d
test edi, edi
jne 0x53ae0d
mov eax, dword [esp + 0x3c]
push eax
push edi
call fcn.00542cf0
add esp, 8
test eax, eax
jne 0x53ae38
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
xor esi, esi
jmp 0x53aa82
mov ecx, dword [ebx + 0x14]
mov ebp, dword [esp + 0x18]
inc ecx
mov dword [ebx + 0x14], ecx
xor ecx, ecx
mov edx, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], edx
jmp 0x53aa31
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x14]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
inc edx
mov dword [ecx + 0x14], edx
xor ecx, ecx
mov edx, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], edx
xor esi, esi
jmp 0x53aa31
test esi, esi
je 0x53ae79
mov ecx, dword [0x5debe0]
push esi
call dword [ecx + 0x18]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
add esp, 4
jmp 0x53ae81
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
xor ecx, ecx
cmp eax, ecx
je 0x53aea1
pop edi
pop esi
pop ebp
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0x30], ecx
mov eax, ebx
pop ebx
add esp, 0x1fcc
ret
mov eax, dword [esp + 0x20]
xor edx, edx
cmp edi, ecx
sete dl
cmp eax, ecx
mov dword [esp + 0x34], edx
jne 0x53aecb
mov eax, dword [esp + 0x68]
cmp eax, ecx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], edx
je 0x53af95
cmp ebp, eax
jne 0x53aedc
mov ecx, dword [esp + 0x14]
cmp ecx, dword [ebp + 0x1c]
je 0x53af95
mov esi, dword [eax + 4]
test esi, esi
je 0x53af22
mov edx, dword [esi + 8]
mov edi, dword [esp + 0x1fe0]
push edx
push edi
call fcn.00539f50
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x28]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x10]
add esp, 8
test eax, eax
je 0x53af0f
push esi
push edi
call eax
add esp, 8
mov edx, dword [0x5debe0]
push esi
call dword [edx + 0x18]
mov eax, dword [esp + 0x24]
add esp, 4
jmp 0x53aedc
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x1c]
je 0x53af8b
mov eax, dword [eax + 0x10]
test eax, eax
je 0x53af44
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1fe0]
push edx
push ecx
call eax
add esp, 8
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x74]
push eax
call fcn.005402c0
mov edx, dword [esp + 0x28]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
push 0
push edx
mov edx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2000]
push eax
lea eax, [esp + 0x94]
push eax
push edx
call dword [ecx + 0x18]
mov eax, dword [esp + 0x4c]
add esp, 0x2c
mov ebp, eax
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x58]
test eax, eax
jl 0x53afbc
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x53afbc
mov edx, dword [esp + 0x4c]
push ecx
push eax
mov eax, dword [esp + 0x1fe8]
push edx
push eax
call fcn.0053f7c0
add esp, 0x10
cmp dword [esp + 0x1c], 1
jne 0x53afe0
mov ecx, dword [esp + 0x1fe0]
mov ecx, dword [ecx + 0xa0]
mov eax, dword [ecx + 0x54]
mov edx, dword [ecx + 0x4c]
mov ecx, dword [esp + 0x5c]
sub eax, edx
sub eax, ecx
jmp 0x53afe4
mov eax, dword [esp + 0x2c]
mov edx, dword [ebp + 0x2c]
mov ecx, dword [ebp]
add ecx, edx
mov edx, dword [esp + 0x54]
test edx, edx
mov dword [ebx + 0x30], ecx
jne 0x53affb
xor eax, eax
jmp 0x53b00b
cmp edx, 1
jne 0x53b004
sub eax, ecx
jmp 0x53b00b
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebx + 0x34]
xor edi, edi
xor esi, esi
test ecx, ecx
je 0x53b058
add dword [ecx], eax
mov edx, dword [ecx + 0x1c]
add dword [ebx + 0x10], edx
mov edx, dword [ecx + 0x20]
cmp edx, esi
jle 0x53b027
mov esi, edx
mov edx, dword [ecx + 0x24]
cmp edx, edi
jle 0x53b030
mov edi, edx
mov edx, dword [ecx + 0x28]
cmp edx, dword [ebx + 0x20]
jle 0x53b03b
mov dword [ebx + 0x20], edx
mov edx, dword [ecx + 8]
mov edx, dword [edx + 0xc]
cmp dword [edx + 4], 0
jle 0x53b051
cmp dword [edx + 8], 0
je 0x53b051
or dword [ebx + 0x3c], 1
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x53b016
mov eax, dword [ebx + 0x20]
lea ecx, [edi + esi]
cmp eax, ecx
jge 0x53b06a
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x24], esi
jmp 0x53b078
sub eax, edi
sub eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax + 8]
mov eax, dword [ebx + 8]
test eax, eax
mov esi, dword [ecx + 0xc]
jne 0x53b090
mov edx, dword [esi + 0x34]
mov dword [ebx + 0x28], edx
jmp 0x53b09f
mov ecx, dword [esi + 0x38]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov dword [ebx + 0x28], ecx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x53b0ac
mov eax, dword [esi + 0x3c]
jmp 0x53b0b4
mov eax, dword [esi + 0x38]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebx + 0x20]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add edx, ecx
mov ecx, dword [ebx + 0x24]
add ecx, eax
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], ecx
mov eax, dword [ebp]
mov edx, dword [ebp + 0x2c]
pop edi
pop esi
add edx, eax
pop ebp
mov dword [ebx + 0x30], edx
mov eax, ebx
pop ebx
add esp, 0x1fcc
ret