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

Disassembly:
push 0xffffffffffffffff
push 0x4efe93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e4
mov al, byte [esp + 3]
push ebx
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
push esi
lea ecx, [esp + 0x68]
mov dword [esp + 0x34], ebp
mov byte [esp + 0x68], al
call fcn.00414090
mov edi, str.VAG_INDEX.DB
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.VAG_INDEX.DB
lea ecx, [esp + 0x6c]
call fcn.004142c0
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x38], cl
lea ecx, [esp + 0x38]
mov dword [esp + 0x200], esi
call fcn.00414090
mov dl, byte [esp + 0x13]
xor ebx, ebx
push esi
lea ecx, [esp + 0x58]
mov byte [esp + 0x200], 1
mov dword [esp + 0x30], ebx
mov byte [esp + 0x58], dl
call fcn.00414090
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x200], 2
mov byte [esp + 0x48], al
call fcn.00414090
mov eax, dword [ebp + 0x38]
mov byte [esp + 0x1fc], 3
cmp eax, esi
mov dword [esp + 0x24], esi
jbe 0x47dcd9
add ebp, 0x30
cmp dword [ebp + 8], esi
jb 0x47dc8a
mov eax, dword [ebp + 4]
test eax, eax
je 0x47dc8a
mov ecx, ebp
call fcn.00480bd0
mov ebx, dword [ebp + 4]
add ebx, esi
jmp 0x47dc8f
mov ebx, 0x4f7480
cmp dword [ebp + 8], esi
jb 0x47dca9
mov eax, dword [ebp + 4]
test eax, eax
je 0x47dca9
mov ecx, ebp
call fcn.00480bd0
mov edi, dword [ebp + 4]
add edi, esi
jmp 0x47dcae
mov edi, 0x4f7480
movsx ecx, byte [ebx]
push ecx
call fcn.004df456
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
add esp, 4
inc ecx
movsx esi, cx
mov byte [edi], al
mov eax, dword [edx + 0x38]
cmp esi, eax
mov dword [esp + 0x24], ecx
jb 0x47dc70
mov ebx, dword [esp + 0x2c]
xor esi, esi
lea ecx, [esp + 0x94]
call fcn.004ced00
lea ecx, [esp + 0x28]
mov byte [esp + 0x1fc], 4
call fcn.004be1a0
mov al, byte [esp + 0x13]
mov dword [esp + 0x18], esi
mov byte [esp + 0x14], al
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov cl, byte [esp + 0x64]
sub esp, 0x10
mov esi, esp
xor ebp, ebp
mov dword [esp + 0x3c], esp
push ebp
mov byte [esi], cl
mov ecx, esi
mov byte [esp + 0x210], 6
call fcn.00414090
mov edx, dword [0x4f73d0]
lea eax, [esp + 0x74]
push edx
push ebp
push eax
mov ecx, esi
call fcn.00413e90
lea ecx, [esp + 0xa4]
call fcn.004cf110
test al, al
jne 0x47de00
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x204], 5
call fcn.004776e0
mov eax, dword [esp + 0x18]
push eax
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov byte [esp + 0x1fc], 4
call fcn.004be2e0
lea ecx, [esp + 0x94]
mov byte [esp + 0x1fc], 3
call fcn.004cee80
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x200], 2
call fcn.00414090
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x200], 1
call fcn.00414090
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x200], 0
call fcn.00414090
push 1
lea ecx, [esp + 0x68]
mov dword [esp + 0x200], 0xffffffff
call fcn.00414090
jmp 0x47e32a
mov edi, 0x520010
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x520010
lea ecx, [esp + 0x3c]
call fcn.004142c0
mov dword [esp + 0x24], 1
push 2
push 0x5123d0
lea ecx, [esp + 0x30]
call fcn.004be740
mov ecx, dword [esp + 0x24]
sar ecx, 8
push ecx
lea ecx, [esp + 0x2c]
call fcn.004be4a0
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push edx
call fcn.004be4a0
lea eax, [esp + 0x28]
lea ecx, [esp + 0x74]
push eax
push ecx
lea ecx, [esp + 0x9c]
call fcn.004cf620
mov esi, eax
lea edx, [esp + 0x14]
mov byte [esp + 0x1fc], 7
cmp edx, esi
je 0x47df87
mov ecx, esi
call fcn.004776a0
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.004776a0
cmp edi, eax
ja 0x47ded2
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.00477920
mov ecx, dword [esp + 0x28]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004776e0
mov ecx, esi
call fcn.004776a0
mov edx, dword [esp + 0x18]
lea eax, [edx + eax*4]
mov dword [esp + 0x1c], eax
jmp 0x47df87
mov ecx, esi
call fcn.004776a0
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.004776c0
cmp edi, eax
ja 0x47df30
mov edi, dword [esi + 4]
lea ecx, [esp + 0x14]
call fcn.004776a0
mov ecx, dword [esp + 0x18]
lea edi, [edi + eax*4]
mov eax, dword [esi + 4]
push ecx
push edi
push eax
call fcn.00477920
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x14]
push edx
push eax
push edi
call fcn.00477710
mov ecx, esi
call fcn.004776a0
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax*4]
mov dword [esp + 0x1c], edx
jmp 0x47df87
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004776e0
mov edx, dword [esp + 0x18]
push edx
call fcn.004de1a0
add esp, 4
mov ecx, esi
call fcn.004776a0
cmp eax, ebp
jge 0x47df5d
xor eax, eax
shl eax, 2
push eax
call fcn.004dee45
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.00477710
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
push ecx
push edx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x204], 6
call fcn.004776e0
mov eax, dword [esp + 0x78]
push eax
call fcn.004de1a0
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp ecx, ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
je 0x47e243
mov edx, dword [esp + 0x1c]
sub edx, ecx
test edx, 0xfffffffc
je 0x47e243
push 0xffffffffffffffff
lea eax, [esp + 0xf8]
push ebp
push eax
call fcn.004be6b0
lea edi, [esp + 0xf4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x47e034
xor edx, edx
movsx ecx, byte [esp + edx + 0xf4]
lea esi, [esp + edx + 0xf4]
push ecx
call fcn.004df456
mov byte [esi], al
add esp, 4
lea edi, [esp + 0xf4]
or ecx, 0xffffffff
xor eax, eax
inc ebp
repne scasb al, byte es:[edi]
movsx edx, bp
not ecx
dec ecx
cmp edx, ecx
jb 0x47e001
lea edi, [esp + 0xf4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xf4]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x5c]
call fcn.004142c0
jmp 0x47e05d
mov ebx, dword [esp + 0x2c]
mov edi, 0x5123cc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
movsx esi, bx
dec ecx
push ecx
push esi
push 0x5123cc
lea ecx, [esp + 0x60]
call fcn.00480b40
test bx, bx
mov edi, eax
jne 0x47e090
mov eax, dword [esp + 0x5c]
cmp di, 0xffff
je 0x47e092
mov eax, edi
movsx eax, ax
sub eax, esi
lea ecx, [esp + 0x84]
push eax
push esi
push ecx
lea ecx, [esp + 0x60]
call fcn.004809b0
mov edx, dword [0x4f73d0]
lea ecx, [esp + 0x44]
push edx
push 0
push eax
mov byte [esp + 0x208], 8
call fcn.00413e90
push 1
lea ecx, [esp + 0x88]
mov byte [esp + 0x200], 6
call fcn.00414090
lea eax, [edi + 1]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x47e0ef
mov eax, 0x4f7480
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 0x34]
test ecx, ecx
jne 0x47e0ff
mov ecx, 0x4f7480
push eax
push ecx
call fcn.0047daf0
add esp, 8
test ax, ax
je 0x47e11a
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
cmp edx, eax
ja 0x47e146
cmp di, 0xffff
jne 0x47e059
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
movsx eax, ax
cmp eax, 0x10000
jge 0x47e241
mov ebx, dword [esp + 0x2c]
xor ebp, ebp
jmp 0x47de26
mov ecx, dword [0x4f73d0]
lea edx, [esp + 0x44]
push ecx
push 0
push edx
lea ecx, [esp + 0x40]
call fcn.00413e90
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x204]
mov ecx, eax
sar ecx, 8
mov byte [edx], cl
mov ecx, dword [esp + 0x208]
mov byte [ecx], al
lea ecx, [esp + 0x94]
call fcn.004cf360
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x204], 5
call fcn.004776e0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x1fc], 4
call fcn.004be2e0
lea ecx, [esp + 0x94]
mov byte [esp + 0x1fc], 3
call fcn.004cee80
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x200], 2
call fcn.00414090
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x200], 1
call fcn.00414090
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x200], 0
call fcn.00414090
push 1
lea ecx, [esp + 0x68]
mov dword [esp + 0x200], 0xffffffff
call fcn.00414090
mov ax, 1
jmp 0x47e32d
xor ebp, ebp
lea ecx, [esp + 0x94]
call fcn.004cf360
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, edi
mov byte [esp + 0x1fc], 5
je 0x47e276
push ebp
mov ecx, esi
call fcn.004159d0
add esi, 4
cmp esi, edi
jne 0x47e263
mov esi, dword [esp + 0x18]
push esi
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov byte [esp + 0x1fc], 4
call fcn.004be2e0
lea ecx, [esp + 0x94]
mov byte [esp + 0x1fc], 3
call fcn.004cee80
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x200], 2
call fcn.00414090
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x200], 1
call fcn.00414090
mov ecx, dword [esp + 0x38]
cmp ecx, ebp
je 0x47e2fa
mov al, byte [ecx - 1]
test al, al
je 0x47e2f0
cmp al, 0xff
je 0x47e2f0
dec al
mov byte [ecx - 1], al
jmp 0x47e2fa
dec ecx
push ecx
call fcn.004de1a0
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x38], ebp
cmp ecx, ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
je 0x47e32a
mov al, byte [ecx - 1]
test al, al
je 0x47e320
cmp al, 0xff
je 0x47e320
dec al
mov byte [ecx - 1], al
jmp 0x47e32a
dec ecx
push ecx
call fcn.004de1a0
add esp, 4
xor ax, ax
mov ecx, dword [esp + 0x1f4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1f0
ret 8