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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4a5f51
push eax
mov eax, 0x18bc
mov dword fs:[0], esp
call fcn.0048c610
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x214]
push esi
xor esi, esi
cmp eax, esi
lea ecx, [eax + 1]
mov dword [esp + 0x20], ebx
mov dword [ebx + 0x214], ecx
jle 0x46b779
mov al, byte [ebx + 0x210]
pop esi
pop ebx
mov ecx, dword [esp + 0x18bc]
mov dword fs:[0], ecx
add esp, 0x18c8
ret
push ebp
mov ecx, ebx
call fcn.0046af30
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov eax, dword [ebx + 0x1c0]
cmp eax, esi
mov dword [esp + 0x18d0], esi
jne 0x46b7a2
xor ebp, ebp
jmp 0x46b7ad
mov ebp, dword [ebx + 0x1c4]
sub ebp, eax
sar ebp, 4
push edi
push ebp
lea ecx, [esp + 0x1c]
call fcn.00457590
cmp ebp, esi
jbe 0x46b839
xor edi, edi
mov edi, edi
mov ecx, dword [ebx + 0x1c0]
test ecx, ecx
je 0x46b7d9
mov eax, dword [ebx + 0x1c4]
sub eax, ecx
sar eax, 4
cmp esi, eax
jb 0x46b7de
call fcn.0048c48f
mov edx, dword [ebx + 0x1c0]
cmp dword [edx + edi + 0xc], 0xfffffffe
jae 0x46b82f
mov ecx, edx
test ecx, ecx
je 0x46b800
mov eax, dword [ebx + 0x1c4]
sub eax, ecx
sar eax, 4
cmp esi, eax
jb 0x46b805
call fcn.0048c48f
mov eax, dword [ebx + 0x1c0]
mov ecx, dword [eax + edi]
mov edx, dword [eax + edi + 4]
add eax, edi
lea eax, [esp + 0x40]
mov dword [esp + 0x40], ecx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x48], edx
mov byte [esp + 0x4c], 0
call fcn.00459ef0
add esi, 1
add edi, 0x10
cmp esi, ebp
jb 0x46b7c0
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, eax
mov edi, eax
jbe 0x46b85d
call fcn.0048c48f
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, eax
jbe 0x46b85d
call fcn.0048c48f
mov ecx, edi
sub ecx, esi
sar ecx, 4
push ecx
mov edx, edi
mov ecx, esi
call fcn.00457100
mov ecx, dword [esp + 0x1c]
xor edx, edx
cmp ecx, edx
jne 0x46b87e
mov dword [esp + 0x14], edx
jmp 0x46b88b
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x88], str._listfile_
mov dword [esp + 0x8c], str._attributes_
mov dword [esp + 0x90], str._signature_
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
mov edi, dword [esp + edx*4 + 0x88]
mov edx, 1
mov ecx, edi
call fcn.00443150
mov esi, eax
mov edx, 2
mov ecx, edi
mov dword [esp + 0x30], esi
call fcn.00443150
mov dword [esp + 0x34], eax
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x20]
cmp esi, eax
mov byte [esp + 0x80], 0
mov ebp, eax
jbe 0x46b911
call fcn.0048c48f
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, eax
jbe 0x46b911
call fcn.0048c48f
push 0
lea eax, [esp + 0x7c]
push eax
mov edx, ebp
mov ecx, esi
lea ebx, [esp + 0x20]
mov dword [esp + 0x7c], esi
call fcn.0044f1a0
mov ebp, dword [esp + 0x20]
cmp dword [esp + 0x1c], ebp
mov esi, eax
jbe 0x46b93a
call fcn.0048c48f
test ebx, ebx
je 0x46b946
lea ecx, [esp + 0x18]
cmp ebx, ecx
je 0x46b94b
call fcn.0048c48f
cmp esi, ebp
je 0x46babf
test ebx, ebx
jne 0x46b95c
call fcn.0048c48f
cmp esi, dword [ebx + 8]
jb 0x46b966
call fcn.0048c48f
mov edx, dword [esi]
cmp edx, dword [esp + 0x30]
jne 0x46babf
mov eax, dword [esi + 4]
cmp eax, dword [esp + 0x34]
jne 0x46babf
mov eax, edi
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46b9a0
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x58]
call fcn.004545a0
mov byte [esp + 0x6c], 0
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x44]
push edx
add ecx, 0x204
mov byte [esp + 0x18dc], 1
call fcn.0045cf10
mov edx, 0x10
cmp dword [esp + 0x68], edx
mov byte [esp + 0x18d4], 0
jb 0x46ba47
mov eax, dword [esp + 0x54]
test eax, eax
je 0x46ba47
mov ecx, dword [0x4df4cc]
test ecx, ecx
mov dword [esp + 0x94], edx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], str.d:BuildServer1work_repair_241core_repository_branches_repair_241BlizzardCoreIncludeBlizzard_Sys_Allocator_STL.h
mov dword [esp + 0xb0], 0x5a
mov dword [esp + 0xb4], 0x4a8994
je 0x46ba47
mov eax, dword [ecx + 0x10]
lea edx, [esp + 0x94]
call eax
mov ebp, dword [esp + 0x14]
jmp 0x46ba50
cmp esi, dword [ebx + 8]
jb 0x46ba5a
call fcn.0048c48f
cmp byte [esi + 8], 0
jne 0x46ba71
sub ebp, 1
cmp esi, dword [ebx + 8]
jb 0x46ba6d
call fcn.0048c48f
mov byte [esi + 8], 1
cmp esi, dword [ebx + 8]
jb 0x46ba7b
call fcn.0048c48f
mov edi, dword [esp + 0x20]
add esi, 0x10
cmp dword [esp + 0x1c], edi
jbe 0x46ba8d
call fcn.0048c48f
lea ecx, [esp + 0x18]
mov eax, ebx
cmp eax, ecx
je 0x46ba9c
call fcn.0048c48f
cmp esi, edi
je 0x46babb
cmp esi, dword [ebx + 8]
jb 0x46baaa
call fcn.0048c48f
mov edx, dword [esi]
cmp edx, dword [esp + 0x30]
jne 0x46babb
mov eax, dword [esi + 4]
cmp eax, dword [esp + 0x34]
je 0x46ba50
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, 3
mov dword [esp + 0x10], eax
jb 0x46b8b0
mov edx, dword [0x4e904c]
mov ecx, dword [0x4e9048]
mov eax, dword [0x4e9050]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x44], edx
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x44], ecx
mov ecx, dword [0x4e9054]
mov dword [esp + 0x4c], eax
push 0x10
lea eax, [esp + 0x48]
mov dword [esp + 0x54], ecx
push eax
mov edx, str._listfile_
mov ecx, ebp
call fcn.00464270
cmp eax, 1
jne 0x46be8c
mov edi, dword [esp + 0x38]
mov edx, dword [edi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x30]
xor esi, esi
push eax
mov ecx, edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call edx
test al, al
jne 0x46bb44
or ebx, 0xffffffff
jmp 0x46bb48
mov ebx, dword [esp + 0x30]
cmp ebx, 0xffffffff
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebx
je 0x46be85
xor ebp, ebp
xor ecx, ecx
test ebx, ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x10], ecx
lea esi, [esp + 0xcc]
jbe 0x46be81
cmp ebp, ecx
jae 0x46be38
lea esp, [esp]
mov ecx, dword [esp + 0x2c]
mov eax, ecx
and eax, 0xfff
mov al, byte [esp + eax + 0x8cc]
add ecx, 1
cmp al, 0xd
mov dword [esp + 0x2c], ecx
jg 0x46be02
je 0x46bbab
cmp al, 0xa
jne 0x46be02
lea ecx, [esp + 0xcc]
cmp esi, ecx
je 0x46be12
mov edx, 1
mov byte [esi], 0
call fcn.00443150
mov edx, 2
lea ecx, [esp + 0xcc]
mov ebx, eax
call fcn.00443150
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x20]
cmp esi, eax
mov dword [esp + 0x78], ebx
mov byte [esp + 0x80], 0
mov edi, eax
jbe 0x46bc12
call fcn.0048c48f
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, eax
jbe 0x46bc12
call fcn.0048c48f
push 0
lea edx, [esp + 0x7c]
lea eax, [esp + 0x1c]
push edx
mov edx, edi
mov ecx, esi
mov ebp, eax
mov dword [esp + 0x94], esi
call fcn.0044f1a0
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x1c], edi
mov esi, eax
jbe 0x46bc40
call fcn.0048c48f
test ebp, ebp
je 0x46bc4c
lea eax, [esp + 0x18]
cmp ebp, eax
je 0x46bc51
call fcn.0048c48f
cmp esi, edi
je 0x46bdc4
test ebp, ebp
jne 0x46bc62
call fcn.0048c48f
cmp esi, dword [ebp + 8]
jb 0x46bc6c
call fcn.0048c48f
mov ecx, dword [esi]
cmp ecx, ebx
jne 0x46bdc4
mov edx, dword [esi + 4]
cmp edx, dword [esp + 0x74]
jne 0x46bdc4
lea eax, [esp + 0xcc]
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46bca2
sub eax, edx
push eax
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x58]
call fcn.004545a0
mov byte [esp + 0x6c], 1
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x44]
push edx
add ecx, 0x204
mov byte [esp + 0x18dc], 2
call fcn.0045cf10
mov edx, 0x10
cmp dword [esp + 0x68], edx
mov byte [esp + 0x18d4], 0
jb 0x46bd50
mov eax, dword [esp + 0x54]
test eax, eax
je 0x46bd50
mov ecx, dword [0x4df4cc]
test ecx, ecx
mov dword [esp + 0x94], edx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], str.d:BuildServer1work_repair_241core_repository_branches_repair_241BlizzardCoreIncludeBlizzard_Sys_Allocator_STL.h
mov dword [esp + 0xb0], 0x5a
mov dword [esp + 0xb4], 0x4a8994
je 0x46bd50
mov eax, dword [ecx + 0x10]
lea edx, [esp + 0x94]
call eax
cmp esi, dword [ebp + 8]
jb 0x46bd5a
call fcn.0048c48f
cmp byte [esi + 8], 0
jne 0x46bd73
sub dword [esp + 0x14], 1
cmp esi, dword [ebp + 8]
jb 0x46bd6f
call fcn.0048c48f
mov byte [esi + 8], 1
cmp esi, dword [ebp + 8]
jb 0x46bd7d
call fcn.0048c48f
mov edi, dword [esp + 0x20]
add esi, 0x10
cmp dword [esp + 0x1c], edi
jbe 0x46bd8f
call fcn.0048c48f
lea ecx, [esp + 0x18]
mov eax, ebp
cmp eax, ecx
je 0x46bd9e
call fcn.0048c48f
cmp esi, edi
je 0x46bdf9
cmp esi, dword [ebp + 8]
jb 0x46bdac
call fcn.0048c48f
mov edx, dword [esi]
cmp edx, ebx
jne 0x46bdf9
mov eax, dword [esi + 4]
cmp eax, dword [esp + 0x74]
je 0x46bd50
lea esi, [esp + 0xcc]
jmp 0x46be12
lea ecx, [esp + 0xcc]
push ecx
lea edx, [esp + 0x4d0]
push str.Listfile_references_unknown_file___s___n
push edx
call fcn.0044aaf0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x46bdf9
call fcn.0048e36d
add eax, 0x40
push eax
push esi
call fcn.0048e22b
add esp, 8
lea esi, [esp + 0xcc]
jmp 0x46be12
mov byte [esi], al
add esi, 1
lea eax, [esp + 0x4cc]
cmp esi, eax
jae 0x46be2a
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x2c], ecx
jb 0x46bb80
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x2c]
jmp 0x46be34
mov ebx, dword [esp + 0x3c]
mov ebp, ebx
mov dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 0x1000]
mov dword [esp + 0x10], eax
cmp ebx, eax
lea eax, [esp + 0x30]
jb 0x46be4e
lea eax, [esp + 0x10]
mov edi, dword [eax]
cmp edi, ecx
jbe 0x46be7d
mov edx, edi
sub edx, ecx
mov ecx, dword [esp + 0x38]
push 0
push edx
lea edx, [esp + 0x8d4]
call fcn.0046a240
test al, al
je 0x46be7d
cmp ebp, ebx
mov ecx, edi
mov dword [esp + 0x10], ecx
jb 0x46bb74
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x28]
mov ecx, edi
call fcn.0044c550
cmp dword [esp + 0x14], 0
pop edi
je 0x46bed1
lea eax, [ebp + 0x84]
push eax
lea ecx, [esp + 0x4cc]
push str.Archive___s__has_an_incomplete_listfile__n
push ecx
call fcn.0044aaf0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x46bec8
call fcn.0048e36d
add eax, 0x40
push eax
push esi
call fcn.0048e22b
add esp, 8
mov byte [ebp + 0x210], 0
jmp 0x46bed8
mov byte [ebp + 0x210], 1
mov eax, dword [esp + 0x18]
test eax, eax
mov edx, dword [esp + 0x24]
mov bl, byte [edx + 0x210]
pop ebp
je 0x46bef4
push eax
call fcn.00409f10
add esp, 4
mov ecx, dword [esp + 0x18c4]
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c8
ret