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

Disassembly:
sub esp, 0xa4
mov eax, dword [esp + 0xa8]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], ebp
jne 0x47ac58
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa4
ret
push eax
call fcn.0047bdf0
mov ebx, eax
add esp, 4
cmp ebx, ebp
jne 0x47ac74
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa4
ret
push 0x800
call fcn.00485c97
push 0x18
mov dword [esp + 0x20], eax
call fcn.00485c97
mov esi, eax
mov ecx, 6
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x38], esi
add eax, 4
push eax
call fcn.00477f70
mov dword [esi], eax
mov ecx, dword [ebx + 0x4c]
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x38]
push ecx
mov ecx, dword [ebx + 0x34]
push edx
push eax
push ecx
call fcn.00478120
push ebp
push ebp
mov dword [esi + 0xc], eax
call fcn.00478220
mov dword [esi + 0x10], eax
mov edx, dword [ebx + 0x30]
lea eax, [edx*4 + 4]
push eax
call fcn.00485c97
mov edi, eax
xor eax, eax
mov dword [esi + 8], edi
mov ecx, dword [ebx + 0x30]
add esp, 0x28
lea ecx, [ecx*4 + 4]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 0x30]
test eax, eax
jle 0x47ae76
mov eax, dword [ebx + 0x6c]
mov edx, dword [esp + 0xc0]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [eax + ebp*4]
push edx
mov edx, dword [ecx + 0x6c]
push edx
call fcn.0047b6a0
add esp, 0xc
test eax, eax
jle 0x47adae
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx + 0x6c]
mov eax, dword [edx]
mov edx, dword [ecx + ebp*4]
push eax
lea ecx, [esp + 0x78]
mov eax, dword [edx + 8]
push eax
push str.stream_u_rule_u_
push ecx
call fcn.00486a77
lea edi, [esp + 0x84]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0xbc]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [eax]
mov edx, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x2c]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
add ecx, 4
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
jne 0x47ad3c
mov esi, dword [esp + 0x30]
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ecx + ebp*4]
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x47ac67
mov eax, dword [eax + 0x5c]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
push ecx
call fcn.0047ab30
mov ecx, dword [ebx + 0x6c]
mov edx, dword [esp + 0x28]
push edx
push eax
mov ecx, dword [ecx + ebp*4]
mov eax, dword [ecx + 0x50]
mov edx, dword [ecx + 0x48]
push eax
mov eax, dword [ecx + 0x44]
push edx
mov edx, dword [ecx + 0x40]
push eax
mov eax, dword [ecx + 0x20]
push edx
mov edx, dword [ecx + 0x30]
push eax
mov eax, dword [ecx + 0x34]
push edx
mov edx, dword [ecx + 0x28]
push eax
mov eax, dword [ecx + 0x2c]
mov cx, word [ecx + 8]
push edx
push eax
push ecx
call fcn.00478020
mov edx, dword [esi + 8]
add esp, 0x40
mov dword [edx + ebp*4], eax
mov eax, dword [ebx + 0x6c]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax + ebp*4]
mov ecx, dword [eax + 0x44]
cmp edx, ecx
jg 0x47ae2b
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
add edx, ecx
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x28]
add edi, edx
mov edx, dword [esp + 0x28]
cmp edx, ecx
mov dword [esp + 0x24], edi
jg 0x47ae54
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x30]
test ecx, ecx
je 0x47ae66
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x30]
inc ebp
cmp ebp, eax
jl 0x47ad0d
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx]
test edx, edx
je 0x47aeb2
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x47aeb2
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + edx - 1], 0x2c
jne 0x47aeb2
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ecx + edx - 1], al
mov dx, word [ebx + 0x28]
mov ax, word [ebx + 0x30]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x30]
push 0
push 0
push 0
push ecx
mov ecx, dword [esp + 0x3c]
push 0
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
call fcn.00477fb0
push esi
mov dword [esi + 4], eax
call fcn.00478260
mov eax, dword [esp + 0x48]
push eax
call fcn.00485bae
add esp, 0x34
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret