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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xccc
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor ebx, ebx
push ebx
push ebx
xor ecx, ecx
push ecx
xor eax, eax
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
xor eax, eax
lea edi, [esp + 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esi + 3]
push 0xa
mov dword [esp + 0x24], eax
mov dword [eax], ebx
mov al, byte [esi + 1]
pop edi
mov byte [esp + 0x28], al
push edi
lea eax, [esp + 0x28]
push eax
lea eax, [ebp + 8]
push eax
mov byte [esp + 0x3c], 1
mov byte [esi], 3
mov dword [esi + 0xb], edi
mov byte [esp + 0x30], 0x49
mov byte [esp + 0x31], 0x44
mov byte [esp + 0x32], 0x33
mov byte [esp + 0x33], 3
call fcn.00402005
cmp eax, edi
je 0x4df77a
xor al, al
jmp 0x4e022f
mov ecx, dword [ebp + 0x10]
add ecx, 4
lea eax, [esp + 0x5c]
mov byte [esp + 0xf], bl
call fcn.0055a729
cmp dword [esp + 0x60], ebx
je 0x4dfdae
mov eax, dword [esp + 0x5c]
cmp eax, ebx
setne cl
test cl, cl
je 0x4dfdae
cmp dword [eax], ebx
je 0x4df7b0
mov edi, dword [eax]
jmp 0x4df7b5
mov edi, 0x5b07d8
mov esi, edi
call fcn.004ded72
push 0x104
mov edx, eax
lea esi, [esp + 0xac]
call fcn.004a8ff7
mov ecx, esi
mov eax, edi
call fcn.0040106a
test eax, eax
jne 0x4df837
mov eax, str.ID3_
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x4df7e4
sub eax, edx
sar eax, 1
mov esi, eax
lea eax, [esp + 0xa8]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x4df7fe
sub eax, edx
sar eax, 1
cmp eax, esi
jbe 0x4df837
push str.ID3_
push edi
call fcn.0058fe77
test eax, eax
pop ecx
pop ecx
je 0x4df837
lea edx, [edi + esi*2]
push 0x104
lea esi, [esp + 0xac]
call fcn.004a8ff7
mov edi, esi
mov ecx, dword [0x61c2f0]
cmp ecx, ebx
je 0x4df85a
mov esi, 0x61c2f4
mov eax, edi
call fcn.0040106a
test eax, eax
je 0x4df88b
mov ecx, dword [esi]
add esi, 4
cmp ecx, ebx
jne 0x4df846
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x4df85f
sub eax, edx
sar eax, 1
cmp eax, 4
jne 0x4dfd80
push str.UMID
push edi
call fcn.005a6122
test eax, eax
pop ecx
pop ecx
je 0x4dfd80
lea eax, [esp + 0x5c]
call fcn.0055a749
mov ebx, eax
movzx esi, word [ebx]
test si, si
je 0x4dfd80
mov ecx, str.TDAT
lea eax, [esp + 0xa8]
call fcn.0040106a
test eax, eax
jne 0x4df957
push 5
mov edx, ebx
lea esi, [esp + 0x6e]
mov word [esp + 0x6c], 0xfeff
call fcn.004a8ff7
push dword [esp + 0x20]
lea eax, [esp + 0x6c]
push eax
push dword [esp + 0x38]
push str.TYER
push ecx
mov ecx, dword [ebp + 8]
mov eax, esp
mov dword [eax], ecx
call fcn.004df5d5
test al, al
je 0x4dfdae
mov ax, word [ebx + 0x10]
and word [esp + 0x58], 0
mov word [esp + 0x50], ax
mov ax, word [ebx + 0x12]
mov word [esp + 0x52], ax
mov ax, word [ebx + 0xa]
mov word [esp + 0x54], ax
mov ax, word [ebx + 0xc]
push 5
lea edx, [esp + 0x54]
mov word [esp + 0x5a], ax
call fcn.004a8ff7
push dword [esp + 0x20]
lea eax, [esp + 0x6c]
push eax
push dword [esp + 0x38]
push str.TDAT
push ecx
mov ecx, dword [ebp + 8]
mov eax, esp
mov dword [eax], ecx
call fcn.004df5d5
test al, al
je 0x4dfdae
jmp 0x4dfd80
mov edi, 0x5afd20
mov ecx, edi
lea eax, [esp + 0xa8]
call fcn.0040106a
test eax, eax
jne 0x4df9ba
mov ax, word [ebx + 2]
and word [esp + 0x4c], 0
mov word [esp + 0x46], ax
mov ax, word [ebx + 6]
mov word [esp + 0x48], ax
mov ax, word [ebx + 8]
mov word [esp + 0x44], si
push 5
lea edx, [esp + 0x48]
lea esi, [esp + 0x7a]
mov word [esp + 0x78], 0xfeff
mov word [esp + 0x4e], ax
call fcn.004a8ff7
push dword [esp + 0x20]
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x38]
push edi
jmp 0x4df93d
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4df9bf
sub eax, edx
sar eax, 1
lea edi, [eax + 2]
mov eax, edi
lea esi, [esp + 0x14]
mov dword [esp + 0x1c], edi
call fcn.0043c415
mov ecx, dword [esp + 0x14]
lea eax, [edi - 1]
test eax, eax
mov word [ecx], 0xfeff
je 0x4df9fa
push eax
lea esi, [ecx + 2]
mov edx, ebx
call fcn.004a8ff7
lea eax, [esp + 0xa8]
push eax
push str.COMM
call fcn.005a6122
test eax, eax
pop ecx
pop ecx
je 0x4dfd71
lea eax, [esp + 0xa8]
push eax
push str.WXXX
call fcn.005a6122
test eax, eax
pop ecx
pop ecx
jne 0x4dfaeb
mov ebx, dword [esp + 0x1c]
lea edi, [esp + 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, 0x5f3254
lea edi, [esp + 0x24]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
push edi
call fcn.0058f8c4
mov dword [esp + 0x20], eax
pop ecx
mov eax, edi
lea esi, [esp + 0x34]
call fcn.0043c415
test edi, edi
je 0x4dfa77
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
push edi
add edx, 2
call fcn.004a8ff7
push dword [esp + 0x34]
mov esi, edi
mov edi, dword [esp + 0x20]
call fcn.0049e4d6
mov eax, ebx
bswap eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
lea ecx, [ebx + 0xa]
add dword [eax], ecx
push 0xa
lea eax, [esp + 0x28]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00402005
cmp eax, 0xa
jne 0x4dfd90
and dword [esp + 0x40], 0
push 2
lea eax, [esp + 0x44]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00402005
add ebx, 0xfffffffe
push ebx
push edi
lea eax, [ebp + 8]
push eax
call fcn.00402005
cmp eax, ebx
push dword [esp + 0x34]
jne 0x4dfd94
call fcn.0058f8c9
pop ecx
push edi
jmp 0x4dfbff
lea eax, [esp + 0xa8]
push eax
push str.PCNT
call fcn.005a6122
test eax, eax
pop ecx
pop ecx
jne 0x4dfb5e
cmp word [ebx], ax
je 0x4dfd71
lea edi, [esp + 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 4
mov esi, 0x5f3274
lea edi, [esp + 0x28]
movsd dword es:[edi], dword [esi]
pop eax
bswap eax
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
add dword [eax], 0xe
push 0xa
lea eax, [esp + 0x28]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00402005
cmp eax, 0xa
jne 0x4dfda4
push ebx
call fcn.00590243
pop ecx
push eax
lea eax, [ebp + 8]
push eax
call fcn.0056dbfd
jmp 0x4dfd71
lea eax, [esp + 0xa8]
push eax
push str.TCON
call fcn.005a6122
test eax, eax
pop ecx
pop ecx
jne 0x4dfc7f
xor edi, edi
xor esi, esi
push dword [esi*4 + 0x61c4b0]
push ebx
call fcn.005a6122
test eax, eax
pop ecx
pop ecx
je 0x4dfc0a
inc esi
cmp esi, 0x94
jl 0x4dfb7e
mov eax, dword [esp + 0x1c]
add eax, eax
lea esi, [esp + 0x64]
call fcn.0043c415
mov esi, dword [esp + 0x64]
xor ecx, ecx
mov word [esi], 0xfeff
xor edx, edx
inc ecx
cmp word [ebx], di
je 0x4dfbdc
mov eax, ebx
cmp word [eax], 0x28
jne 0x4dfbcb
mov word [esi + ecx*2], 0x28
inc ecx
mov ax, word [eax]
mov word [esi + ecx*2], ax
inc ecx
inc edx
lea eax, [ebx + edx*2]
cmp word [eax], di
jne 0x4dfbbe
push dword [esp + 0x20]
mov word [esi + ecx*2], di
push esi
push dword [esp + 0x38]
lea eax, [esp + 0xb4]
push eax
push ecx
mov ecx, dword [ebp + 8]
mov eax, esp
mov dword [eax], ecx
call fcn.004df5d5
push esi
call fcn.0058f8c9
pop ecx
jmp 0x4dfd71
push esi
push str.__d_
push 0xa
pop esi
lea edi, [esp + 0x88]
call fcn.004a9039
pop ecx
mov eax, edi
pop ecx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4dfc26
sub eax, edx
sar eax, 1
inc eax
je 0x4dfc4b
push eax
lea edx, [esp + 0x84]
lea esi, [esp + 0x9a]
call fcn.004a8ff7
push dword [esp + 0x20]
lea eax, [esp + 0x98]
push eax
push dword [esp + 0x38]
lea eax, [esp + 0xb4]
push eax
push ecx
mov ecx, dword [ebp + 8]
mov eax, esp
mov word [esp + 0xa8], 0xfeff
mov dword [eax], ecx
call fcn.004df5d5
jmp 0x4dfd71
lea eax, [esp + 0xa8]
push eax
push str.POPM
call fcn.005a6122
test eax, eax
pop ecx
pop ecx
jne 0x4dfd1c
push ebx
call fcn.00590243
mov byte [esp + 0x1f], al
xor eax, eax
lea edi, [esp + 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x24]
pop ecx
mov esi, 0x5f326c
lea edi, [esp + 0x24]
movsd dword es:[edi], dword [esi]
push 2
movsb byte es:[edi], byte [esi]
add dword [eax], 0xc
pop eax
bswap eax
mov dword [esp + 0x28], eax
push 0xa
lea eax, [esp + 0x28]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00402005
cmp eax, 0xa
jne 0x4dfda4
and dword [esp + 0x3c], 0
xor esi, esi
inc esi
push esi
lea eax, [esp + 0x40]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00402005
cmp eax, esi
jne 0x4dfda4
push esi
lea eax, [esp + 0x1f]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00402005
cmp eax, esi
jne 0x4dfda4
jmp 0x4dfd71
lea eax, [esp + 0xa8]
push eax
push str.APIC
call fcn.005a6122
test eax, eax
pop ecx
pop ecx
je 0x4dfd76
lea eax, [esp + 0xa8]
push eax
push str.USLT
call fcn.005a6122
test eax, eax
pop ecx
pop ecx
je 0x4dfd76
push dword [esp + 0x20]
lea eax, [esp + 0xac]
push dword [esp + 0x18]
push dword [esp + 0x38]
push eax
push ecx
mov ecx, dword [ebp + 8]
mov eax, esp
mov dword [eax], ecx
call fcn.004df5d5
test al, al
je 0x4dfda4
mov byte [esp + 0xf], 1
push dword [esp + 0x14]
call fcn.0058f8c9
pop ecx
lea edx, [esp + 0x5c]
call fcn.0055a6e1
xor ebx, ebx
jmp 0x4df78d
push dword [esp + 0x34]
call fcn.0058f8c9
pop ecx
push dword [esp + 0x1c]
call fcn.0058f8c9
pop ecx
push dword [esp + 0x14]
call fcn.0058f8c9
pop ecx
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push esi
push edi
lea eax, [ebp + 8]
push eax
call fcn.004e0238
test al, al
je 0x4dfdc8
mov byte [esp + 0xf], 1
push esi
lea eax, [ebp + 8]
push eax
call fcn.004e04de
test al, al
je 0x4dfddb
mov byte [esp + 0xf], 1
xor ebx, ebx
lea eax, [esi + 4]
push str.LYRICS
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x40], eax
call fcn.00406290
push dword [esp + 0x50]
lea edi, [esp + 0x48]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call fcn.004b08f8
mov ecx, dword [esp + 0x48]
cmp ecx, ebx
jbe 0x4dfea9
xor eax, eax
lea edi, [esp + 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, 0x5f328c
lea edi, [esp + 0x24]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea esi, [ecx + ecx]
lea eax, [esi + 8]
bswap eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
lea ecx, [esi + 0x12]
add dword [eax], ecx
push 0xa
lea eax, [esp + 0x28]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00402005
push 1
lea eax, [esp + 0x34]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00402005
push 3
push 0x5f3550
lea eax, [ebp + 8]
push eax
call fcn.00402005
lea eax, [ebp + 8]
push eax
mov ax, 0xfeff
call fcn.004474f9
lea eax, [ebp + 8]
push eax
xor ax, ax
call fcn.004474f9
push esi
push dword [esp + 0x48]
lea eax, [ebp + 8]
push eax
call fcn.00402005
mov byte [esp + 0xf], 1
mov eax, dword [esp + 0x3c]
push 0x5b07d8
push 0x5f3554
call fcn.00436f6c
push eax
call fcn.00590243
cmp eax, ebx
pop ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], ebx
jbe 0x4e01d7
mov ebx, 0x104
push dword [esp + 0x14]
mov esi, ebx
push str.image_data_u
lea edi, [esp + 0xb0]
call fcn.004a9039
pop ecx
pop ecx
mov eax, edi
push eax
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x6c4]
call fcn.0044b8a2
lea eax, [esp + 0x6c0]
push eax
call fcn.00401b98
test al, al
je 0x4e01c3
push dword [esp + 0x14]
push str.image_desc_u
call fcn.004a9039
pop ecx
pop ecx
push ebx
push 0x5b07d8
mov eax, edi
push eax
mov eax, dword [ebp + 0x10]
add eax, 4
call fcn.00436f6c
mov edx, eax
lea esi, [esp + 0x4bc]
call fcn.004a8ff7
push dword [esp + 0x14]
and word [esp + 0x53c], 0
push str.image_type_u
mov esi, ebx
call fcn.004a9039
pop ecx
pop ecx
push ebx
push 0x5b07d8
mov eax, edi
push eax
mov eax, dword [ebp + 0x10]
add eax, 4
call fcn.00436f6c
mov edx, eax
lea esi, [esp + 0xad4]
call fcn.004a8ff7
mov eax, esi
push eax
call fcn.00590243
cmp al, 0x14
pop ecx
mov byte [esp + 0x1b], al
jbe 0x4dff9d
mov byte [esp + 0x1b], 0
lea eax, [esp + 0x6c0]
push eax
lea esi, [esp + 0x20]
call fcn.00401f86
mov eax, esi
push eax
call fcn.004019d3
xor ecx, ecx
push 4
pop edx
mov dword [esp + 0x34], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0058f8c4
pop ecx
push dword [esp + 0x34]
mov dword [esp + 0x44], eax
push eax
mov eax, esi
push eax
call fcn.00401f65
and word [esp + 0x2b0], 0
xor eax, eax
lea edi, [esp + 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, 0x5f3248
lea edi, [esp + 0x24]
movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x6c0]
lea eax, [esp + 0x8c8]
movsb byte es:[edi], byte [esi]
call fcn.0040171e
push ebx
lea eax, [esp + 0x8cc]
push str..jpg
push eax
call fcn.0059091d
add esp, 0xc
test eax, eax
jne 0x4e003a
lea eax, [esp + 0x2b0]
push eax
mov eax, 0x5e03a4
jmp 0x4e008a
push ebx
lea eax, [esp + 0x8cc]
push str..png
push eax
call fcn.0059091d
add esp, 0xc
test eax, eax
jne 0x4e0063
lea eax, [esp + 0x2b0]
push eax
mov eax, 0x5e03bc
jmp 0x4e008a
push ebx
lea eax, [esp + 0x8cc]
push str..bmp
push eax
call fcn.0059091d
add esp, 0xc
test eax, eax
jne 0x4e008f
lea eax, [esp + 0x2b0]
push eax
mov eax, 0x5e5b64
call fcn.00401016
cmp word [esp + 0x4b8], 0
setne byte [esp + 0xf]
cmp byte [esp + 0xf], 0
sete al
dec al
and eax, dword [esp + 0x30]
mov byte [esp + 0x3b], al
lea eax, [esp + 0x2b0]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4e00b9
mov esi, dword [esp + 0x34]
sub eax, edx
sar eax, 1
cmp byte [esp + 0xf], cl
lea eax, [eax + esi + 3]
je 0x4e00f3
lea ecx, [esp + 0x4b8]
lea edi, [ecx + 2]
mov dx, word [ecx]
inc ecx
inc ecx
test dx, dx
jne 0x4e00df
sub ecx, edi
sar ecx, 1
lea eax, [eax + ecx*2 + 4]
jmp 0x4e00f4
inc eax
mov ecx, dword [esp + 0x20]
lea edx, [eax + 0xa]
add dword [ecx], edx
bswap eax
mov dword [esp + 0x28], eax
push 0xa
lea eax, [esp + 0x28]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00402005
push 1
lea eax, [esp + 0x3f]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00402005
lea eax, [esp + 0x2b0]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004a3887
push 1
lea eax, [esp + 0x14]
push eax
lea eax, [ebp + 8]
push eax
mov byte [esp + 0x1c], 0
call fcn.00402005
lea eax, [ebp + 8]
push eax
mov al, byte [esp + 0x1f]
call fcn.004474e0
cmp byte [esp + 0xf], 0
mov byte [esp + 0x10], 0
je 0x4e0185
lea eax, [esp + 0x4b8]
push eax
lea eax, [ebp + 8]
push eax
lea edi, [esp + 0x18]
call fcn.004e05ed
lea eax, [ebp + 8]
push eax
xor ax, ax
call fcn.004474f9
jmp 0x4e0195
push 1
lea eax, [esp + 0x14]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00402005
push esi
push dword [esp + 0x44]
lea eax, [ebp + 8]
push eax
call fcn.00402005
push dword [esp + 0x40]
call fcn.0058f8c9
cmp dword [esp + 0x20], 0xffffffff
pop ecx
mov byte [esp + 0xf], 1
je 0x4e01c3
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x3c]
jb 0x4dfed8
xor ebx, ebx
cmp byte [esp + 0xf], 0
je 0x4e0217
push 6
pop eax
push ebx
push ebx
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov eax, dword [esp + 0x20]
push dword [eax]
call fcn.00451b21
mov dword [esp + 0x2a], eax
push 4
lea eax, [esp + 0x2e]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00402005
cmp eax, 4
je 0x4e0217
mov byte [esp + 0xf], 0
push dword [esp + 0x44]
call fcn.0058f8c9
pop ecx
push dword [esp + 0x50]
call fcn.0058f8c9
mov al, byte [esp + 0x13]
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc