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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [esp + 0x98], eax
mov esi, dword [ecx + 0x10]
lea eax, [esi + 1]
cmp eax, dword [ecx + 0xc]
ja 0x47d1c0
mov edx, dword [ecx + 8]
mov dword [ecx + 0x10], eax
cmp byte [edx + esi], 0x7b
jne 0x47d1c2
lea edi, [ecx + 0x14]
mov edx, edi
shr edx, 0xe
mov eax, edi
shr eax, 0x13
mov dword [esp + 0x20], eax
mov eax, dword [eax*4 + 0x5fc3d8]
mov dword [esp + 0x24], edx
bt eax, edx
mov dword [esp + 0x18], ecx
mov esi, dword [ecx + 4]
jb 0x47d209
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x6043d8], 1
mov eax, dword [edi]
inc eax
mov dword [esp + 0x1c], edi
mov dword [edi], eax
cmp eax, esi
jae 0x47d217
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.004e5cb0
mov edi, eax
mov eax, dword [ebp + 8]
add eax, 4
mov dword [esp + 0x10], eax
xor ebx, ebx
xor edx, edx
xor eax, eax
cmp edi, 4
mov dword [esp + 0xc], edx
jne 0x47cead
mov dword [esp + 8], eax
lea eax, [esp + 0x7c]
pcmpeqd xmm0, xmm0
movdqu xmmword [eax - 4], xmm0
mov dword [eax + 0xc], 0xffffffff
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov byte [esp + 0x78], 0
mov ecx, esi
lea eax, [esp + 0x70]
push eax
call fcn.004e5e10
test al, al
je 0x47d02f
mov ecx, esi
call fcn.004e5cb0
cmp eax, 0xa
jne 0x47d056
mov eax, dword [esi + 0x10]
inc eax
cmp eax, dword [esi + 0xc]
ja 0x47cc06
mov dword [esi + 0x10], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x5c], xmm0
movdqa xmmword [esp + 0x50], xmm0
mov ecx, esi
call fcn.004e5cb0
mov ecx, esi
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0047ca80
cmp byte [esp + 0x50], 0
je 0x47d092
cmp byte [esp + 0x78], 0
jne 0x47d0c0
lea ecx, [esp + 0x40]
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.0053fe30
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
cmp edx, ecx
jb 0x47ce60
mov esi, edx
sub esi, ebx
sar esi, 5
lea eax, [esi + 1]
cmp eax, 0x8000000
jae 0x47d1b6
sub ecx, ebx
mov edx, ecx
sar edx, 4
cmp edx, eax
cmovbe edx, eax
cmp ecx, 0x7fffffe0
mov eax, 0x7ffffff
cmovae edx, eax
test edx, edx
mov dword [esp + 0x28], edx
je 0x47d1af
cmp edx, 0x8000000
jae 0x47d1bb
mov eax, edx
shl eax, 5
push eax
call fcn.0050d5de
add esp, 4
mov edi, eax
mov dword [esp + 4], ebx
shl esi, 5
mov ebx, edi
add ebx, esi
je 0x47d014
mov ecx, dword [esp + 0x48]
mov dword [ebx + 8], ecx
movq xmm0, qword [esp + 0x40]
movq qword [ebx], xmm0
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], ecx
lea ecx, [edi + esi]
add ecx, 0xc
lea eax, [esp + 0x54]
push eax
call fcn.004db5e0
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 4]
je 0x47cdb5
lea ecx, [edi + esi]
add ecx, 0xffffffec
mov dword [esp + 0x34], ecx
mov dword [esp + 8], edi
lea ecx, [edi + esi - 0x20]
mov dword [esp + 0x30], ecx
add eax, 0xffffffec
mov dword [esp + 0x2c], eax
xor ebx, ebx
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
add eax, ebx
je 0x47d014
lea eax, [edi + ebx]
add eax, 0xffffffe0
mov ecx, dword [esp + 0xc]
lea esi, [ecx + ebx - 0x20]
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
movq xmm0, qword [esi]
movq qword [eax], xmm0
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
mov eax, dword [esp + 0x34]
lea ecx, [eax + ebx]
mov eax, dword [esp + 0x2c]
add eax, ebx
push eax
call fcn.004db5e0
add ebx, 0xffffffe0
cmp esi, dword [esp + 4]
jne 0x47cd2d
add ebx, edi
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 4]
je 0x47cdb1
add eax, 0xffffffe0
test eax, eax
je 0x47d006
lea ecx, [eax + 0xc]
mov esi, eax
call fcn.004dc9b0
mov ecx, esi
cmp byte [esi + 0xb], 0
js 0x47d0e4
lea eax, [ecx - 0x20]
cmp ecx, dword [esp + 4]
jne 0x47cd8a
mov edi, dword [esp + 8]
mov eax, dword [esp + 0x28]
shl eax, 5
add edi, eax
mov dword [esp + 8], edi
mov edi, dword [esp + 0x14]
add edi, 0x20
mov eax, dword [esp + 4]
test eax, eax
je 0x47cdda
push eax
call fcn.0050d60e
add esp, 4
mov esi, dword [esp + 0x18]
mov eax, ebx
cmp ebx, edi
je 0x47d146
mov dword [esp + 0x14], edi
cmp byte [esp + 0x4b], 0
js 0x47d0f5
mov ecx, esi
call fcn.004e5cb0
mov dword [esp + 4], 0
cmp eax, 9
jne 0x47ce9e
mov eax, dword [esi + 0x10]
inc eax
cmp eax, dword [esi + 0xc]
ja 0x47ce1b
mov dword [esi + 0x10], eax
mov ecx, esi
call fcn.004e5cb0
cmp eax, 1
je 0x47d15f
mov edi, eax
cmp byte [esp + 0x50], 0
je 0x47ce3d
lea ecx, [esp + 0x54]
call fcn.004dc9b0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 8]
cmp byte [esp + 0x78], 0
jne 0x47d106
cmp dword [esp + 4], 0
je 0x47cba2
jmp 0x47cf98
test edx, edx
je 0x47d014
mov eax, dword [esp + 0x48]
mov dword [edx + 8], eax
movq xmm0, qword [esp + 0x40]
movq qword [edx], xmm0
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
lea ecx, [edx + 0xc]
lea eax, [esp + 0x54]
push eax
mov edi, edx
call fcn.004db5e0
add edi, 0x20
jmp 0x47cdde
mov edi, eax
xor eax, eax
inc eax
cmp edi, 1
je 0x47ce2d
jmp 0x47d170
cmp edi, 1
jne 0x47d25b
mov eax, dword [esi + 0x10]
inc eax
cmp eax, dword [esi + 0xc]
ja 0x47cec2
mov dword [esi + 0x10], eax
mov dword [esp + 4], ebx
cmp ebx, edx
je 0x47cf49
lea esi, [edx - 0x20]
cmp dword [esp + 4], esi
jae 0x47cf49
mov ebx, dword [esp + 4]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov edx, dword [esi + 8]
mov dword [ebx + 8], edx
mov edx, dword [ebx]
movq xmm0, qword [esi]
movq qword [ebx], xmm0
mov dword [esi], edx
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x70], xmm0
mov dword [esp + 0x80], 0xffffffff
lea edx, [ebx + 0xc]
mov dword [esp + 8], edx
lea ecx, [esp + 0x70]
push edx
call fcn.004db5e0
lea edi, [esi + 0xc]
mov ecx, dword [esp + 8]
push edi
call fcn.004db6a0
mov ecx, edi
lea edi, [esp + 0x70]
push edi
call fcn.004db6a0
mov ecx, edi
call fcn.004dc9b0
mov edx, dword [esp + 0xc]
add ebx, 0x20
add esi, 0xffffffe0
cmp ebx, esi
jb 0x47ced7
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
lea esi, [esp + 0x50]
mov ecx, esi
push eax
push edx
call fcn.0047da60
lea edi, [esp + 0x70]
mov ecx, edi
push esi
call fcn.00461e60
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov ecx, dword [esp + 0x10]
push edi
call fcn.004db5e0
mov ecx, edi
call fcn.004dc9b0
mov ecx, esi
call fcn.00461fa0
mov edx, dword [esp + 0xc]
test ebx, ebx
mov esi, dword [esp + 0x1c]
je 0x47cfd1
cmp edx, ebx
je 0x47cfc8
add edx, 0xffffffe0
test edx, edx
je 0x47d006
lea ecx, [edx + 0xc]
mov edi, edx
call fcn.004dc9b0
mov ecx, edi
cmp byte [edi + 0xb], 0
js 0x47d135
lea edx, [ecx - 0x20]
cmp ecx, ebx
jne 0x47cfa7
push ebx
call fcn.0050d60e
add esp, 4
dec dword [esi]
mov eax, dword [esp + 0x20]
mov eax, dword [eax*4 + 0x5fc3d8]
mov ecx, dword [esp + 0x24]
bt eax, ecx
jb 0x47d296
mov ecx, dword [esp + 0x98]
xor ecx, ebp
call fcn.0050dc12
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
push str.null_pointer_given_to_destroy_at
push str.__loc___nullptr
push 0x3f
jmp 0x47d020
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x23
push str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s
call fcn.0053fff0
mov eax, dword [ebp + 8]
mov byte [eax], 0
pxor xmm0, xmm0
mov eax, dword [esp + 0x10]
movdqu xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov edi, 4
xor eax, eax
inc eax
mov dword [esp + 4], eax
jmp 0x47d0b7
mov edi, eax
xor edx, edx
inc edx
mov dword [esi + 0x20], edx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x24], ecx
sub eax, dword [esi + 0x1c]
cmp eax, 2
mov dword [esp + 4], edx
cmovl eax, edx
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 8]
mov byte [eax], 0
pxor xmm0, xmm0
mov eax, dword [esp + 0x10]
movdqu xmmword [eax], xmm0
mov dword [eax + 0x10], 0
jmp 0x47d0b7
mov eax, dword [ebp + 8]
mov byte [eax], 0
pxor xmm0, xmm0
mov eax, dword [esp + 0x10]
movdqu xmmword [eax], xmm0
mov dword [eax + 0x10], 0
xor eax, eax
inc eax
mov dword [esp + 4], eax
mov edi, 0xa
mov edx, dword [esp + 0xc]
jmp 0x47ce41
lea ecx, [esp + 0x7c]
mov eax, dword [ecx + 8]
mov dword [esp + 0x48], eax
movq xmm0, qword [ecx]
movq qword [esp + 0x40], xmm0
xor eax, eax
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
jmp 0x47cc51
push dword [ecx]
call fcn.0050d60e
mov ecx, esi
add esp, 4
jmp 0x47cda8
push dword [esp + 0x40]
call fcn.0050d60e
add esp, 4
jmp 0x47cdf7
cmp byte [esp + 0x87], 0
jns 0x47ce50
push dword [esp + 0x7c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
call fcn.0050d60e
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
add esp, 4
jmp 0x47ce50
push dword [ecx]
call fcn.0050d60e
mov ecx, edi
add esp, 4
jmp 0x47cfc1
push str.back___called_on_an_empty_vector
push str._empty__
push 0x22a
push str....._buildtools_third_partylibc_trunkinclude_vector
jmp 0x47d025
xor edi, edi
inc edi
mov eax, 4
test byte [esi], 1
jne 0x47ce2d
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x24], ecx
sub eax, dword [esi + 0x1c]
cmp eax, 2
mov ecx, 1
cmovl eax, ecx
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 8]
mov byte [eax], 0
pxor xmm0, xmm0
mov eax, dword [esp + 0x10]
movdqu xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [esp + 4], ecx
jmp 0x47ce2d
xor edi, edi
jmp 0x47ccb8
call fcn.00522750
call fcn.0053f590
mov eax, esi
mov dword [ecx + 0x20], 3
mov edx, dword [ecx + 0x18]
mov dword [ecx + 0x24], edx
sub eax, dword [ecx + 0x1c]
xor edx, edx
inc edx
cmp eax, 2
cmovge edx, eax
mov dword [ecx + 0x28], edx
mov esi, dword [ebp + 8]
mov byte [esi], 0
pxor xmm0, xmm0
movdqu xmmword [esi + 4], xmm0
mov dword [esi + 0x14], 0
mov ecx, dword [esp + 0x98]
xor ecx, ebp
call fcn.0050dc12
mov eax, esi
jmp 0x47cffc
push edi
call fcn.004d10a0
add esp, 4
jmp 0x47cb74
mov edx, dword [esp + 0x18]
mov dword [edx + 0x20], 5
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
mov dword [edx + 0x24], eax
not ecx
add ecx, dword [edx + 0x10]
xor eax, eax
inc eax
cmp ecx, 2
cmovge eax, ecx
mov dword [edx + 0x28], eax
mov eax, dword [ebp + 8]
mov byte [eax], 0
pxor xmm0, xmm0
movdqu xmmword [eax + 4], xmm0
mov dword [eax + 0x14], 0
mov esi, dword [esp + 0x1c]
jmp 0x47cfd1
mov dword [esi + 0x20], 8
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x24], ecx
sub eax, dword [esi + 0x1c]
xor ecx, ecx
inc ecx
cmp eax, 2
cmovge ecx, eax
mov dword [esi + 0x28], ecx
mov eax, dword [ebp + 8]
mov byte [eax], 0
xorps xmm0, xmm0
mov eax, dword [esp + 0x10]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
jmp 0x47cf98
push esi
call fcn.004d11c0
add esp, 4
jmp 0x47cfeb