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

Disassembly:
push 0xffffffffffffffff
push 0x431701
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x94], 0
lea eax, [edi + 0x40]
mov dword [esp + 0x40], eax
je 0x40adad
mov edx, dword [edi + 0x98]
lea ecx, [esp + 0x14]
push ecx
lea eax, [esp + 0x44]
push edx
mov dword [esp + 0x1c], eax
call fcn.0040a890
add esp, 8
cmp byte [edi + 0xe0], 0
je 0x40add2
mov edx, dword [edi + 0xc4]
lea ecx, [esp + 0x14]
push ecx
lea eax, [esp + 0x44]
push edx
mov dword [esp + 0x1c], eax
call fcn.0040a890
add esp, 8
cmp byte [edi + 0x5c], 0
je 0x40adf1
mov edx, dword [edi + 0x60]
lea ecx, [esp + 0x14]
push ecx
lea eax, [esp + 0x44]
push edx
mov dword [esp + 0x1c], eax
call fcn.0040a890
add esp, 8
cmp byte [edi + 0xac], 0
je 0x40ae16
mov edx, dword [edi + 0xb0]
lea ecx, [esp + 0x14]
push ecx
lea eax, [esp + 0x44]
push edx
mov dword [esp + 0x1c], eax
call fcn.0040a890
add esp, 8
lea esi, [edi + 0x44]
mov ecx, esi
call fcn.004039b0
xor ebx, ebx
cmp byte [edi + 0xe0], bl
je 0x40ae3b
cmp dword [edi + 0xd0], ebx
jbe 0x40ae3b
lea eax, [edi + 0xc8]
push eax
jmp 0x40ae53
cmp byte [edi + 0x94], 0
je 0x40ae5a
cmp dword [edi + 0xa4], ebx
jbe 0x40ae5a
lea ecx, [edi + 0x9c]
push ecx
mov ecx, esi
call fcn.0040a1d0
cmp dword [edi + 0x3c], ebx
jne 0x40b94e
xor esi, esi
cmp byte [edi + 0x94], 0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x64], ebx
mov byte [esp + 0x13], 0
mov byte [esp + 0x1f], 0
je 0x40b110
xor ebp, ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebx
lea edx, [esp + 0x14]
push edx
lea ecx, [edi + 0x98]
mov dword [esp + 0x134], ebx
mov dword [esp + 0x18], str.ITUNSMPB
call fcn.00402b10
cmp eax, ebx
je 0x40b0dd
add eax, 4
push eax
lea ecx, [esp + 0x58]
call fcn.00408720
mov eax, dword [esp + 0x58]
cmp dword [eax + 0xc], ebx
jbe 0x40b0d9
lea ecx, [esp + 0x14]
push ecx
lea ecx, [eax + 4]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
call fcn.00403930
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, ebx
je 0x40aeff
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x40af04
mov eax, 0x4323a4
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x48]
push ecx
push eax
call fcn.00407ee0
mov ecx, dword [esp + 0x20]
add esp, 0xc
test ecx, ecx
mov bl, al
je 0x40af26
call fcn.00402d10
test bl, bl
je 0x40af2f
mov byte [esp + 0x13], 1
xor ebp, ebp
cmp dword [edi + 0x34], ebp
jbe 0x40b0d7
lea ebx, [edi + 0x30]
lea ecx, [ecx]
push ebp
mov ecx, ebx
call fcn.00408060
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp eax, 2
je 0x40af6e
cmp eax, 3
je 0x40af6e
cmp eax, 7
je 0x40af6e
cmp eax, 8
je 0x40af6e
add ebp, 1
cmp ebp, dword [edi + 0x34]
jb 0x40af40
jmp 0x40b0d7
xor ebx, ebx
mov dword [esp + 0x94], 0x17700
mov dword [esp + 0x98], 0x15888
mov dword [esp + 0x9c], 0xfa00
mov dword [esp + 0xa0], 0xbb80
mov dword [esp + 0xa4], 0xac44
mov dword [esp + 0xa8], 0x7d00
mov dword [esp + 0xac], 0x5dc0
mov dword [esp + 0xb0], 0x5622
mov dword [esp + 0xb4], 0x3e80
mov dword [esp + 0xb8], 0x2ee0
mov dword [esp + 0xbc], 0x2b11
mov dword [esp + 0xc0], 0x1f40
mov dword [esp + 0xc4], 0x1cb6
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
lea edx, [esp + 0x34]
push edx
push ebp
mov ecx, edi
mov byte [esp + 0x138], 1
call fcn.00408790
push ebx
lea ecx, [esp + 0x38]
call fcn.00408010
mov al, byte [eax]
and al, 0xf8
cmp al, 0xf8
lea ecx, [esp + 0x34]
jne 0x40b058
push 1
call fcn.00408010
movzx eax, byte [eax]
shr eax, 1
and eax, 0xf
jmp 0x40b07b
push ebx
call fcn.00408010
movzx ecx, byte [eax]
and ecx, 7
add ecx, ecx
mov ebp, ecx
push 1
lea ecx, [esp + 0x38]
call fcn.00408010
movzx eax, byte [eax]
shr eax, 7
or eax, ebp
cmp dword [esp + 0x38], ebx
mov ebp, dword [esp + eax*4 + 0x94]
mov byte [esp + 0x130], 0
jbe 0x40b09d
mov edx, dword [esp + 0x34]
push edx
call fcn.0041b9c6
add esp, 4
cmp ebp, ebx
je 0x40b0d7
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push eax
push ecx
mov esi, ebp
call fcn.00407e70
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x70]
push edx
push eax
call fcn.00407e70
add esp, 0x10
mov esi, eax
mov dword [esp + 0x64], edx
mov byte [esp + 0x1f], 1
xor ebx, ebx
mov ebp, dword [esp + 0x54]
cmp ebp, ebx
mov dword [esp + 0x130], 0xffffffff
je 0x40b105
lea ecx, [ebp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x40b105
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
cmp byte [esp + 0x13], 0
jne 0x40b209
xor ebp, ebp
cmp dword [edi + 0x34], ebx
mov dword [esp + 0x18], ebx
jbe 0x40b4b5
cmp ebp, dword [edi + 0x34]
jae 0x40b3ca
mov eax, dword [edi + 0x30]
lea ebx, [ebp*8]
add eax, ebx
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp eax, 2
je 0x40b151
cmp eax, 3
je 0x40b151
cmp eax, 7
je 0x40b151
cmp eax, 8
jne 0x40b1d1
add dword [esp + 0x18], 1
cmp ebp, dword [edi + 0x34]
jae 0x40b3f9
mov eax, dword [edi + 0x30]
mov esi, dword [eax + ebx + 4]
add eax, ebx
cmp ebp, dword [edi + 0x34]
jae 0x40b428
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + ebx + 4]
add eax, ebx
call fcn.00415b50
mov esi, dword [esi + 0x5c]
push 0
push eax
call fcn.00407e70
add esp, 8
cmp ebp, dword [edi + 0x34]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
jae 0x40b457
mov eax, dword [edi + 0x30]
mov esi, dword [eax + ebx + 4]
add eax, ebx
cmp ebp, dword [edi + 0x34]
jae 0x40b486
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + ebx + 4]
add eax, ebx
call fcn.00415a80
mov esi, dword [esi + 0x5c]
push edx
push eax
call fcn.00407e70
add esp, 8
mov esi, eax
mov dword [esp + 0x64], edx
add ebp, 1
cmp ebp, dword [edi + 0x34]
jb 0x40b128
cmp dword [esp + 0x18], 0
jbe 0x40b4b5
mov edx, dword [esp + 0x64]
cmp dword [esp + 0x30], edx
ja 0x40b4b5
jb 0x40b202
cmp dword [esp + 0x2c], esi
jae 0x40b4b5
mov byte [esp + 0x13], 1
xor ebx, ebx
cmp byte [esp + 0x13], 0
mov edx, dword [esp + 0x64]
mov eax, esi
jne 0x40b21e
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [edi + 0x50], eax
mov eax, dword [edi + 0xb8]
cmp eax, ebx
mov dword [edi + 0x54], edx
je 0x40b899
cmp byte [esp + 0x1f], 0
je 0x40b242
cmp eax, 1
je 0x40b899
lea ecx, [edi + 0x38]
push eax
call fcn.0040a390
xor ebp, ebp
cmp dword [edi + 0xb8], ebx
mov dword [esp + 0x24], ebp
jbe 0x40b94e
xor ebx, ebx
cmp ebp, dword [edi + 0xb8]
mov dword [esp + 0x18], ebx
jae 0x40b666
mov ecx, dword [edi + 0xb4]
add ecx, ebx
cmp ebp, dword [edi + 0x3c]
jae 0x40b6a4
mov eax, dword [edi + 0x38]
mov edx, dword [ecx]
add eax, ebx
mov dword [eax + 8], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 0xc], ecx
cmp ebp, dword [edi + 0x3c]
jae 0x40b6dc
mov esi, dword [edi + 0x38]
mov eax, dword [esi + ebx]
add esi, ebx
test eax, eax
mov dword [esp + 0x20], eax
mov dword [esi], 0
je 0x40b2c3
mov ecx, eax
call fcn.00407740
mov edx, dword [esp + 0x20]
push edx
call fcn.0041ab17
add esp, 4
mov eax, dword [edi + 0x40]
push eax
call fcn.00409c40
add esp, 4
mov dword [esi], eax
cmp byte [edi + 0xe0], 0
je 0x40b52e
lea ecx, [esp + 0x50]
push ecx
lea ecx, [edi + 0xd4]
call fcn.0040a840
mov esi, dword [eax]
test esi, esi
mov dword [esp + 0x28], esi
je 0x40b302
lea edx, [esi + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x50]
test eax, eax
mov dword [esp + 0x130], 2
je 0x40b360
mov dword [esp + 0x14], eax
add eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x40b360
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40b360
mov ecx, dword [eax + 4]
test ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [eax + 4], 0
je 0x40b353
call fcn.00407740
mov eax, dword [esp + 0x20]
push eax
call fcn.0041ab17
add esp, 4
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0041ab17
add esp, 4
test esi, esi
je 0x40b4e6
cmp dword [esi], ebp
je 0x40b4cf
mov ebx, esi
mov esi, dword [esi + 0xc]
lea edx, [ebx + 0x10]
push edx
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x40b3ae
test ebx, ebx
je 0x40b3ae
mov ebp, dword [ebx + 4]
test ebp, ebp
mov dword [ebx + 4], eax
je 0x40b3a5
mov ecx, ebp
call fcn.00407740
push ebp
call fcn.0041ab17
add esp, 4
push ebx
call fcn.0041ab17
add esp, 4
test esi, esi
je 0x40b4e6
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
jmp 0x40b368
push 0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], 0x434308
call fcn.0041aa68
push 0x43b834
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x3c], 0x432380
call fcn.0041ab1c
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], 0x434308
call fcn.0041aa68
push 0x43b834
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x3c], 0x432380
call fcn.0041ab1c
push 0
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x28], 0x434308
call fcn.0041aa68
push 0x43b834
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x5c], 0x432380
call fcn.0041ab1c
push 0
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x2c], 0x434308
call fcn.0041aa68
push 0x43b834
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x4c], 0x432380
call fcn.0041ab1c
push 0
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x58], 0x434308
call fcn.0041aa68
push 0x43b834
lea ecx, [esp + 0x6c]
push ecx
mov dword [esp + 0x70], 0x432380
call fcn.0041ab1c
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x28]
mov esi, dword [edi + 0x20]
push eax
push ecx
call fcn.00407e70
add esp, 8
xor ebx, ebx
jmp 0x40b216
cmp ebp, dword [edi + 0x3c]
jae 0x40b71a
mov ecx, dword [edi + 0x38]
lea edx, [esi + 4]
add ecx, ebx
push edx
call fcn.00417840
test esi, esi
mov dword [esp + 0x130], 0xffffffff
je 0x40b526
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x40b526
mov ebx, dword [esi + 4]
test ebx, ebx
mov dword [esi + 4], eax
je 0x40b51d
mov ecx, ebx
call fcn.00407740
push ebx
call fcn.0041ab17
add esp, 4
push esi
call fcn.0041ab17
add esp, 4
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
cmp ebp, dword [edi + 0xb8]
jae 0x40b752
mov ecx, dword [edi + 0xb4]
lea eax, [ebx + ecx + 8]
mov eax, dword [eax]
test eax, eax
je 0x40b5dd
mov eax, dword [eax + 4]
test eax, eax
je 0x40b5dd
push eax
call fcn.00406be0
add esp, 4
test eax, eax
jbe 0x40b5dd
cmp ebp, dword [edi + 0x3c]
jae 0x40b78a
mov ecx, dword [edi + 0x38]
lea edx, [esp + 0x28]
add ecx, ebx
push edx
mov dword [esp + 0x2c], str.title
call fcn.00402b10
test eax, eax
jne 0x40b5dd
cmp ebp, dword [edi + 0xb8]
jae 0x40b7c2
mov eax, dword [edi + 0xb4]
lea eax, [ebx + eax + 8]
mov eax, dword [eax]
test eax, eax
je 0x40b5b1
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x40b5b9
mov dword [esp + 0x18], 0x4323a4
cmp ebp, dword [edi + 0x3c]
jae 0x40b7fa
push 0x434408
push 1
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [edi + 0x38]
push str.title
add ecx, ebx
call fcn.0040a680
cmp dword [edi + 0x3c], 1
jbe 0x40b647
cmp byte [edi + 0xe0], 0
jne 0x40b647
cmp ebp, dword [edi + 0x3c]
jae 0x40b832
mov ecx, dword [edi + 0x38]
lea edx, [esp + 0x28]
add ecx, ebx
push edx
mov dword [esp + 0x2c], str.track
call fcn.00402b10
test eax, eax
jne 0x40b647
cmp ebp, dword [edi + 0x3c]
jae 0x40b861
mov esi, dword [edi + 0x38]
push 0x434408
push 1
push 0xa
push eax
lea eax, [ebp + 1]
push 0
push eax
lea ecx, [esp + 0xac]
add esi, ebx
call fcn.00419910
push eax
push str.track
mov ecx, esi
call fcn.0040a740
add ebp, 1
add ebx, 0x10
cmp ebp, dword [edi + 0xb8]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], ebx
jb 0x40b26f
jmp 0x40b94c
push 0
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x100]
mov dword [esp + 0x88], 0x434308
call fcn.0041aa68
push 0x43b834
lea edx, [esp + 0xfc]
push edx
mov dword [esp + 0x100], 0x432380
call fcn.0041ab1c
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xdc]
mov dword [esp + 0x30], 0x434308
call fcn.0041aa68
push 0x43b834
lea ecx, [esp + 0xd8]
push ecx
mov dword [esp + 0xdc], 0x432380
call fcn.0041ab1c
push 0
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0xf4]
mov dword [esp + 0x98], 0x434308
call fcn.0041aa68
push 0x43b834
lea eax, [esp + 0xf0]
push eax
mov dword [esp + 0xf4], 0x432380
call fcn.0041ab1c
push 0
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x124]
mov dword [esp + 0x68], 0x434308
call fcn.0041aa68
push 0x43b834
lea edx, [esp + 0x120]
push edx
mov dword [esp + 0x124], 0x432380
call fcn.0041ab1c
push 0
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x118]
mov dword [esp + 0x70], 0x434308
call fcn.0041aa68
push 0x43b834
lea ecx, [esp + 0x114]
push ecx
mov dword [esp + 0x118], 0x432380
call fcn.0041ab1c
push 0
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x4c], 0x434308
call fcn.0041aa68
push 0x43b834
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x8c], 0x432380
call fcn.0041ab1c
push 0
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x4c], 0x434308
call fcn.0041aa68
push 0x43b834
lea edx, [esp + 0x88]
push edx
mov dword [esp + 0x8c], 0x432380
call fcn.0041ab1c
push 0
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0xe8]
mov dword [esp + 0x5c], 0x434308
call fcn.0041aa68
push 0x43b834
lea ecx, [esp + 0xe4]
push ecx
mov dword [esp + 0xe8], 0x432380
call fcn.0041ab1c
push 0
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x3c], 0x434308
call fcn.0041aa68
push 0x43b834
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0x7c], 0x432380
call fcn.0041ab1c
push 0
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 0x34], 0x434308
call fcn.0041aa68
push 0x43b834
lea edx, [esp + 0x108]
push edx
mov dword [esp + 0x10c], 0x432380
call fcn.0041ab1c
lea esi, [edi + 0x38]
push 1
mov ecx, esi
call fcn.0040a200
cmp dword [esi + 4], ebx
ja 0x40b8d8
push ebx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x3c], 0x434308
call fcn.0041aa68
push 0x43b834
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x7c], 0x432380
call fcn.0041ab1c
mov ebp, dword [esi]
mov ebx, dword [ebp]
test ebx, ebx
mov dword [ebp], 0
je 0x40b8f8
mov ecx, ebx
call fcn.00407740
push ebx
call fcn.0041ab17
add esp, 4
mov edx, dword [edi + 0x40]
push edx
call fcn.00409c40
add esp, 4
mov dword [ebp], eax
cmp dword [esi + 4], 0
ja 0x40b93c
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x3c], 0x434308
call fcn.0041aa68
push 0x43b834
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x7c], 0x432380
call fcn.0041ab1c
mov esi, dword [esi]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
xor ebx, ebx
mov ecx, dword [edi + 0xc0]
cmp ecx, dword [edi + 0x3c]
je 0x40b965
push ebx
lea ecx, [edi + 0xbc]
call fcn.00408640
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret