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

Disassembly:
sub esp, 0x54
push esi
lea eax, [esp + 4]
push 0x14000
lea ecx, [esp + 0x28]
xor esi, esi
push eax
push ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], esi
call sub.CRLUTL110.dll__MEMMANAllocLock_12
test eax, eax
jne 0x47a8dd
pop esi
add esp, 0x54
ret 0x2c
lea edx, [esp + 0x18]
push 0x48000
lea eax, [esp + 0x30]
push edx
push eax
call sub.CRLUTL110.dll__MEMMANAllocLock_12
test eax, eax
jne 0x47a908
lea ecx, [esp + 0x24]
push ecx
call sub.CRLUTL110.dll__MEMMANUnlockFree_4
xor eax, eax
pop esi
add esp, 0x54
ret 0x2c
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x18]
push ebx
push ebp
mov ebp, dword [eax]
add edx, 0x40000
cmp ebp, esi
push edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebp
je 0x47abef
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0x6c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
push edi
push eax
push ebx
push ebp
push esi
push ecx
call fcn.00495120
add esp, 0x20
test eax, eax
je 0x47add0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47abfb
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x6c]
push eax
push edi
push ecx
push ebx
push ebp
push esi
push edx
call fcn.004a6270
add esp, 0x20
test eax, eax
je 0x47add0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x34]
push 0
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x7c]
push ecx
push edi
push edx
push ebx
push ebp
push esi
push eax
call fcn.0047bc30
add esp, 0x30
test eax, eax
je 0x47add0
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x88]
push eax
push edi
push ecx
push ebx
push ebp
push esi
push edx
call fcn.0047b410
add esp, 0x3c
test eax, eax
je 0x47add0
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
lea eax, [esp + 0x54]
xor ebx, ebx
push eax
push edi
push ecx
push edx
mov dword [esp + 0x30], ebx
call fcn.0047b360
add esp, 0x10
test ebp, ebp
jle 0x47ab5b
mov eax, dword [esp + 0x90]
test eax, eax
je 0x47ab5b
mov ebp, ebx
mov eax, dword [esp + 0x14]
inc ebp
cmp ebp, eax
jge 0x47aa7a
mov eax, dword [esp + 0x6c]
test byte [eax + ebp], 0xc0
jne 0x47aa67
mov edx, dword [esp + 0x6c]
dec ebp
mov eax, dword [esp + 0x68]
mov ecx, ebp
sub ecx, ebx
lea edi, [ebx + edx]
lea eax, [eax + ebx*8]
mov dword [esp + 0x40], ebp
lea esi, [ecx + 1]
lea ecx, [esp + 0x44]
push ecx
push esi
push edi
push eax
mov dword [esp + 0x3c], eax
call fcn.0047b360
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x64]
add esp, 0x10
cmp edx, eax
jle 0x47ab3e
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x5c]
cmp eax, ecx
jge 0x47ab3e
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x58]
cmp ecx, eax
jle 0x47ab3e
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x60]
cmp edx, eax
jge 0x47ab3e
xor eax, eax
test esi, esi
jle 0x47ab2c
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x88]
mov ebp, dword [ecx]
add ecx, 8
mov ebx, dword [edx]
mov edx, dword [esp + 0x80]
add ebx, eax
mov dword [edx + ebx*8], ebp
mov ebp, dword [ecx - 4]
mov dword [edx + ebx*8 + 4], ebp
mov edx, dword [esp + 0x88]
mov bl, byte [edi + eax]
mov ebp, dword [esp + 0x84]
mov edx, dword [edx]
add edx, eax
inc eax
cmp eax, esi
mov byte [edx + ebp], bl
jl 0x47aae6
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x88]
mov ecx, ebp
sub ecx, ebx
mov edx, dword [eax]
inc ecx
add edx, ecx
mov dword [eax], edx
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x6c]
lea ebx, [ebp + 1]
cmp ebx, eax
mov dword [esp + 0x20], ebx
mov ebp, eax
jl 0x47aa56
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x47adc8
mov ecx, dword [esp + 0x18]
xor edx, edx
test ecx, ecx
jle 0x47aba6
xor eax, eax
mov ecx, dword [esp + 0x10]
inc edx
mov byte [eax + ecx + 0x2d], 0
mov ecx, dword [esp + 0x10]
mov byte [eax + ecx + 0x2f], 0
mov ecx, dword [esp + 0x10]
mov byte [eax + ecx + 0x31], 0
mov ecx, dword [esp + 0x10]
mov byte [eax + ecx + 0x33], 0
mov ecx, dword [esp + 0x18]
add eax, 0x50
cmp edx, ecx
jl 0x47ab76
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x38]
push esi
push eax
push edx
mov edx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x94]
push edi
push edx
push ecx
push ebp
push esi
push eax
call fcn.0047ae10
add esp, 0x38
test eax, eax
je 0x47add0
jmp 0x47adc8
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x74]
test ebp, ebp
jle 0x47ac18
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x1c]
push edx
push ebx
push ebp
push esi
push eax
call fcn.004a5750
add esp, 0x14
test eax, eax
je 0x47ac24
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x47adbb
mov ecx, dword [esp + 0x84]
test edi, edi
jle 0x47ac64
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
mov esi, ebx
mov dword [esp + 0x2c], edi
sub esi, eax
sub edx, ecx
mov ebx, dword [esi + eax]
mov dword [eax], ebx
mov ebx, dword [esi + eax + 4]
mov dword [eax + 4], ebx
mov bl, byte [edx + ecx]
mov byte [ecx], bl
mov ebx, dword [esp + 0x2c]
add eax, 8
inc ecx
dec ebx
mov dword [esp + 0x2c], ebx
jne 0x47ac44
mov ecx, dword [esp + 0x88]
xor ebx, ebx
test ebp, ebp
mov dword [ecx], edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
jle 0x47ad6e
mov eax, dword [esp + 0x90]
test eax, eax
je 0x47ad6e
mov ebp, ebx
mov eax, dword [esp + 0x14]
inc ebp
cmp ebp, eax
jge 0x47aca3
mov edx, dword [esp + 0x6c]
test byte [edx + ebp], 0xc0
jne 0x47ac90
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0x1c]
dec ebp
lea eax, [eax + ebx*8]
push ecx
mov dword [esp + 0x30], eax
push eax
mov eax, dword [esp + 0x7c]
push edi
push edx
push eax
mov dword [esp + 0x30], 1
call fcn.004a5750
add esp, 0x14
test eax, eax
jne 0x47acda
mov dword [esp + 0x1c], eax
jmp 0x47ad59
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x47ad59
mov ecx, ebp
xor eax, eax
sub ecx, ebx
lea esi, [ecx + 1]
test esi, esi
jle 0x47ad47
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x2c]
add ebx, edx
mov dword [esp + 0x40], ebx
mov edx, dword [esp + 0x88]
mov ebx, dword [ecx]
add ecx, 8
mov edi, dword [edx]
mov edx, dword [esp + 0x80]
add edi, eax
mov dword [edx + edi*8], ebx
mov ebx, dword [ecx - 4]
mov dword [edx + edi*8 + 4], ebx
mov edx, dword [esp + 0x88]
mov edi, dword [esp + 0x40]
mov edx, dword [edx]
mov bl, byte [edi + eax]
mov edi, dword [esp + 0x84]
add edx, eax
inc eax
cmp eax, esi
mov byte [edx + edi], bl
jl 0x47acfd
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x88]
mov ecx, ebp
sub ecx, ebx
mov edx, dword [eax]
inc ecx
add edx, ecx
mov dword [eax], edx
mov eax, dword [esp + 0x14]
lea ebx, [ebp + 1]
cmp ebx, eax
mov dword [esp + 0x20], ebx
mov ebp, eax
jl 0x47ac7f
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x47adc8
xor eax, eax
test edi, edi
jle 0x47adb1
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x74]
lea esi, [edx + ebp*8]
mov edx, dword [esp + 0x6c]
add edx, ebp
mov ebx, dword [ecx]
inc eax
mov dword [esi], ebx
mov ebx, dword [ecx + 4]
mov dword [esi + 4], ebx
mov ebx, dword [esp + 0x78]
add ecx, 8
add esi, 8
mov bl, byte [eax + ebx - 1]
cmp eax, edi
mov byte [edx + eax - 1], bl
jl 0x47ad90
mov eax, dword [esp + 0x70]
add ebp, edi
mov dword [eax], ebp
jmp 0x47adc8
mov ecx, dword [esp + 0x88]
mov dword [ecx], 0
mov dword [esp + 0x3c], 1
mov edx, dword [esp + 0x30]
push edx
call sub.CRLUTL110.dll__MEMMANUnlock_4
mov eax, dword [esp + 0x30]
push eax
call sub.CRLUTL110.dll__MEMMANFree_4
mov ecx, dword [esp + 0x38]
push ecx
call sub.CRLUTL110.dll__MEMMANUnlock_4
mov edx, dword [esp + 0x38]
push edx
call sub.CRLUTL110.dll__MEMMANFree_4
pop edi
pop ebp
mov eax, dword [esp + 0x34]
pop ebx
pop esi
add esp, 0x54
ret 0x2c