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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x53d010]
xor eax, ebp
mov dword [esp + 0x20], eax
mov dword [esp + 8], ecx
mov ebx, dword [ecx + 0x28]
cmp byte [ebx + 0x78], 0
jne 0x47a65a
mov eax, dword [ebx]
mov edi, dword [eax + 0x1c]
cmp edi, 0x47c330
jne 0x47a62d
cmp dword [ebx + 0xb0], 0
je 0x47a63c
cmp byte [ebx + 0xe4], 0
jne 0x47a63c
mov esi, dword [ebx + 0xbc]
mov ecx, ebx
call fcn.0047a100
mov edi, eax
add edi, esi
mov eax, dword [ebx + 0xb4]
mov esi, dword [ebx + 0xb8]
cmp eax, edi
cmovb edi, eax
mov eax, dword [ebx + 0xbc]
cmp edi, eax
cmovbe edi, eax
sub esi, eax
mov ecx, ebx
call fcn.0047a170
add eax, esi
add eax, edi
mov edi, dword [ebx + 0xa0]
mov ecx, dword [ebx + 0xb0]
cmp ecx, eax
cmovb eax, ecx
mov esi, 0x100
cmp eax, 0x100
cmovb esi, eax
sub edi, dword [ebx + 0x9c]
sar edi, 2
sub edi, dword [ebx + 0xd0]
cmp esi, edi
ja 0x47a858
cmp esi, edi
jne 0x47a596
mov eax, dword [ebx + 0xa0]
sub eax, dword [ebx + 0x9c]
cmp eax, 0x400
je 0x47a596
cmp dword [ebx + 0xd0], 0
je 0x47a9cd
lea edi, [ebx + 0x1c]
mov ecx, edi
call fcn.004826f0
test al, al
jne 0x47a5b2
mov eax, dword [ebx + 0xb8]
cmp eax, dword [ebx + 0xb0]
jae 0x47a60d
mov word [ebx + 0x3c], 0
cmp byte [ebx + 0xd8], 0
jne 0x47a63c
mov esi, dword [ebx + 0xbc]
mov ecx, ebx
call fcn.0047a100
add eax, esi
cmp eax, dword [ebx + 0xb4]
ja 0x47aa7a
mov esi, dword [ebx + 0xb8]
mov ecx, ebx
call fcn.0047a100
mov edi, eax
mov ecx, ebx
call fcn.0047a170
add edi, esi
add eax, edi
inc eax
cmp eax, dword [ebx + 0xb0]
jbe 0x47a63c
cmp dword [ebx + 0xc0], 0
jle 0x47a63c
jmp 0x47aa87
mov ecx, edi
call fcn.00482690
movzx esi, byte [eax]
mov ecx, edi
call fcn.00482690
movzx eax, byte [eax + 1]
shl eax, 8
or eax, esi
mov word [ebx + 0x3c], ax
jmp 0x47a5b8
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
push dword [ebp + 0xc]
call edi
mov eax, dword [esp + 8]
mov edi, dword [eax + 0x28]
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x10], 0
jne 0x47a945
cmp dword [esi + 0x20], 0
jne 0x47a945
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ecx, 0xc8
mov edi, dword [esp + 8]
add ecx, dword [edi + 0x28]
call fcn.00483550
cmp eax, esi
je 0x47aaff
mov ecx, esi
lea esi, [esp + 0x18]
push esi
call fcn.004819e0
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x47aaff
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx + 0xa0]
sub eax, dword [ecx + 0x9c]
sar eax, 2
sub eax, dword [ecx + 0xd0]
cmp eax, dword [ecx + 0xb0]
ja 0x47a8ea
xor eax, eax
dec eax
lea esi, [esp + 0x18]
mov dword [esi], eax
mov dword [esi + 4], eax
mov ecx, esi
call fcn.0047e7e0
cmp dword [esi], 0
jne 0x47aadf
mov bl, 0xff
lea esi, [esp + 0x10]
mov ecx, dword [edi + 0x28]
add ecx, 0x1c
call fcn.004826f0
test al, al
jne 0x47a7fa
mov ecx, dword [edi + 0x28]
add ecx, 0x1c
call fcn.00482690
movzx ebx, byte [eax]
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + 4]
push ebx
call fcn.0047c930
test al, al
je 0x47a7fa
mov ecx, dword [edi + 0x28]
test bl, bl
je 0x47a7d6
push dword [ebp + 0xc]
push esi
call fcn.0047a350
lea ecx, [esp + 0x18]
push esi
call fcn.0047e8f0
mov ecx, esi
call fcn.0047e850
cmp dword [esp + 0x18], 0
je 0x47a6d6
mov edi, dword [edi + 0x28]
lea eax, [edi + 0xb8]
mov dword [esp], eax
inc dword [edi + 0xb8]
test bl, bl
je 0x47a7ed
lea esi, [edi + 0x1c]
mov ecx, esi
call fcn.004826f0
test al, al
jne 0x47a770
mov eax, dword [esp]
mov eax, dword [eax]
cmp eax, dword [edi + 0xb0]
jae 0x47a831
mov word [edi + 0x3c], 0
movzx eax, bl
or eax, 0x100
mov ecx, dword [esp + 8]
mov word [ecx + 0x18], ax
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + 9]
and eax, 0x7f
or eax, 0x100
mov word [ecx + 0x1a], ax
mov esi, dword [ecx + 0x28]
cmp byte [esi + 0x78], 0
jne 0x47ab29
mov ebx, dword [ebp + 8]
mov ecx, ebx
lea eax, [esp + 0x18]
push eax
call fcn.0047e820
lea ecx, [esp + 0x18]
call fcn.0047e850
mov ecx, dword [esp + 0x20]
xor ecx, ebp
call fcn.0049b483
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov eax, dword [ecx + 0xbc]
cmp eax, dword [ecx + 0xb4]
jb 0x47a716
jmp 0x47aaf8
inc dword [edi + 0xbc]
xor ebx, ebx
jmp 0x47a751
cmp dword [esp + 0x18], 0
jne 0x47a737
mov ecx, 0xc8
add ecx, dword [edi + 0x28]
push dword [ebp + 0x10]
call fcn.00482f40
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + 0xd4]
call fcn.00483570
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0
call fcn.0047e800
jmp 0x47a7b6
mov ecx, esi
call fcn.00482690
movzx eax, byte [eax]
mov dword [esp], eax
mov ecx, esi
call fcn.00482690
movzx eax, byte [eax + 1]
shl eax, 8
add eax, dword [esp]
mov word [edi + 0x3c], ax
jmp 0x47a776
xor eax, eax
mov ecx, esi
sub ecx, edi
cmovb ecx, eax
lea eax, [ebx + 0xc8]
mov dword [esp], eax
mov eax, dword [ebp + 0xc]
add eax, 0x14
mov dword [esp + 0xc], eax
xor eax, eax
inc eax
cmp ecx, 2
sbb eax, 0xffffffff
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xa0]
sub eax, dword [ebx + 0x9c]
cmp eax, 0x400
je 0x47a89d
cmp dword [ebx + 0xd0], 0
je 0x47a8da
mov ecx, dword [esp]
call fcn.00483130
test eax, eax
je 0x47a8cd
xor ecx, ecx
inc ecx
lock xadd dword [eax + 4], ecx
cmp ecx, 0x7fffffff
je 0x47ab42
mov dword [esp + 0x18], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x10], 0
jne 0x47a914
mov dword [edx + 0x10], eax
mov eax, dword [esp + 4]
dec eax
je 0x47a572
jmp 0x47a87d
sar eax, 2
cmp eax, dword [ebx + 0xb0]
jae 0x47a89d
jmp 0x47aa9a
add ecx, 0xc8
push dword [ebp + 0x10]
call fcn.00482f40
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + 0xd4]
call fcn.00483570
mov ecx, ebx
push 0
call fcn.0047e800
jmp 0x47a7bf
mov ecx, dword [edx + 0x18]
cmp ecx, dword [edx + 0x1c]
jb 0x47ab45
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
call fcn.00443b80
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], eax
test ecx, ecx
mov eax, dword [esp + 4]
je 0x47a8d1
jmp 0x47ab8c
add edi, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, esi
call fcn.00443870
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x10], 0
test ecx, ecx
je 0x47a96e
lock dec dword [ecx + 4]
je 0x47ab74
mov eax, esi
mov esi, dword [esi + 0x14]
mov ebx, dword [eax + 0x18]
cmp ebx, esi
jne 0x47aa20
mov dword [eax + 0x18], esi
mov ecx, dword [eax + 0x20]
mov dword [eax + 0x20], 0
test ecx, ecx
mov esi, eax
je 0x47a99b
lock dec dword [ecx + 4]
je 0x47ab80
mov eax, esi
mov esi, dword [esi + 0x24]
mov ebx, dword [eax + 0x28]
cmp ebx, esi
jne 0x47aa4d
mov dword [eax + 0x28], esi
mov byte [eax + 0x30], 0
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x47a65a
mov ecx, edi
call fcn.00468af0
jmp 0x47a65a
sar eax, 2
cmp eax, dword [ebx + 0xb0]
jae 0x47a596
lea edi, [ebx + 0xc8]
lea esi, [esp + 0x18]
mov dword [esi], 0xffffffff
mov ecx, ebx
push dword [ebp + 0xc]
push esi
call fcn.004432a0
mov ecx, edi
push dword [esi]
call fcn.00482f40
mov ecx, dword [esi]
test ecx, ecx
je 0x47a596
lock dec dword [ecx + 4]
jne 0x47a596
push 1
call fcn.0050b670
jmp 0x47a596
add ebx, 0xfffffffc
test ebx, ebx
je 0x47aba2
mov ecx, dword [ebx]
test ecx, ecx
je 0x47aa3b
lock dec dword [ecx + 4]
je 0x47abb0
lea eax, [ebx - 4]
cmp ebx, esi
mov ebx, eax
mov eax, dword [ebp + 0xc]
je 0x47a97e
jmp 0x47aa23
add ebx, 0xfffffffc
test ebx, ebx
je 0x47aba2
mov ecx, dword [ebx]
test ecx, ecx
je 0x47aa68
lock dec dword [ecx + 4]
je 0x47abbc
lea eax, [ebx - 4]
cmp ebx, esi
mov ebx, eax
mov eax, dword [ebp + 0xc]
je 0x47a9ab
jmp 0x47aa50
cmp dword [ebx + 0xc4], 0
jle 0x47a5dc
mov al, 1
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0x30], al
mov byte [ebx + 0xd8], al
jmp 0x47a63c
mov dword [esp + 0x18], 0xffffffff
mov ecx, ebx
push dword [ebp + 0xc]
lea eax, [esp + 0x1c]
push eax
call fcn.004432a0
mov ecx, dword [esp]
push dword [esp + 0x18]
call fcn.00482f40
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x47a89d
lock dec dword [ecx + 4]
jne 0x47a89d
push 1
call fcn.0050b670
jmp 0x47a89d
mov edi, dword [edi + 0x28]
lea eax, [edi + 0xb8]
mov dword [esp], eax
inc dword [edi + 0xb8]
mov bl, 0xff
jmp 0x47a751
xor ebx, ebx
jmp 0x47a7fa
mov ecx, edi
push dword [ebp + 0x10]
call fcn.00442fb0
test al, al
je 0x47a906
sub esp, 8
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x10]
call fcn.005019a0
jmp 0x47a906
mov eax, dword [esi]
mov ebx, dword [eax + 0x1c]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
push dword [ebp + 0xc]
call ebx
jmp 0x47a7a7
int3
test ecx, ecx
je 0x47ab59
mov dword [ecx], eax
add ecx, 4
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], ecx
jmp 0x47a8cd
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x28
push str....._third_partylibc_srcinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s_n
call fcn.004c59e0
push 1
call fcn.0050b670
jmp 0x47a96e
push 1
call fcn.0050b670
jmp 0x47a99b
lock dec dword [ecx + 4]
jne 0x47a8d1
push 1
call fcn.0050b670
jmp 0x47a8cd
push str.null_pointer_given_to_destroy_at
push str.__loc___nullptr
push 0x44
jmp 0x47ab65
push 1
call fcn.0050b670
jmp 0x47aa3b
push 1
call fcn.0050b670
jmp 0x47aa68