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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x7047a0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.004ee320
mov dword [esp + 0x88], 0
lea ecx, [esp + 0x14]
mov eax, dword [edi + 4]
mov eax, dword [eax + 0xc]
sub eax, 2
je 0x50874f
dec eax
je 0x5085b4
push str.TRDC
call fcn.004c3610
test al, al
je 0x50883b
push 0x78d620
lea ecx, [esp + 0x20]
call fcn.004c2e30
lea eax, [esp + 0x1c]
mov byte [esp + 0x88], 7
push eax
mov ecx, edi
call fcn.004ee340
mov byte [esp + 0x88], 0
mov ecx, dword [esp + 0x20]
jmp 0x508831
push 0x79095c
call fcn.004c3610
test al, al
jne 0x508686
push 0x790998
lea ecx, [esp + 0x18]
call fcn.004c3610
test al, al
jne 0x508686
push 0x78d738
lea ecx, [esp + 0x18]
call fcn.004c3610
test al, al
jne 0x508686
push 0x78f1ec
lea ecx, [esp + 0x18]
call fcn.004c3610
test al, al
jne 0x508686
push 0x7909a0
lea ecx, [esp + 0x18]
call fcn.004c3610
test al, al
jne 0x508686
push 0x78d720
lea ecx, [esp + 0x18]
call fcn.004c3610
test al, al
jne 0x508686
xor esi, esi
mov edi, edi
push dword [esi*8 + 0x782e60]
lea ecx, [esp + 0x18]
call fcn.004c3610
test al, al
jne 0x508651
inc esi
cmp esi, 3
jb 0x508630
mov bl, 1
jmp 0x50890e
push dword [esi*8 + 0x782e64]
lea ecx, [esp + 0x28]
call fcn.004c2e30
lea eax, [esp + 0x24]
mov byte [esp + 0x88], 6
push eax
mov ecx, edi
call fcn.004ee340
mov byte [esp + 0x88], 0
mov ecx, dword [esp + 0x28]
jmp 0x508831
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x54]
call fcn.004c5710
push eax
mov edx, str.ID3v2.4_no_longer_supports_the_frame_type
mov byte [esp + 0x8c], 4
lea ecx, [esp + 0x44]
call fcn.004c6850
add esp, 4
push str..__It_will_be_discarded_from_the_tag.
mov edx, eax
mov byte [esp + 0x8c], 5
lea ecx, [esp + 0x38]
call fcn.004c68e0
mov edx, dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x34], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x5086f2
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x5086f2
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [esp + 0x88], 4
mov edx, dword [esp + 0x44]
mov dword [esp + 0x40], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x508721
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x508721
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [esp + 0x88], 0
mov edx, dword [esp + 0x50]
mov dword [esp + 0x4c], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x50890c
mov ecx, dword [esp + 0x50]
jmp 0x508902
push 0x790910
call fcn.004c3610
test al, al
jne 0x508842
push 0x790914
lea ecx, [esp + 0x18]
call fcn.004c3610
test al, al
jne 0x508842
push 0x790928
lea ecx, [esp + 0x18]
call fcn.004c3610
test al, al
jne 0x508842
push 0x79092c
lea ecx, [esp + 0x18]
call fcn.004c3610
test al, al
jne 0x508842
push 0x790920
lea ecx, [esp + 0x18]
call fcn.004c3610
test al, al
jne 0x508842
push 0x790924
lea ecx, [esp + 0x18]
call fcn.004c3610
test al, al
jne 0x508842
push 0x790964
lea ecx, [esp + 0x18]
call fcn.004c3610
test al, al
jne 0x508842
xor esi, esi
nop
push dword [esi*8 + 0x782e80]
lea ecx, [esp + 0x18]
call fcn.004c3610
test al, al
jne 0x508801
inc esi
cmp esi, 0x43
jb 0x5087e0
mov bl, 1
jmp 0x50890e
push dword [esi*8 + 0x782e84]
lea ecx, [esp + 0x30]
call fcn.004c2e30
lea eax, [esp + 0x2c]
mov byte [esp + 0x88], 3
push eax
mov ecx, edi
call fcn.004ee340
mov byte [esp + 0x88], 0
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x50883b
push ecx
call fcn.004c2ee0
mov bl, 1
jmp 0x50890e
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x78]
call fcn.004c5710
push eax
mov edx, str.ID3v2.4_no_longer_supports_the_frame_type
mov byte [esp + 0x8c], 1
lea ecx, [esp + 0x68]
call fcn.004c6850
add esp, 4
push str..__It_will_be_discarded_from_the_tag.
mov edx, eax
mov byte [esp + 0x8c], 2
lea ecx, [esp + 0x5c]
call fcn.004c68e0
mov edx, dword [esp + 0x60]
add esp, 4
mov dword [esp + 0x58], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x5088ae
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x5088ae
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [esp + 0x88], 1
mov edx, dword [esp + 0x68]
mov dword [esp + 0x64], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x5088dd
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x5088dd
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [esp + 0x88], 0
mov edx, dword [esp + 0x74]
mov dword [esp + 0x70], vtable.TagLib::String.0
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
dec ecx
mov dword [eax], ecx
jne 0x50890c
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x50890c
mov eax, dword [ecx]
push 1
call dword [eax]
xor bl, bl
mov dword [esp + 0x88], 0xffffffff
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x508927
push ecx
call fcn.004c2ee0
mov al, bl
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4