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

Disassembly:
sub esp, 0x4c
mov ecx, dword [0x5f40f0]
fld qword [0x583f58]
push ebx
fstp qword [0x5f42d0]
push ebp
push esi
mov esi, dword [esp + 0x5c]
mov eax, esi
shl eax, 6
mov ebx, dword [eax + ecx]
mov ebp, dword [eax + ecx + 4]
push edi
mov dword [esp + 0x58], eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x17]
push ecx
push esi
push ebp
push ebx
mov dword [0x5f4304], 0
call fcn.005236d0
mov edi, eax
add esp, 0x14
mov dword [esp + 0x14], edi
cmp edi, 0xffffffff
jne 0x524d1c
fld qword [0x57d1c8]
lea edx, [esp + 0x40]
push edx
fstp qword [0x5f42d0]
lea eax, [esp + 0x17]
push eax
push esi
push ebp
push ebx
call fcn.005236d0
mov edi, eax
add esp, 0x14
mov dword [esp + 0x14], eax
cmp edi, 0xffffffff
jne 0x524d1c
push 1
push 0
push esi
call fcn.00520d50
add esp, 0xc
test al, al
jne 0x525f52
push esi
push ebx
call fcn.00532f60
mov edi, eax
add esp, 8
mov dword [esp + 0x14], edi
xor cl, cl
jmp 0x524d20
mov cl, byte [esp + 0x13]
mov edx, dword [0x5f408c]
lea eax, [edi + edi*2]
shl eax, 4
mov dword [esp + 0x3c], eax
mov dword [eax + edx + 0x18], 0
test cl, cl
je 0x524d45
mov dword [esp + 0x40], edi
jmp 0x524dd3
fld qword [0x583f58]
lea eax, [esp + 0x40]
push eax
fstp qword [0x5f42d0]
lea ecx, [esp + 0x17]
push ecx
push esi
push ebx
push ebp
call fcn.005236d0
add esp, 0x14
mov dword [esp + 0x40], eax
cmp eax, 0xffffffff
jne 0x524dbc
fld qword [0x57d1c8]
lea edx, [esp + 0x40]
push edx
fstp qword [0x5f42d0]
lea eax, [esp + 0x17]
push eax
push esi
push ebx
push ebp
call fcn.005236d0
add esp, 0x14
mov dword [esp + 0x40], eax
cmp eax, 0xffffffff
jne 0x524dbc
push 1
push 0
push esi
call fcn.00520d50
add esp, 0xc
test al, al
jne 0x525f52
push esi
push ebp
call fcn.00532f60
add esp, 8
mov dword [esp + 0x40], eax
cmp edi, eax
je 0x524dd3
mov edx, dword [0x5f408c]
lea ecx, [eax + eax*2]
add ecx, ecx
mov dword [edx + ecx*8 + 0x18], 0
fld qword [0x57c4c0]
mov eax, dword [0x5f408c]
fstp qword [0x5f42d0]
mov ecx, dword [esp + 0x3c]
mov esi, dword [ecx + eax + 0x1c]
mov ebp, dword [esp + 0x14]
lea edx, [esi + esi*2]
add edx, edx
cmp byte [ecx + eax + 0x24], 0
je 0x524e38
mov edi, dword [0x5f4098]
cmp dword [edi + edx*8], ebp
jne 0x524e0d
mov edi, dword [edi + edx*8 + 0x18]
jmp 0x524e11
mov edi, dword [edi + edx*8 + 0x20]
mov dword [ecx + eax + 0x18], 3
mov eax, dword [esp + 0x60]
push eax
push ebp
push esi
mov ebx, esi
call fcn.00524530
mov ecx, dword [esp + 0x6c]
push ecx
push ebp
push edi
call fcn.00524530
add esp, 0x18
jmp 0x524e90
mov ebx, dword [0x5f4098]
cmp dword [ebx + edx*8], ebp
jne 0x524e49
mov edi, dword [ebx + edx*8 + 0x18]
jmp 0x524e4d
mov edi, dword [ebx + edx*8 + 0x20]
lea edx, [edi + edi*2]
add edx, edx
cmp dword [ebx + edx*8], ebp
jne 0x524e5d
mov ebx, dword [ebx + edx*8 + 0x18]
jmp 0x524e61
mov ebx, dword [ebx + edx*8 + 0x20]
mov dword [ecx + eax + 0x18], 3
mov eax, dword [esp + 0x60]
push eax
push ebp
push esi
call fcn.00524530
mov ecx, dword [esp + 0x6c]
push ecx
push ebp
push edi
call fcn.00524530
mov edx, dword [esp + 0x78]
push edx
push ebp
push ebx
call fcn.00524530
add esp, 0x24
mov ebp, dword [esp + 0x40]
mov eax, dword [0x5f408c]
lea ebp, [ebp + ebp*2]
add ebp, ebp
cmp dword [eax + ebp*8 + 0x18], 3
je 0x524f03
fldz
fld qword [0x5f42d0]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x524f80
fstp st(0)
fstp qword [0x5f42d0]
mov ebp, dword [esp + 0x14]
push ebp
push esi
mov dword [0x5f4304], 0
call fcn.005216a0
push ebp
push edi
call fcn.005216a0
mov eax, dword [0x5f408c]
mov ecx, dword [esp + 0x4c]
add esp, 0x10
cmp byte [ecx + eax + 0x24], 0
jne 0x524f03
mov edx, ebp
push edx
push ebx
call fcn.005216a0
add esp, 8
mov eax, dword [0x5f408c]
mov ecx, dword [esp + 0x40]
lea ecx, [ecx + ecx*2]
add ecx, ecx
cmp dword [eax + ecx*8 + 0x18], 3
jne 0x524de4
xor esi, esi
cmp dword [0x5f4304], esi
jle 0x52506e
mov edi, dword [esp + 0x60]
lea esp, [esp]
fld qword [0x57d1c0]
fstp qword [0x5f42d0]
lea esp, [esp]
mov eax, dword [0x5f4300]
mov edx, dword [eax + esi*8 + 4]
mov eax, dword [eax + esi*8]
push edi
push edx
push eax
call fcn.005239e0
add esp, 0xc
test al, al
jne 0x52505c
cmp byte [0x5f419c], al
jne 0x525f52
fldz
fld qword [0x5f42d0]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x524ff9
fstp st(0)
jmp 0x524f36
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x524f9a
fstp st(0)
fld qword [0x57d1c8]
jmp 0x524ebd
fmul qword [0x57c410]
fst qword [0x5f42d0]
fcomp qword [0x57b918]
fnstsw ax
test ah, 0x41
jnp 0x524ec3
mov eax, dword [esp + 0x60]
push 1
push 0
push eax
call fcn.00520d50
add esp, 0xc
test al, al
jne 0x525f52
mov ecx, dword [0x5f408c]
mov edx, dword [esp + 0x14]
mov dword [ecx + ebp*8 + 0x18], 0
mov dword [esp + 0x40], edx
mov byte [0x5f419e], 1
mov byte [0x77af32], 1
jmp 0x524efe
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x525013
fstp st(0)
fld qword [0x57d1c8]
jmp 0x524f36
fmul qword [0x57c410]
fst qword [0x5f42d0]
fcomp qword [0x57b918]
fnstsw ax
test ah, 0x41
jnp 0x524f40
push 1
push 0
push edi
call fcn.00520d50
add esp, 0xc
test al, al
jne 0x525f52
mov eax, dword [0x5f4300]
mov ecx, dword [eax + esi*8 + 4]
mov edx, dword [eax + esi*8]
push edi
push ecx
push edx
call fcn.00533170
add esp, 0xc
inc esi
cmp esi, dword [0x5f4304]
jl 0x524f30
mov eax, dword [0x5f408c]
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + eax + 0x1c]
mov ebp, dword [esp + 0x14]
mov dword [edx + eax + 0x18], 2
lea eax, [esp + 0x30]
push eax
xor esi, esi
push ebp
push ecx
mov dword [0x5f4304], esi
mov dword [0x5f4310], esi
mov dword [0x5f4314], esi
call fcn.00521d80
add esp, 0xc
test al, al
je 0x52522b
lea ecx, [ecx]
mov ebx, dword [0x5f4310]
xor ecx, ecx
test ebx, ebx
jle 0x5250f5
mov edx, dword [esp + 0x30]
mov esi, dword [0x5f4098]
mov edi, dword [0x5f430c]
lea esp, [esp]
mov eax, dword [edi + ecx*4]
lea eax, [eax + eax*2]
add eax, eax
cmp dword [esi + eax*8], edx
je 0x5250ea
cmp dword [esi + eax*8 + 4], edx
je 0x5250ea
inc ecx
cmp ecx, ebx
jl 0x5250d0
jmp 0x5250f5
cmp ebp, edx
je 0x5250ef
inc ecx
mov dword [0x5f4314], ecx
fld qword [0x57d1c0]
fstp qword [0x5f42d0]
mov esi, dword [esp + 0x60]
push esi
call fcn.00524010
mov bl, al
add esp, 4
test bl, bl
jne 0x525185
cmp byte [0x5f419c], al
jne 0x525f52
fldz
fld qword [0x5f42d0]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x525135
fstp st(0)
jmp 0x5250fb
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x52514c
fstp st(0)
fld qword [0x57d1c8]
jmp 0x5250fb
fmul qword [0x57c410]
fst qword [0x5f42d0]
fcomp qword [0x57b918]
fnstsw ax
test ah, 0x41
jnp 0x525101
push 1
push 0
push esi
call fcn.00520d50
add esp, 0xc
test al, al
jne 0x525f52
push esi
call fcn.00533300
add esp, 4
mov bl, 1
mov ecx, dword [0x5f408c]
mov edx, dword [esp + 0x3c]
mov edi, dword [edx + ecx + 0x1c]
xor eax, eax
push ebp
push edi
mov dword [0x5f4310], eax
mov dword [0x5f4314], eax
call fcn.005217a0
add esp, 8
cmp dword [esp + 0x30], ebp
jne 0x5251fa
mov ecx, dword [0x5f4098]
lea eax, [edi + edi*2]
add eax, eax
cmp dword [ecx + eax*8], ebp
jne 0x5251c5
mov esi, dword [ecx + eax*8 + 0x18]
jmp 0x5251c9
mov esi, dword [ecx + eax*8 + 0x20]
push ebp
push esi
call fcn.005217a0
mov eax, dword [0x5f4098]
lea edx, [esi + esi*2]
add edx, edx
add esp, 8
cmp dword [eax + edx*8], ebp
jne 0x5251e8
mov eax, dword [eax + edx*8 + 0x18]
jmp 0x5251ec
mov eax, dword [eax + edx*8 + 0x20]
cmp eax, edi
je 0x5251fa
push ebp
push eax
call fcn.005217a0
add esp, 8
mov ecx, dword [0x5f408c]
mov edx, dword [esp + 0x3c]
mov dword [edx + ecx + 0x18], 2
test bl, bl
je 0x525101
lea eax, [esp + 0x30]
push eax
push ebp
push edi
call fcn.00521d80
add esp, 0xc
test al, al
jne 0x5250b0
mov ecx, dword [0x5f408c]
mov edx, dword [esp + 0x3c]
mov ebp, dword [edx + ecx + 0x1c]
mov eax, dword [0x5f4098]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x40], ebp
lea ebp, [ebp + ebp*2]
add ebp, ebp
cmp dword [eax + ebp*8], edi
jne 0x525257
mov eax, dword [eax + ebp*8 + 0x18]
jmp 0x52525b
mov eax, dword [eax + ebp*8 + 0x20]
xor ecx, ecx
mov dword [0x5f4310], ecx
mov dword [0x5f4314], ecx
lea ecx, [esp + 0x30]
push ecx
push edi
push eax
call fcn.00521d80
add esp, 0xc
test al, al
je 0x5253e9
mov ebx, dword [0x5f4310]
mov esi, dword [esp + 0x60]
xor ecx, ecx
test ebx, ebx
jle 0x5252cf
mov edx, dword [esp + 0x30]
mov esi, dword [0x5f4098]
mov edi, dword [0x5f430c]
mov eax, dword [edi + ecx*4]
lea eax, [eax + eax*2]
add eax, eax
cmp dword [esi + eax*8], edx
je 0x5252ba
cmp dword [esi + eax*8 + 4], edx
je 0x5252ba
inc ecx
cmp ecx, ebx
jl 0x5252a0
jmp 0x5252c7
cmp dword [esp + 0x14], edx
je 0x5252c1
inc ecx
mov dword [0x5f4314], ecx
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x14]
fld qword [0x57d1c0]
fstp qword [0x5f42d0]
jmp 0x5252e4
mov esi, dword [esp + 0x60]
push esi
call fcn.00524010
mov bl, al
add esp, 4
test bl, bl
jne 0x525370
cmp byte [0x5f419c], al
jne 0x525f52
fldz
fld qword [0x5f42d0]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x52531a
fstp st(0)
fstp qword [0x5f42d0]
jmp 0x5252e4
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x525337
fstp st(0)
fld qword [0x57d1c8]
fstp qword [0x5f42d0]
jmp 0x5252e4
fmul qword [0x57c410]
fst qword [0x5f42d0]
fcomp qword [0x57b918]
fnstsw ax
test ah, 0x41
jnp 0x5252e4
push 1
push 0
push esi
call fcn.00520d50
add esp, 0xc
test al, al
jne 0x525f52
push esi
call fcn.00533300
add esp, 4
mov bl, 1
xor eax, eax
mov dword [0x5f4310], eax
mov dword [0x5f4314], eax
mov eax, dword [0x5f4098]
cmp dword [eax + ebp*8], edi
jne 0x52538c
mov esi, dword [eax + ebp*8 + 0x18]
jmp 0x525390
mov esi, dword [eax + ebp*8 + 0x20]
push edi
push esi
call fcn.005217a0
add esp, 8
cmp dword [esp + 0x30], edi
jne 0x5253ca
mov edx, dword [0x5f4098]
lea eax, [esi + esi*2]
add eax, eax
cmp dword [edx + eax*8], edi
jne 0x5253b6
mov eax, dword [edx + eax*8 + 0x18]
jmp 0x5253ba
mov eax, dword [edx + eax*8 + 0x20]
cmp eax, dword [esp + 0x40]
je 0x5253ca
push edi
push eax
call fcn.005217a0
add esp, 8
test bl, bl
je 0x5252e0
lea eax, [esp + 0x30]
push eax
push edi
push esi
call fcn.00521d80
add esp, 0xc
test al, al
jne 0x525280
mov eax, dword [0x5f4098]
cmp dword [eax + ebp*8], edi
jne 0x5253f9
mov ecx, dword [eax + ebp*8 + 0x18]
jmp 0x5253fd
mov ecx, dword [eax + ebp*8 + 0x20]
mov ebp, dword [esp + 0x14]
lea edi, [ecx + ecx*2]
add edi, edi
cmp dword [eax + edi*8], ebp
jne 0x525411
mov ecx, dword [eax + edi*8 + 0x18]
jmp 0x525415
mov ecx, dword [eax + edi*8 + 0x20]
xor edx, edx
mov dword [0x5f4310], edx
mov dword [0x5f4314], edx
cmp ecx, dword [esp + 0x40]
je 0x525542
lea edx, [esp + 0x30]
push edx
push ebp
push ecx
call fcn.00521d80
add esp, 0xc
test al, al
je 0x52553d
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x60]
push eax
push ebp
call fcn.00521d30
fld qword [0x57d1c0]
fstp qword [0x5f42d0]
add esp, 8
jmp 0x525468
mov esi, dword [esp + 0x60]
push esi
call fcn.00524010
mov bl, al
add esp, 4
test bl, bl
jne 0x5254f4
cmp byte [0x5f419c], al
jne 0x525f52
fldz
fld qword [0x5f42d0]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x52549e
fstp st(0)
fstp qword [0x5f42d0]
jmp 0x525468
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x5254bb
fstp st(0)
fld qword [0x57d1c8]
fstp qword [0x5f42d0]
jmp 0x525468
fmul qword [0x57c410]
fst qword [0x5f42d0]
fcomp qword [0x57b918]
fnstsw ax
test ah, 0x41
jnp 0x525468
push 1
push 0
push esi
call fcn.00520d50
add esp, 0xc
test al, al
jne 0x525f52
push esi
call fcn.00533300
add esp, 4
mov bl, 1
xor eax, eax
mov dword [0x5f4310], eax
mov dword [0x5f4314], eax
mov eax, dword [0x5f4098]
cmp dword [eax + edi*8], ebp
jne 0x525510
mov esi, dword [eax + edi*8 + 0x18]
jmp 0x525514
mov esi, dword [eax + edi*8 + 0x20]
push ebp
push esi
call fcn.005217a0
add esp, 8
test bl, bl
je 0x525464
lea ecx, [esp + 0x30]
push ecx
push ebp
push esi
call fcn.00521d80
add esp, 0xc
test al, al
jne 0x525444
mov eax, dword [0x5f4098]
mov edx, dword [esp + 0x3c]
mov ecx, dword [0x5f408c]
cmp byte [edx + ecx + 0x24], 0
mov ecx, dword [edx + ecx + 0x1c]
lea edx, [ecx + ecx*2]
je 0x5258e2
add edx, edx
cmp dword [eax + edx*8], ebp
jne 0x52556b
mov esi, dword [eax + edx*8 + 0x18]
jmp 0x52556f
mov esi, dword [eax + edx*8 + 0x20]
mov edi, dword [esp + 0x60]
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x44]
push edx
push ecx
push ebp
push 0
push edi
call fcn.005220e0
add esp, 0x20
cmp byte [0x5f419c], 0
jne 0x525f52
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x40]
push eax
push esi
push ebp
push 0
push edi
call fcn.005220e0
add esp, 0x20
cmp byte [0x5f419c], 0
jne 0x525f52
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [0x5f4098]
cmp dword [eax + 4], ecx
jne 0x5255f0
mov esi, dword [eax + 0xc]
mov edi, dword [eax + 0x14]
jmp 0x5255f6
mov esi, dword [eax + 8]
mov edi, dword [eax + 0x10]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x20]
push edi
push 0
push esi
push eax
push edx
push ecx
call fcn.0050ef00
mov ebp, dword [sym.imp.MSVCR100.dll_printf]
add esp, 0x18
mov ebx, eax
cmp edi, 2
jne 0x525629
mov ecx, dword [0x5f40d4]
lea eax, [esi + esi*4]
mov dword [ecx + eax*8 + 0x10], ebx
jmp 0x52565a
test edi, edi
jne 0x52563c
mov edx, dword [0x5f40f0]
shl esi, 6
mov dword [esi + edx + 0x30], ebx
jmp 0x52565a
cmp edi, 1
jne 0x52564f
mov eax, dword [0x5f40fc]
imul esi, esi, 0x68
mov dword [esi + eax + 0x5c], ebx
jmp 0x52565a
push edi
push 0x595fb0
call ebp
add esp, 8
mov eax, dword [esp + 0x18]
mov edx, dword [0x5f4098]
lea eax, [eax + eax*2]
add eax, eax
mov ecx, dword [edx + eax*8]
cmp ecx, dword [esp + 0x1c]
jne 0x525678
mov dword [edx + eax*8 + 0x18], ebx
jmp 0x52567c
mov dword [edx + eax*8 + 0x20], ebx
mov ecx, dword [0x5f4098]
lea eax, [ebx + ebx*2]
add eax, eax
mov edx, dword [ecx + eax*8]
cmp edx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
jne 0x52569a
mov dword [ecx + eax*8 + 0x1c], edx
jmp 0x52569e
mov dword [ecx + eax*8 + 0x24], edx
mov ecx, dword [esp + 0x34]
lea ecx, [ecx + ecx*2]
shl ecx, 4
add ecx, dword [0x5f4098]
mov edx, dword [ecx]
cmp edx, dword [esp + 0x20]
jne 0x5256bb
mov dword [ecx + 0x1c], ebx
jmp 0x5256be
mov dword [ecx + 0x24], ebx
mov ecx, dword [0x5f4098]
mov edx, dword [ecx + eax*8]
cmp edx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
jne 0x5256d7
mov dword [ecx + eax*8 + 0x18], edx
jmp 0x5256db
mov dword [ecx + eax*8 + 0x20], edx
mov ecx, dword [esp + 0x18]
mov edx, dword [0x5f4098]
mov esi, dword [esp + 0x1c]
lea ecx, [ecx + ecx*2]
add ecx, ecx
cmp dword [edx + ecx*8], esi
jne 0x5256f9
mov ecx, dword [edx + ecx*8 + 0x1c]
jmp 0x5256fd
mov ecx, dword [edx + ecx*8 + 0x24]
cmp ecx, 0xffffffff
je 0x52572f
lea edi, [ecx + ecx*2]
add edi, edi
cmp dword [edx + edi*8], esi
jne 0x525712
mov dword [edx + edi*8 + 0x1c], ebx
jmp 0x525716
mov dword [edx + edi*8 + 0x24], ebx
mov edx, dword [0x5f4098]
mov esi, dword [edx + eax*8]
cmp esi, dword [esp + 0x1c]
jne 0x52572b
mov dword [edx + eax*8 + 0x18], ecx
jmp 0x52572f
mov dword [edx + eax*8 + 0x20], ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [0x5f4098]
mov esi, dword [esp + 0x20]
lea ecx, [ecx + ecx*2]
add ecx, ecx
cmp dword [edx + ecx*8], esi
jne 0x52574d
mov ecx, dword [edx + ecx*8 + 0x18]
jmp 0x525751
mov ecx, dword [edx + ecx*8 + 0x20]
cmp ecx, 0xffffffff
je 0x525783
lea edi, [ecx + ecx*2]
add edi, edi
cmp dword [edx + edi*8], esi
jne 0x525766
mov dword [edx + edi*8 + 0x18], ebx
jmp 0x52576a
mov dword [edx + edi*8 + 0x20], ebx
mov edx, dword [0x5f4098]
mov esi, dword [edx + eax*8]
cmp esi, dword [esp + 0x20]
jne 0x52577f
mov dword [edx + eax*8 + 0x1c], ecx
jmp 0x525783
mov dword [edx + eax*8 + 0x24], ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
lea edx, [eax + eax*2]
mov eax, dword [0x5f4098]
shl edx, 4
add eax, edx
cmp dword [eax + 4], ecx
jne 0x5257a5
mov esi, dword [eax + 0xc]
mov edi, dword [eax + 0x14]
jmp 0x5257ab
mov esi, dword [eax + 8]
mov edi, dword [eax + 0x10]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x2c]
push edi
push 0
push esi
push edx
push eax
push ecx
call fcn.0050ef00
add esp, 0x18
mov ebx, eax
cmp edi, 2
jne 0x5257d8
mov edx, dword [0x5f40d4]
lea ecx, [esi + esi*4]
mov dword [edx + ecx*8 + 0x10], ebx
jmp 0x525809
test edi, edi
jne 0x5257ea
mov eax, dword [0x5f40f0]
shl esi, 6
mov dword [esi + eax + 0x30], ebx
jmp 0x525809
cmp edi, 1
jne 0x5257fe
mov ecx, dword [0x5f40fc]
imul esi, esi, 0x68
mov dword [esi + ecx + 0x5c], ebx
jmp 0x525809
push edi
push 0x595fdc
call ebp
add esp, 8
mov eax, dword [esp + 0x24]
lea edx, [eax + eax*2]
mov eax, dword [0x5f4098]
add edx, edx
mov ecx, dword [eax + edx*8]
cmp ecx, dword [esp + 0x28]
jne 0x525826
mov dword [eax + edx*8 + 0x18], ebx
jmp 0x52582a
mov dword [eax + edx*8 + 0x20], ebx
mov eax, dword [0x5f4098]
lea ecx, [ebx + ebx*2]
add ecx, ecx
mov edx, dword [eax + ecx*8]
cmp edx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
jne 0x525847
mov dword [eax + ecx*8 + 0x1c], edx
jmp 0x52584b
mov dword [eax + ecx*8 + 0x24], edx
mov eax, dword [esp + 0x38]
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [0x5f4098]
mov edx, dword [eax]
cmp edx, dword [esp + 0x2c]
jne 0x525868
mov dword [eax + 0x1c], ebx
jmp 0x52586b
mov dword [eax + 0x24], ebx
mov eax, dword [0x5f4098]
mov edx, dword [eax + ecx*8]
cmp edx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
jne 0x525883
mov dword [eax + ecx*8 + 0x18], edx
jmp 0x525887
mov dword [eax + ecx*8 + 0x20], edx
mov eax, dword [esp + 0x24]
mov edx, dword [0x5f4098]
mov esi, dword [esp + 0x28]
lea eax, [eax + eax*2]
add eax, eax
cmp dword [edx + eax*8], esi
jne 0x5258a5
mov eax, dword [edx + eax*8 + 0x1c]
jmp 0x5258a9
mov eax, dword [edx + eax*8 + 0x24]
cmp eax, 0xffffffff
je 0x525e54
lea edi, [eax + eax*2]
add edi, edi
cmp dword [edx + edi*8], esi
jne 0x5258c2
mov dword [edx + edi*8 + 0x1c], ebx
jmp 0x5258c6
mov dword [edx + edi*8 + 0x24], ebx
mov edx, dword [0x5f4098]
mov esi, dword [edx + ecx*8]
cmp esi, dword [esp + 0x28]
jne 0x525e4a
mov dword [edx + ecx*8 + 0x18], eax
jmp 0x525e4e
add edx, edx
cmp dword [eax + edx*8], ebp
jne 0x5258ef
mov esi, dword [eax + edx*8 + 0x18]
jmp 0x5258f3
mov esi, dword [eax + edx*8 + 0x20]
lea edx, [esi + esi*2]
add edx, edx
cmp dword [eax + edx*8], ebp
jne 0x525903
mov edi, dword [eax + edx*8 + 0x18]
jmp 0x525907
mov edi, dword [eax + edx*8 + 0x20]
mov ebx, dword [esp + 0x60]
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x44]
push edx
push ecx
push ebp
push 0
push ebx
call fcn.005220e0
add esp, 0x20
cmp byte [0x5f419c], 0
jne 0x525f52
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x40]
push eax
push esi
push ebp
push 0
push ebx
call fcn.005220e0
add esp, 0x20
cmp byte [0x5f419c], 0
jne 0x525f52
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x60]
push ecx
push edi
push ebp
push 0
push ebx
call fcn.005220e0
add esp, 0x20
cmp byte [0x5f419c], 0
jne 0x525f52
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea edx, [eax + eax*2]
mov eax, dword [0x5f4098]
shl edx, 4
add eax, edx
cmp dword [eax + 4], ecx
jne 0x5259b7
mov esi, dword [eax + 0xc]
mov edi, dword [eax + 0x14]
jmp 0x5259bd
mov esi, dword [eax + 8]
mov edi, dword [eax + 0x10]
mov edx, dword [esp + 0x20]
push edi
push 0
push esi
mov ebp, ebx
push ebp
push edx
push ecx
call fcn.0050ef00
add esp, 0x18
mov ebx, eax
cmp edi, 2
jne 0x5259e8
mov ecx, dword [0x5f40d4]
lea eax, [esi + esi*4]
mov dword [ecx + eax*8 + 0x10], ebx
jmp 0x525a1d
test edi, edi
jne 0x5259fb
mov edx, dword [0x5f40f0]
shl esi, 6
mov dword [esi + edx + 0x30], ebx
jmp 0x525a1d
cmp edi, 1
jne 0x525a0e
mov eax, dword [0x5f40fc]
imul esi, esi, 0x68
mov dword [esi + eax + 0x5c], ebx
jmp 0x525a1d
push edi
push 0x596008
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
mov eax, dword [esp + 0x18]
mov edx, dword [0x5f4098]
lea eax, [eax + eax*2]
add eax, eax
mov ecx, dword [edx + eax*8]
cmp ecx, dword [esp + 0x1c]
jne 0x525a3b
mov dword [edx + eax*8 + 0x18], ebx
jmp 0x525a3f
mov dword [edx + eax*8 + 0x20], ebx
mov ecx, dword [0x5f4098]
lea eax, [ebx + ebx*2]
add eax, eax
mov edx, dword [ecx + eax*8]
cmp edx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
jne 0x525a5d
mov dword [ecx + eax*8 + 0x1c], edx
jmp 0x525a61
mov dword [ecx + eax*8 + 0x24], edx
mov ecx, dword [esp + 0x34]
lea ecx, [ecx + ecx*2]
shl ecx, 4
add ecx, dword [0x5f4098]
mov edx, dword [ecx]
cmp edx, dword [esp + 0x20]
jne 0x525a7e
mov dword [ecx + 0x1c], ebx
jmp 0x525a81
mov dword [ecx + 0x24], ebx
mov ecx, dword [0x5f4098]
mov edx, dword [ecx + eax*8]
cmp edx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
jne 0x525a9a
mov dword [ecx + eax*8 + 0x18], edx
jmp 0x525a9e
mov dword [ecx + eax*8 + 0x20], edx
mov ecx, dword [esp + 0x18]
mov edx, dword [0x5f4098]
mov esi, dword [esp + 0x1c]
lea ecx, [ecx + ecx*2]
add ecx, ecx
cmp dword [edx + ecx*8], esi
jne 0x525abc
mov ecx, dword [edx + ecx*8 + 0x1c]
jmp 0x525ac0
mov ecx, dword [edx + ecx*8 + 0x24]
cmp ecx, 0xffffffff
je 0x525af2
lea edi, [ecx + ecx*2]
add edi, edi
cmp dword [edx + edi*8], esi
jne 0x525ad5
mov dword [edx + edi*8 + 0x1c], ebx
jmp 0x525ad9
mov dword [edx + edi*8 + 0x24], ebx
mov edx, dword [0x5f4098]
mov esi, dword [edx + eax*8]
cmp esi, dword [esp + 0x1c]
jne 0x525aee
mov dword [edx + eax*8 + 0x18], ecx
jmp 0x525af2
mov dword [edx + eax*8 + 0x20], ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [0x5f4098]
mov esi, dword [esp + 0x20]
lea ecx, [ecx + ecx*2]
add ecx, ecx
cmp dword [edx + ecx*8], esi
jne 0x525b10
mov ecx, dword [edx + ecx*8 + 0x18]
jmp 0x525b14
mov ecx, dword [edx + ecx*8 + 0x20]
cmp ecx, 0xffffffff
je 0x525b46
lea edi, [ecx + ecx*2]
add edi, edi
cmp dword [edx + edi*8], esi
jne 0x525b29
mov dword [edx + edi*8 + 0x18], ebx
jmp 0x525b2d
mov dword [edx + edi*8 + 0x20], ebx
mov edx, dword [0x5f4098]
mov esi, dword [edx + eax*8]
cmp esi, dword [esp + 0x20]
jne 0x525b42
mov dword [edx + eax*8 + 0x1c], ecx
jmp 0x525b46
mov dword [edx + eax*8 + 0x24], ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
lea edx, [eax + eax*2]
mov eax, dword [0x5f4098]
shl edx, 4
add eax, edx
cmp dword [eax + 4], ecx
jne 0x525b68
mov esi, dword [eax + 0xc]
mov edi, dword [eax + 0x14]
jmp 0x525b6e
mov esi, dword [eax + 8]
mov edi, dword [eax + 0x10]
mov edx, dword [esp + 0x48]
push edi
push 0
push esi
push ebp
push edx
push ecx
call fcn.0050ef00
add esp, 0x18
mov ebx, eax
cmp edi, 2
jne 0x525b97
mov ecx, dword [0x5f40d4]
lea eax, [esi + esi*4]
mov dword [ecx + eax*8 + 0x10], ebx
jmp 0x525bcc
test edi, edi
jne 0x525baa
mov edx, dword [0x5f40f0]
shl esi, 6
mov dword [esi + edx + 0x30], ebx
jmp 0x525bcc
cmp edi, 1
jne 0x525bbd
mov eax, dword [0x5f40fc]
imul esi, esi, 0x68
mov dword [esi + eax + 0x5c], ebx
jmp 0x525bcc
push edi
push 0x596034
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
mov eax, dword [esp + 0x24]
mov edx, dword [0x5f4098]
lea eax, [eax + eax*2]
add eax, eax
mov ecx, dword [edx + eax*8]
cmp ecx, dword [esp + 0x28]
jne 0x525bea
mov dword [edx + eax*8 + 0x18], ebx
jmp 0x525bee
mov dword [edx + eax*8 + 0x20], ebx
mov ecx, dword [0x5f4098]
lea eax, [ebx + ebx*2]
add eax, eax
mov edx, dword [ecx + eax*8]
cmp edx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
jne 0x525c0c
mov dword [ecx + eax*8 + 0x1c], edx
jmp 0x525c10
mov dword [ecx + eax*8 + 0x24], edx
mov ecx, dword [esp + 0x54]
lea ecx, [ecx + ecx*2]
shl ecx, 4
add ecx, dword [0x5f4098]
mov edx, dword [ecx]
cmp edx, dword [esp + 0x48]
jne 0x525c2d
mov dword [ecx + 0x1c], ebx
jmp 0x525c30
mov dword [ecx + 0x24], ebx
mov ecx, dword [0x5f4098]
mov edx, dword [ecx + eax*8]
cmp edx, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
jne 0x525c49
mov dword [ecx + eax*8 + 0x18], edx
jmp 0x525c4d
mov dword [ecx + eax*8 + 0x20], edx
mov ecx, dword [esp + 0x24]
mov edx, dword [0x5f4098]
mov esi, dword [esp + 0x28]
lea ecx, [ecx + ecx*2]
add ecx, ecx
cmp dword [edx + ecx*8], esi
jne 0x525c6b
mov ecx, dword [edx + ecx*8 + 0x1c]
jmp 0x525c6f
mov ecx, dword [edx + ecx*8 + 0x24]
cmp ecx, 0xffffffff
je 0x525ca1
lea edi, [ecx + ecx*2]
add edi, edi
cmp dword [edx + edi*8], esi
jne 0x525c84
mov dword [edx + edi*8 + 0x1c], ebx
jmp 0x525c88
mov dword [edx + edi*8 + 0x24], ebx
mov edx, dword [0x5f4098]
mov esi, dword [edx + eax*8]
cmp esi, dword [esp + 0x28]
jne 0x525c9d
mov dword [edx + eax*8 + 0x18], ecx
jmp 0x525ca1
mov dword [edx + eax*8 + 0x20], ecx
mov ecx, dword [esp + 0x54]
mov edx, dword [0x5f4098]
mov esi, dword [esp + 0x48]
lea ecx, [ecx + ecx*2]
add ecx, ecx
cmp dword [edx + ecx*8], esi
jne 0x525cbf
mov ecx, dword [edx + ecx*8 + 0x18]
jmp 0x525cc3
mov ecx, dword [edx + ecx*8 + 0x20]
cmp ecx, 0xffffffff
je 0x525cf5
lea edi, [ecx + ecx*2]
add edi, edi
cmp dword [edx + edi*8], esi
jne 0x525cd8
mov dword [edx + edi*8 + 0x18], ebx
jmp 0x525cdc
mov dword [edx + edi*8 + 0x20], ebx
mov edx, dword [0x5f4098]
mov esi, dword [edx + eax*8]
cmp esi, dword [esp + 0x48]
jne 0x525cf1
mov dword [edx + eax*8 + 0x1c], ecx
jmp 0x525cf5
mov dword [edx + eax*8 + 0x24], ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
lea edx, [eax + eax*2]
mov eax, dword [0x5f4098]
shl edx, 4
add eax, edx
cmp dword [eax + 4], ecx
jne 0x525d17
mov esi, dword [eax + 0xc]
mov edi, dword [eax + 0x14]
jmp 0x525d1d
mov esi, dword [eax + 8]
mov edi, dword [eax + 0x10]
mov edx, dword [esp + 0x2c]
push edi
push 0
push esi
push ebp
push edx
push ecx
call fcn.0050ef00
add esp, 0x18
mov ebx, eax
cmp edi, 2
jne 0x525d46
mov ecx, dword [0x5f40d4]
lea eax, [esi + esi*4]
mov dword [ecx + eax*8 + 0x10], ebx
jmp 0x525d7b
test edi, edi
jne 0x525d59
mov edx, dword [0x5f40f0]
shl esi, 6
mov dword [esi + edx + 0x30], ebx
jmp 0x525d7b
cmp edi, 1
jne 0x525d6c
mov eax, dword [0x5f40fc]
imul esi, esi, 0x68
mov dword [esi + eax + 0x5c], ebx
jmp 0x525d7b
push edi
push 0x596060
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
mov eax, dword [esp + 0x4c]
mov edx, dword [0x5f4098]
lea eax, [eax + eax*2]
add eax, eax
mov ecx, dword [edx + eax*8]
cmp ecx, dword [esp + 0x50]
jne 0x525d99
mov dword [edx + eax*8 + 0x18], ebx
jmp 0x525d9d
mov dword [edx + eax*8 + 0x20], ebx
mov eax, dword [0x5f4098]
lea ecx, [ebx + ebx*2]
add ecx, ecx
mov edx, dword [eax + ecx*8]
cmp edx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
jne 0x525dba
mov dword [eax + ecx*8 + 0x1c], edx
jmp 0x525dbe
mov dword [eax + ecx*8 + 0x24], edx
mov eax, dword [esp + 0x38]
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [0x5f4098]
mov edx, dword [eax]
cmp edx, dword [esp + 0x2c]
jne 0x525ddb
mov dword [eax + 0x1c], ebx
jmp 0x525dde
mov dword [eax + 0x24], ebx
mov eax, dword [0x5f4098]
mov edx, dword [eax + ecx*8]
cmp edx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
jne 0x525df6
mov dword [eax + ecx*8 + 0x18], edx
jmp 0x525dfa
mov dword [eax + ecx*8 + 0x20], edx
mov eax, dword [esp + 0x4c]
mov edx, dword [0x5f4098]
mov esi, dword [esp + 0x50]
lea eax, [eax + eax*2]
add eax, eax
cmp dword [edx + eax*8], esi
jne 0x525e18
mov eax, dword [edx + eax*8 + 0x1c]
jmp 0x525e1c
mov eax, dword [edx + eax*8 + 0x24]
cmp eax, 0xffffffff
je 0x525e54
lea edi, [eax + eax*2]
add edi, edi
cmp dword [edx + edi*8], esi
jne 0x525e31
mov dword [edx + edi*8 + 0x1c], ebx
jmp 0x525e35
mov dword [edx + edi*8 + 0x24], ebx
mov edx, dword [0x5f4098]
mov esi, dword [edx + ecx*8]
cmp esi, dword [esp + 0x50]
jne 0x525e4a
mov dword [edx + ecx*8 + 0x18], eax
jmp 0x525e4e
mov dword [edx + ecx*8 + 0x20], eax
mov edx, dword [0x5f4098]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x2c]
lea eax, [eax + eax*2]
add eax, eax
cmp dword [edx + eax*8], esi
jne 0x525e6c
mov eax, dword [edx + eax*8 + 0x18]
jmp 0x525e70
mov eax, dword [edx + eax*8 + 0x20]
cmp eax, 0xffffffff
je 0x525ea2
lea edi, [eax + eax*2]
add edi, edi
cmp dword [edx + edi*8], esi
jne 0x525e85
mov dword [edx + edi*8 + 0x18], ebx
jmp 0x525e89
mov dword [edx + edi*8 + 0x20], ebx
mov edx, dword [0x5f4098]
mov esi, dword [edx + ecx*8]
cmp esi, dword [esp + 0x2c]
jne 0x525e9e
mov dword [edx + ecx*8 + 0x1c], eax
jmp 0x525ea2
mov dword [edx + ecx*8 + 0x24], eax
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0050ed00
mov edx, dword [0x5f40f0]
mov esi, dword [esp + 0x5c]
add esp, 4
mov dword [esi + edx + 0x30], ebx
call fcn.0050f980
mov eax, dword [0x5f40f0]
mov ecx, dword [esi + eax + 0x30]
mov eax, dword [0x5f4098]
mov edx, dword [esp + 0x60]
lea esi, [ecx + ecx*2]
shl esi, 4
cmp dword [esi + eax + 0xc], edx
jne 0x525eed
cmp dword [esi + eax + 0x14], 0
jne 0x525eed
mov ebx, dword [esi + eax + 4]
jmp 0x525ef0
mov ebx, dword [esi + eax]
mov ebp, ecx
mov edx, dword [esi + eax + 8]
cmp edx, dword [esp + 0x60]
jne 0x525f0d
cmp dword [esi + eax + 0x10], 0
jne 0x525f0d
mov edx, dword [esi + eax + 0xc]
mov edi, dword [esi + eax + 0x14]
jmp 0x525f11
mov edi, dword [esi + eax + 0x10]
cmp edi, 2
jne 0x525f2a
mov eax, dword [esp + 0x60]
push edx
push eax
push ecx
call fcn.00521890
mov eax, dword [0x5f4098]
add esp, 0xc
cmp dword [esi + eax], ebx
jne 0x525f35
mov ecx, dword [esi + eax + 0x18]
jmp 0x525f39
mov ecx, dword [esi + eax + 0x20]
lea esi, [ecx + ecx*2]
shl esi, 4
mov edx, dword [esi + eax]
cmp edx, ebx
jne 0x525f4c
mov ebx, dword [esi + eax + 4]
jmp 0x525f4e
mov ebx, edx
cmp ecx, ebp
jne 0x525ef2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret