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

Disassembly:
push 0xffffffffffffffff
push 0x46e86a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push ebp
xor ebx, ebx
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x2c], ebx
call fcn.0045bebc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0xdc], ebx
call fcn.0045bebc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x58]
mov byte [esp + 0xdc], 1
call fcn.00415330
mov ecx, dword [esp + 0xe8]
push eax
mov byte [esp + 0xe0], 2
call fcn.00415a50
lea ecx, [esp + 0x58]
mov byte [esp + 0xdc], 1
call fcn.00415550
mov edi, dword [esp + 0xe4]
lea ebx, [ebx]
mov eax, edi
mov dword [esp + 0x30], ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4171a0
sub eax, edx
mov dword [esp + 0x10], eax
je 0x4171e8
push 0x477528
push edi
call fcn.00433be0
add esp, 8
cmp eax, ebx
je 0x4171c8
mov ecx, eax
add eax, 2
jmp 0x4171e1
push 0x477524
push edi
call fcn.00433be0
add esp, 8
cmp eax, ebx
mov dword [esp + 0x30], eax
je 0x4171e8
mov ecx, eax
inc eax
mov dword [esp + 0x30], eax
mov byte [ecx], 0
call fcn.0045bebc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push edi
mov ecx, ebp
mov byte [esp + 0xe4], 3
call fcn.004163f0
test eax, eax
je 0x41750b
mov esi, dword [esp + 0x10]
cmp dword [esi - 0xc], ebx
jl 0x4174d3
push str.xmcd
push esi
call fcn.00433755
add esp, 8
cmp eax, ebx
je 0x41724c
sub eax, esi
mov dword [esp + 0x1c], eax
jne 0x41724c
mov dword [esp + 0x38], 1
jmp 0x4177b7
cmp dword [esi - 0xc], ebx
jl 0x4174d3
push str.Track_frame_offsets:
push esi
call fcn.00433755
add esp, 8
cmp eax, ebx
je 0x41727b
sub eax, esi
cmp eax, 0xffffffff
je 0x41727b
mov dword [esp + 0x34], 1
jmp 0x4177b7
cmp dword [esi - 0xc], ebx
jl 0x4174d3
push str.Disc_length:
push esi
call fcn.00433755
add esp, 8
cmp eax, ebx
je 0x417313
sub eax, esi
mov dword [esp + 0x1c], eax
jne 0x417313
mov esi, dword [esi - 0xc]
add esi, 0xfffffff3
push esi
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], 1
call fcn.00404e80
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xe0], 4
call fcn.004028b0
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov byte [esp + 0xdc], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4172f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x10]
push esi
call fcn.00433022
mov ecx, dword [esp + 0xec]
add esp, 4
mov dword [ecx + 0x14], eax
jmp 0x4177b7
cmp dword [esi - 0xc], ebx
jl 0x4174d3
push str.Revision:
push esi
call fcn.00433755
add esp, 8
cmp eax, ebx
je 0x41739f
sub eax, esi
mov dword [esp + 0x1c], eax
jne 0x41739f
mov esi, dword [esi - 0xc]
add esi, 0xfffffff7
push esi
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x18]
call fcn.00404e80
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xe0], 5
call fcn.004028b0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0xdc], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417383
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x10]
push esi
call fcn.00433022
mov ecx, dword [esp + 0xec]
add esp, 4
mov dword [ecx + 0x18], eax
jmp 0x4177b7
cmp dword [esi - 0xc], ebx
jl 0x4174d3
push str.Submitted_via:
push esi
call fcn.00433755
add esp, 8
cmp eax, ebx
je 0x4174d3
sub eax, esi
mov dword [esp + 0x1c], eax
jne 0x4174d3
mov word [esp + 0x1c], 0x20
mov esi, dword [esi - 0xc]
add esi, 0xfffffff2
push esi
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], 1
call fcn.00404e80
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xe0], 6
call fcn.004028b0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0xdc], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417426
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 4]
mov edx, dword [esi - 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, edx
or eax, ecx
jge 0x41744e
push edx
lea ecx, [esp + 0x14]
call fcn.004017b0
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00433b2d
add esp, 8
cmp eax, ebx
je 0x417851
mov edi, dword [esp + 0xe8]
push eax
lea ecx, [edi + 0x1c]
call fcn.004035a0
lea ecx, [esp + 0x1c]
push ecx
push ebx
call fcn.00433b2d
add esp, 8
cmp eax, ebx
je 0x4177f2
push eax
lea ecx, [edi + 0x20]
call fcn.004035a0
lea edx, [esp + 0x1c]
push edx
push ebx
call fcn.00433b2d
add esp, 8
cmp eax, ebx
lea ecx, [edi + 0x24]
je 0x4174be
push eax
call fcn.004035a0
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00401d20
jmp 0x4177b7
call fcn.00402520
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00401d20
jmp 0x4177b7
cmp dword [esp + 0x34], ebx
je 0x4177b7
mov eax, dword [esi - 0xc]
test eax, eax
je 0x4177b7
push esi
call fcn.00433022
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x20], eax
add esp, 4
lea eax, [esp + 0x1c]
push eax
call fcn.00414af0
jmp 0x4177b7
call fcn.0045bebc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push ecx
push edi
mov ecx, ebp
mov byte [esp + 0xe8], 7
call fcn.00416e80
test eax, eax
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
je 0x417794
push str.DISCID
push ebp
call fcn.0043388c
add esp, 8
test eax, eax
jne 0x41758a
cmp dword [esi - 0xc], 8
jl 0x417794
mov edx, dword [esp + 0xe8]
add edx, 0x28
push edx
push 0x4775d8
push esi
mov dword [esp + 0x54], 1
call fcn.00433e0f
add esp, 0xc
jmp 0x417794
push str.DTITLE
push ebp
call fcn.0043388c
add esp, 8
test eax, eax
jne 0x4175b7
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 1
call fcn.00404f40
jmp 0x417794
push str.DYEAR
push ebp
call fcn.0043388c
add esp, 8
test eax, eax
jne 0x4175e1
push esi
call fcn.00433022
mov ecx, dword [esp + 0xec]
add esp, 4
mov dword [ecx + 0x74], eax
jmp 0x417794
push str.DGENRE
push ebp
call fcn.0043388c
add esp, 8
test eax, eax
jne 0x41760c
mov eax, dword [esi - 0xc]
mov ecx, dword [esp + 0xe8]
push eax
add ecx, 0x78
push esi
call fcn.00404f40
jmp 0x417794
mov eax, dword [ebp - 0xc]
test eax, eax
jl 0x4176cc
push str.TTITLE
push ebp
call fcn.00433755
add esp, 8
test eax, eax
je 0x4176cc
sub eax, ebp
mov dword [esp + 0x54], eax
jne 0x4176cc
mov eax, dword [ebp - 0xc]
add eax, 0xfffffffa
push eax
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x24]
call fcn.00404e80
mov eax, dword [esp + 0x4c]
push eax
mov byte [esp + 0xe0], 8
call fcn.00433022
mov ebx, dword [esp + 0xec]
add esp, 4
mov edi, eax
push 0xffffffffffffffff
lea ecx, [edi + 1]
add ebx, 0x34
push ecx
mov ecx, ebx
call fcn.00455d59
test edi, edi
jl 0x417913
cmp edi, dword [ebx + 8]
jge 0x417913
mov eax, dword [esi - 0xc]
mov edx, dword [ebx + 4]
push eax
lea ecx, [edx + edi*4]
push esi
call fcn.00404f40
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0xdc], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417794
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x417794
push str.EXTD
push ebp
call fcn.0043388c
add esp, 8
test eax, eax
jne 0x4176ed
mov ecx, dword [esp + 0xe8]
add ecx, 0x48
jmp 0x41778a
mov eax, dword [ebp - 0xc]
test eax, eax
jl 0x417770
push str.EXTT
push ebp
call fcn.00433755
add esp, 8
test eax, eax
je 0x417770
sub eax, ebp
mov dword [esp + 0x54], eax
jne 0x417770
mov eax, dword [ebp - 0xc]
add eax, 0xfffffffc
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x24]
call fcn.00404e80
mov edx, dword [esp + 0x3c]
push edx
mov byte [esp + 0xe0], 9
call fcn.00433022
mov ebx, dword [esp + 0xec]
add esp, 4
mov edi, eax
push 0xffffffffffffffff
lea eax, [edi + 1]
add ebx, 0x4c
push eax
mov ecx, ebx
call fcn.00455d59
lea ecx, [esp + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00409ac0
mov ecx, eax
call fcn.00405010
lea ecx, [esp + 0x3c]
call fcn.00401790
jmp 0x417794
lea edx, [esp + 0x1c]
push str.PLAYORDER
push edx
call fcn.00415080
add esp, 8
test al, al
je 0x417794
lea ecx, [esp + 0x14]
lea eax, [esp + 0x10]
push eax
call fcn.00405010
add ebp, 0xfffffff0
mov byte [esp + 0xdc], 3
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4177b7
mov ecx, dword [ebp]
mov eax, dword [ecx]
push ebp
call dword [eax + 4]
mov edi, dword [esp + 0x30]
add esi, 0xfffffff0
mov byte [esp + 0xdc], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4177dd
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
xor esi, esi
cmp edi, esi
je 0x417918
mov ebp, dword [esp + 0x20]
xor ebx, ebx
jmp 0x417190
cmp esi, ebx
jne 0x4177fa
xor eax, eax
jmp 0x41780f
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417800
sub eax, edx
js 0x417909
cmp eax, dword [esi - 8]
jg 0x417909
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
push 0x273b
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.DLL_SetLastError]
add esi, 0xfffffff0
mov byte [esp + 0xdc], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4178af
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
jmp 0x4178af
cmp esi, ebx
jne 0x417859
xor eax, eax
jmp 0x41786f
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417860
sub eax, edx
js 0x417909
cmp eax, dword [esi - 8]
jg 0x417909
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
push 0x273b
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.DLL_SetLastError]
add esi, 0xfffffff0
mov byte [esp + 0xdc], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4178af
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xdc], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4178d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0xdc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417997
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x417b2e
push 0x80070057
call fcn.00401490
call fcn.00454675
cmp dword [esp + 0x38], esi
je 0x41792a
mov ebp, dword [esp + 0xe8]
cmp dword [ebp + 8], esi
jne 0x417941
mov eax, dword [esp + 0x20]
push 0x273b
mov dword [eax + 8], esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
jmp 0x4178af
cmp dword [esp + 0x40], esi
jne 0x417950
mov eax, dword [esp + 0x20]
mov dword [eax + 8], esi
jmp 0x41797a
cmp dword [esp + 0x44], esi
je 0x417973
cmp dword [esp + 0x48], esi
jne 0x417965
mov edx, dword [esp + 0x20]
mov dword [edx + 8], esi
jmp 0x41797a
cmp dword [esp + 0x2c], esi
je 0x417947
mov eax, dword [ebp + 0x3c]
cmp eax, dword [ebp + 0x54]
je 0x41799e
mov ecx, dword [esp + 0x20]
mov dword [ecx + 8], esi
push 0x273b
call dword [sym.imp.KERNEL32.DLL_SetLastError]
lea ecx, [esp + 0x14]
call fcn.00401790
lea ecx, [esp + 0x18]
call fcn.00401790
xor eax, eax
jmp 0x417b2e
mov edi, dword [esp + 0x18]
cmp dword [edi - 0xc], esi
jl 0x417a32
push 0x477614
push edi
call fcn.00433755
add esp, 8
cmp eax, esi
je 0x417a32
sub eax, edi
mov esi, eax
cmp esi, 0xffffffff
je 0x417a32
push esi
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x20]
call fcn.00404ee0
push eax
lea ecx, [ebp + 0x2c]
mov byte [esp + 0xe0], 0xa
call fcn.00402960
lea ecx, [esp + 0x24]
mov byte [esp + 0xdc], 1
call fcn.00401790
mov eax, dword [edi - 0xc]
sub eax, esi
sub eax, 3
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
call fcn.00404e80
push eax
lea ecx, [ebp + 0x30]
mov byte [esp + 0xe0], 0xb
call fcn.00402960
lea ecx, [esp + 0x28]
mov byte [esp + 0xdc], 1
call fcn.00401790
jmp 0x417a4c
lea edx, [esp + 0x18]
lea ecx, [ebp + 0x30]
push edx
call fcn.004028b0
lea eax, [esp + 0x18]
lea ecx, [ebp + 0x2c]
push eax
call fcn.004028b0
mov bl, 0xd
mov edi, dword [esp + 0x14]
mov eax, dword [edi - 0xc]
test eax, eax
jl 0x417afd
push 0x4773f8
push edi
call fcn.00433755
add esp, 8
test eax, eax
je 0x417af6
sub eax, edi
mov esi, eax
cmp esi, 0xffffffff
je 0x417af6
push esi
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404ee0
mov edx, dword [esp + 0x2c]
push edx
mov byte [esp + 0xe0], 0xc
call fcn.00433022
mov dword [esp + 0x28], eax
add esp, 4
lea eax, [esp + 0x24]
push eax
lea ecx, [ebp + 0x60]
call fcn.00414af0
mov eax, dword [edi - 0xc]
sub eax, esi
dec eax
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404e80
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xe0], bl
call fcn.004028b0
lea ecx, [esp + 0x28]
call fcn.00401790
lea ecx, [esp + 0x2c]
mov byte [esp + 0xdc], 1
call fcn.00401790
jmp 0x417a4e
mov eax, dword [edi - 0xc]
test eax, eax
je 0x417b17
push edi
call fcn.00433022
add esp, 4
lea edx, [esp + 0x24]
push edx
lea ecx, [ebp + 0x60]
mov dword [esp + 0x28], eax
call fcn.00414af0
lea ecx, [esp + 0x14]
call fcn.00401790
lea ecx, [esp + 0x18]
call fcn.00401790
mov eax, 1
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd0
ret 8