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

Disassembly:
push 0xffffffffffffffff
push 0x5d1fdd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
mov eax, dword [ecx + 0xa0]
push ebx
push ebp
mov dword [esp + 0x60], eax
mov eax, dword [0x639698]
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], ebp
mov dword [esp + 0x148], ebp
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x150]
mov edi, 1
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x14c], 1
call fcn.00503430
mov ecx, dword [esp + 0x48]
mov edx, dword [0x63fd4c]
lea eax, [esp + 0x70]
mov dword [esp + 0x80], edx
push eax
push ecx
call fcn.004ca220
mov ebx, eax
add esp, 8
cmp ebx, ebp
mov dword [esp + 0x18], ebx
jl 0x528ad9
mov eax, dword [esp + 0x70]
cmp eax, ebp
jl 0x528ad9
mov edx, dword [0x6dbe34]
lea ecx, [esp + 0x14]
lea eax, [edx + eax*4]
push eax
call fcn.00593814
push 0x6301f0
lea ecx, [esp + 0x40]
call fcn.0058aa67
test eax, eax
jl 0x528a19
push 0x62dee0
lea ecx, [esp + 0x18]
call fcn.00593864
push str.QPSK
lea ecx, [esp + 0x40]
call fcn.0058aa67
test eax, eax
jl 0x528a39
push 0x62ded8
lea ecx, [esp + 0x18]
call fcn.00593864
push 0x625958
lea ecx, [esp + 0x40]
call fcn.0058aa67
test eax, eax
jl 0x528a59
push 0x625958
lea ecx, [esp + 0x18]
call fcn.00593864
push 0x6235dc
lea ecx, [esp + 0x40]
call fcn.0058aa67
test eax, eax
jl 0x528a79
push 0x625958
lea ecx, [esp + 0x18]
call fcn.00593864
push 0x62df98
lea ecx, [esp + 0x40]
call fcn.0058aa67
test eax, eax
jl 0x528a99
push 0x62df98
lea ecx, [esp + 0x18]
call fcn.00593864
push 0x62d20c
lea ecx, [esp + 0x40]
call fcn.0058aa67
test eax, eax
jl 0x528ab9
push 0x62d20c
lea ecx, [esp + 0x18]
call fcn.00593864
push 0x62ccb4
lea ecx, [esp + 0x40]
call fcn.0058aa67
test eax, eax
jl 0x528ad9
push 0x62ccb4
lea ecx, [esp + 0x18]
call fcn.00593864
xor esi, esi
cmp ebx, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x6c], ebp
jl 0x528e46
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004c91e0
push eax
call fcn.004c91f0
add esp, 8
lea edx, [esp + 0x130]
lea ecx, [esp + 0x50]
mov dword [esp + 0x70], eax
push edx
call fcn.0056af2f
lea eax, [esp + 0x130]
lea ecx, [esp + 0x84]
push eax
call fcn.0056b1b9
mov ecx, dword [esp + 0x34]
push ebp
mov dword [esp + 0x68], ebp
push ebp
cmp dword [ecx + 0x124], ebp
jne 0x528b52
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
push ebp
push ebp
push ebp
push edx
push eax
push 0x63f7e8
push ecx
jmp 0x528b6d
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x6c]
push edx
mov edx, dword [esp + 0x4c]
push ebp
push ebp
push eax
push ecx
push 0x63f7e8
push edx
mov ecx, dword [0x63fd4c]
call fcn.0048bea0
mov ebx, eax
mov eax, dword [0x639698]
mov dword [esp + 0x10], eax
cmp ebx, 0x10000
mov byte [esp + 0x148], 2
jge 0x528cfc
mov ecx, dword [esp + 0x34]
cmp dword [ecx + 0x124], ebp
je 0x528cf6
cmp ebx, ebp
jne 0x528c35
mov ecx, dword [esp + 0x64]
cmp ecx, ebp
jne 0x528bca
mov dword [esp + 0x6c], edi
mov esi, 7
push 0x625a08
jmp 0x528cc2
mov eax, ecx
and eax, 0xc
cmp eax, 4
jne 0x528be7
mov esi, 9
mov dword [esp + 0x1c], edi
push 0x6376a4
jmp 0x528cc2
cmp eax, 8
jne 0x528bff
mov esi, 9
mov dword [esp + 0x1c], edi
push 0x633408
jmp 0x528cc2
cmp eax, 0xc
jne 0x528c0e
mov esi, 9
jmp 0x528cb9
mov edx, ecx
and edx, 2
cmp dl, 2
jne 0x528c22
mov esi, 9
jmp 0x528cb9
test cl, 0x10
je 0x528cbd
mov esi, 9
jmp 0x528cb9
mov eax, dword [esp + 0x64]
mov ecx, eax
and ecx, 0x5f
cmp cl, 1
jne 0x528c47
xor esi, esi
jmp 0x528cbd
test al, 0x10
je 0x528c65
test bl, 0x10
mov esi, 0xb
jne 0x528c5a
mov esi, 3
mov dword [esp + 0x1c], edi
push 0x62d398
jmp 0x528cc2
and eax, 0xc
cmp eax, 4
jne 0x528c87
test bl, 0xc
mov esi, 0xa
jne 0x528c7c
mov esi, 2
mov dword [esp + 0x1c], edi
push 0x6376a4
jmp 0x528cc2
cmp eax, 8
jne 0x528ca6
test bl, 0xc
mov esi, 0xc
jne 0x528c9b
mov esi, 4
mov dword [esp + 0x1c], edi
push 0x633408
jmp 0x528cc2
cmp eax, 0xc
jne 0x528ccb
test al, bl
mov esi, 0xd
jne 0x528cb9
mov esi, 5
mov dword [esp + 0x1c], edi
push 0x63f7e8
lea ecx, [esp + 0x14]
call fcn.00593864
mov eax, dword [esp + 0x64]
and eax, 2
cmp al, 2
jne 0x528ddd
test al, bl
mov esi, 0xe
jne 0x528ce8
mov esi, 6
mov dword [esp + 0x1c], edi
mov edi, 0x10
jmp 0x528ddf
cmp ebx, 0x10000
jne 0x528d16
mov dword [esp + 0x6c], edi
mov esi, 0x1b
mov edi, 0x40
push 0x62ddec
jmp 0x528de4
cmp ebx, 0x20000
jne 0x528d31
mov dword [esp + 0x6c], edi
mov esi, 3
mov edi, 0x10
jmp 0x528ddf
cmp ebx, ebp
jne 0x528d4a
mov dword [esp + 0x6c], edi
mov esi, edi
mov edi, 8
push 0x625a08
jmp 0x528de4
mov edx, ebx
and edx, 0x5f
cmp dl, 1
je 0x528ddd
test bl, 0x10
je 0x528d72
mov dword [esp + 0x1c], edi
mov esi, 3
mov edi, 0x10
push 0x62d398
jmp 0x528de4
mov eax, ebx
and eax, 0xc
cmp eax, 4
jne 0x528d91
mov dword [esp + 0x1c], edi
mov esi, 2
mov edi, 0x10
push 0x6376a4
jmp 0x528de4
cmp eax, 8
jne 0x528dab
mov dword [esp + 0x1c], edi
mov esi, 4
mov edi, 0x10
push 0x633408
jmp 0x528de4
cmp eax, 0xc
jne 0x528dc0
mov dword [esp + 0x1c], edi
mov esi, 5
mov edi, 0x10
jmp 0x528ddf
and ebx, 2
cmp bl, 2
jne 0x528ddd
mov dword [esp + 0x1c], edi
mov esi, 6
mov edi, 0x10
push 0x6376a4
jmp 0x528de4
xor edi, edi
push 0x63f7e8
lea ecx, [esp + 0x14]
call fcn.00593864
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x80], esp
push edi
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x68]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x58]
push edx
lea ecx, [esp + 0x24]
call fcn.004302b0
push eax
lea ecx, [esp + 0x58]
call fcn.004302b0
push eax
mov ecx, 0x664488
call fcn.004cba10
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], 1
call fcn.005936db
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x34]
cmp dword [edi + 0x198], ebp
jle 0x528edb
lea eax, [esp + 0x50]
lea ecx, [esp + 0x84]
push eax
lea edx, [esp + 0x78]
push ecx
push edx
call fcn.004ebac0
add esp, 4
mov ecx, eax
call fcn.0056b3c3
fld qword [eax]
fmul qword [0x5e59d0]
fadd qword [0x5e43f8]
call fcn.00573170
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x198]
fild dword [esp + 0x18]
mov dword [esp + 0x64], eax
fild dword [esp + 0x64]
fcompp
fnstsw ax
test ah, 1
je 0x528edb
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0
call fcn.005936db
lea ecx, [esp + 0x44]
mov dword [esp + 0x148], 4
call fcn.005936db
mov byte [esp + 0x148], 3
jmp 0x529755
mov edi, dword [esp + 0x80]
cmp dword [edi + 0xa88c], ebp
jne 0x528f85
cmp ebx, ebp
jge 0x528f24
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0
call fcn.005936db
lea ecx, [esp + 0x44]
mov dword [esp + 0x148], 6
call fcn.005936db
mov byte [esp + 0x148], 5
jmp 0x529755
mov ecx, dword [0x63fd4c]
call fcn.00453100
push ebp
call fcn.00573170
push eax
call fcn.004ca220
add esp, 8
cmp eax, ebx
je 0x528f85
mov eax, dword [0x664464]
lea ecx, [ebx + ebx*4]
lea edx, [ebx + ecx*2]
cmp dword [eax + edx*4 + 0x28], ebp
jne 0x528f85
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0
call fcn.005936db
lea ecx, [esp + 0x44]
mov dword [esp + 0x148], 8
call fcn.005936db
mov byte [esp + 0x148], 7
jmp 0x529755
mov ecx, dword [esp + 0x14]
push 0x62da90
push ecx
call fcn.00573b74
add esp, 8
test eax, eax
jne 0x528fd9
cmp dword [edi + 0xa890], ebp
jne 0x52908f
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0
call fcn.005936db
lea ecx, [esp + 0x44]
mov dword [esp + 0x148], 0xa
call fcn.005936db
mov byte [esp + 0x148], 9
jmp 0x529755
mov edx, dword [esp + 0x14]
push 0x62e058
push edx
call fcn.00573b74
add esp, 8
test eax, eax
je 0x529055
mov eax, dword [esp + 0x14]
push 0x62e23c
push eax
call fcn.00573b74
add esp, 8
test eax, eax
je 0x529055
mov ecx, dword [esp + 0x14]
push 0x62e230
push ecx
call fcn.00573b74
add esp, 8
test eax, eax
je 0x529055
cmp dword [edi + 0xa898], ebp
jne 0x52908f
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0
call fcn.005936db
lea ecx, [esp + 0x44]
mov dword [esp + 0x148], 0xe
call fcn.005936db
mov byte [esp + 0x148], 0xd
jmp 0x529755
cmp dword [edi + 0xa894], ebp
jne 0x52908f
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0
call fcn.005936db
lea ecx, [esp + 0x44]
mov dword [esp + 0x148], 0xc
call fcn.005936db
mov byte [esp + 0x148], 0xb
jmp 0x529755
mov eax, dword [0x639698]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x150]
lea eax, [esp + 0x20]
push edx
mov bl, 0x14
push str.__100s
push eax
mov byte [esp + 0x154], bl
call fcn.0058aded
add esp, 0xc
lea ecx, [esp + 0x18]
push 8
push ecx
lea ecx, [esp + 0x28]
call fcn.0058a9cd
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x14c], 0x15
call fcn.00593814
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], bl
call fcn.005936db
push 9
lea edx, [esp + 0x1c]
push 8
push edx
lea ecx, [esp + 0x2c]
call fcn.0058a8bb
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x14c], 0x16
call fcn.00593814
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], bl
call fcn.005936db
push 4
lea eax, [esp + 0x1c]
push 0x12
push eax
lea ecx, [esp + 0x2c]
call fcn.0058a8bb
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x14c], 0x17
call fcn.00593814
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], bl
call fcn.005936db
push 0xc
lea ecx, [esp + 0x1c]
push 0x17
push ecx
lea ecx, [esp + 0x2c]
call fcn.0058a8bb
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x14c], 0x18
call fcn.00593814
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], bl
call fcn.005936db
push 0x20
lea edx, [esp + 0x1c]
push 0x23
push edx
lea ecx, [esp + 0x2c]
call fcn.0058a8bb
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x14c], 0x19
call fcn.00593814
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], bl
call fcn.005936db
lea ecx, [esp + 0x28]
call fcn.0058ae9c
lea ecx, [esp + 0x24]
call fcn.0058ae9c
lea ecx, [esp + 0x90]
call fcn.00500050
lea eax, [esp + 0x24]
lea ecx, [esp + 0x94]
push eax
mov byte [esp + 0x14c], 0x1a
call fcn.00593814
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x94]
call fcn.00593814
mov edx, dword [esp + 0x38]
push edx
call fcn.00528840
fmul qword [0x5dcc28]
add esp, 4
call fcn.00573170
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe0], eax
lea eax, [esp + 0x5c]
push 2
push eax
lea ecx, [esp + 0x38]
call fcn.0058a9cd
lea ecx, [esp + 0x60]
push 2
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x150], 0x1b
call fcn.0058a951
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
push edx
mov byte [esp + 0x14c], 0x1c
call fcn.0057322b
push edi
mov ebp, eax
call fcn.0057322b
add esp, 8
lea ecx, [esp + 0x74]
push 0
push ebp
push eax
push 1
push 1
push 0x7d0
call fcn.0056b422
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x108]
fld qword [esp + 0x74]
mov dword [esp + 0xac], eax
mov dword [esp + 0xa0], eax
fst qword [esp + 0xa4]
fstp qword [esp + 0x98]
lea eax, [esp + 0x28]
push eax
call fcn.00593814
mov eax, dword [esp + 0x68]
xor edi, edi
test eax, eax
mov dword [esp + 0x128], esi
jle 0x529383
xor ebp, ebp
mov ecx, dword [esp + 0x34]
mov esi, ebp
mov edx, dword [ecx + 0x9c]
add esi, edx
mov edx, dword [esp + 0x94]
mov eax, dword [esi + 4]
push eax
push edx
call fcn.00573b74
add esp, 8
test eax, eax
jne 0x529370
mov eax, dword [esi]
push eax
mov eax, dword [esp + 0x94]
push eax
call fcn.00573b74
add esp, 8
test eax, eax
jne 0x529370
mov ecx, dword [esp + 0xe0]
mov eax, dword [esi + 0x50]
cmp ecx, eax
jne 0x529370
mov edx, dword [esp + 0xa0]
mov eax, dword [esi + 0x10]
cmp edx, eax
jne 0x529370
fld qword [esp + 0x98]
fcomp qword [esi + 8]
fnstsw ax
test ah, 0x40
je 0x529370
mov esi, dword [esi + 0x78]
mov eax, dword [esp + 0x108]
push esi
push eax
call fcn.00573b74
add esp, 8
test eax, eax
je 0x5294ba
mov eax, dword [esp + 0x68]
inc edi
add ebp, 0xa0
cmp edi, eax
jl 0x5292ea
mov eax, dword [0x63fd4c]
mov esi, dword [esp + 0x34]
mov ecx, dword [eax + 0xa89c]
test ecx, ecx
jne 0x52958c
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, dword [esp + 0x54]
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x54]
push 0
push ecx
mov ecx, dword [eax + 0xa63c]
push 0
push 0
push edx
call fcn.004e3a00
test eax, eax
jl 0x529587
mov eax, dword [esi + 0x344]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
je 0x529587
lea ecx, [esp + 0x60]
mov byte [esp + 0x148], 0x1b
call fcn.005936db
lea ecx, [esp + 0x5c]
mov byte [esp + 0x148], 0x1a
call fcn.005936db
lea ecx, [esp + 0x90]
mov byte [esp + 0x148], bl
call fcn.00500180
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x13
call fcn.005936db
lea ecx, [esp + 0x24]
mov byte [esp + 0x148], 0x12
call fcn.005936db
lea ecx, [esp + 0x30]
mov byte [esp + 0x148], 0x11
call fcn.005936db
lea ecx, [esp + 0x38]
mov byte [esp + 0x148], 0x10
call fcn.005936db
lea ecx, [esp + 0x28]
mov byte [esp + 0x148], 0xf
call fcn.005936db
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 1
call fcn.005936db
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0
call fcn.005936db
lea ecx, [esp + 0x44]
mov dword [esp + 0x148], 0x20
call fcn.005936db
mov byte [esp + 0x148], 0x1f
jmp 0x529755
lea ecx, [esp + 0x60]
mov byte [esp + 0x148], 0x1b
call fcn.005936db
lea ecx, [esp + 0x5c]
mov byte [esp + 0x148], 0x1a
call fcn.005936db
lea ecx, [esp + 0x90]
mov byte [esp + 0x148], bl
call fcn.00500180
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x13
call fcn.005936db
lea ecx, [esp + 0x24]
mov byte [esp + 0x148], 0x12
call fcn.005936db
lea ecx, [esp + 0x30]
mov byte [esp + 0x148], 0x11
call fcn.005936db
lea ecx, [esp + 0x38]
mov byte [esp + 0x148], 0x10
call fcn.005936db
lea ecx, [esp + 0x28]
mov byte [esp + 0x148], 0xf
call fcn.005936db
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 1
call fcn.005936db
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0
call fcn.005936db
lea ecx, [esp + 0x44]
mov dword [esp + 0x148], 0x1e
call fcn.005936db
mov byte [esp + 0x148], 0x1d
jmp 0x529755
mov eax, dword [0x63fd4c]
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x529673
mov ecx, dword [eax + 0xa8a0]
test ecx, ecx
jne 0x529673
lea ecx, [esp + 0x60]
mov byte [esp + 0x148], 0x1b
call fcn.005936db
lea ecx, [esp + 0x5c]
mov byte [esp + 0x148], 0x1a
call fcn.005936db
lea ecx, [esp + 0x90]
mov byte [esp + 0x148], bl
call fcn.00500180
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x13
call fcn.005936db
lea ecx, [esp + 0x24]
mov byte [esp + 0x148], 0x12
call fcn.005936db
lea ecx, [esp + 0x30]
mov byte [esp + 0x148], 0x11
call fcn.005936db
lea ecx, [esp + 0x38]
mov byte [esp + 0x148], 0x10
call fcn.005936db
lea ecx, [esp + 0x28]
mov byte [esp + 0x148], 0xf
call fcn.005936db
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 1
call fcn.005936db
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0
call fcn.005936db
lea ecx, [esp + 0x44]
mov dword [esp + 0x148], 0x22
call fcn.005936db
mov byte [esp + 0x148], 0x21
jmp 0x529755
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x529779
mov ecx, dword [eax + 0xa8a4]
test ecx, ecx
je 0x529779
lea ecx, [esp + 0x60]
mov byte [esp + 0x148], 0x1b
call fcn.005936db
lea ecx, [esp + 0x5c]
mov byte [esp + 0x148], 0x1a
call fcn.005936db
lea ecx, [esp + 0x90]
mov byte [esp + 0x148], bl
call fcn.00500180
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x13
call fcn.005936db
lea ecx, [esp + 0x24]
mov byte [esp + 0x148], 0x12
call fcn.005936db
lea ecx, [esp + 0x30]
mov byte [esp + 0x148], 0x11
call fcn.005936db
lea ecx, [esp + 0x38]
mov byte [esp + 0x148], 0x10
call fcn.005936db
lea ecx, [esp + 0x28]
mov byte [esp + 0x148], 0xf
call fcn.005936db
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 1
call fcn.005936db
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0
call fcn.005936db
lea ecx, [esp + 0x44]
mov dword [esp + 0x148], 0x24
call fcn.005936db
mov byte [esp + 0x148], 0x23
lea ecx, [esp + 0x40]
call fcn.005936db
lea ecx, [esp + 0x3c]
mov dword [esp + 0x148], 0xffffffff
call fcn.005936db
xor eax, eax
jmp 0x529963
push 1
lea edx, [esp + 0x94]
sub esp, 0xa0
mov ecx, esp
mov dword [esp + 0x118], esp
push edx
call fcn.004cb3f0
mov eax, dword [esp + 0x1f8]
lea edi, [esi + 0x98]
push eax
mov ecx, edi
call fcn.0052cb50
cmp dword [esi + 0xa0], 0x1f4
jle 0x52981d
mov ebp, dword [edi + 8]
mov esi, dword [edi + 4]
sub ebp, 0x1f5
add esi, 0x13880
mov dword [esp + 0x68], 0
mov ecx, esi
call fcn.00500180
mov eax, dword [esp + 0x68]
add esi, 0xa0
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x68], eax
jne 0x5297d2
test ebp, ebp
je 0x529812
mov eax, dword [edi + 4]
lea edx, [ebp + ebp*4]
shl edx, 5
lea ecx, [eax + 0x13920]
push edx
add eax, 0x13880
push ecx
push eax
call fcn.00574820
add esp, 0xc
mov eax, dword [edi + 8]
mov esi, dword [esp + 0x34]
dec eax
mov dword [edi + 8], eax
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 0
fild qword [esp + 0x74]
fstp qword [esp + 0x74]
call fcn.00453100
fsubr qword [esp + 0x74]
or edi, 0xffffffff
fabs
fcomp qword [0x5db238]
fnstsw ax
test ah, 1
je 0x52986c
cmp dword [esi + 0x410], edi
jne 0x52986c
mov eax, dword [esp + 0x154]
mov dword [esi + 0x410], eax
mov ecx, dword [esi + 0x1fc]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x60]
mov byte [esp + 0x148], 0x1b
call fcn.005936db
lea ecx, [esp + 0x5c]
mov byte [esp + 0x148], 0x1a
call fcn.005936db
lea ecx, [esp + 0x90]
mov byte [esp + 0x148], bl
call fcn.00500180
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x13
call fcn.005936db
lea ecx, [esp + 0x24]
mov byte [esp + 0x148], 0x12
call fcn.005936db
lea ecx, [esp + 0x30]
mov byte [esp + 0x148], 0x11
call fcn.005936db
lea ecx, [esp + 0x38]
mov byte [esp + 0x148], 0x10
call fcn.005936db
lea ecx, [esp + 0x28]
mov byte [esp + 0x148], 0xf
call fcn.005936db
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 1
call fcn.005936db
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0
call fcn.005936db
lea ecx, [esp + 0x44]
mov dword [esp + 0x148], 0x26
call fcn.005936db
lea ecx, [esp + 0x40]
mov byte [esp + 0x148], 0x25
call fcn.005936db
lea ecx, [esp + 0x3c]
mov dword [esp + 0x148], edi
call fcn.005936db
mov eax, 1
mov ecx, dword [esp + 0x140]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x13c
ret 8