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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov edi, edx
sub esp, 0x3c
mov eax, dword [edx + 0x3c]
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x20], edx
mov eax, dword [esi + 0x74]
mov edx, dword [esi + 0x78]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov ebx, dword [esi + 0x18]
call fcn.00456ad6
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4749e0
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0x20]
jmp 0x474a00
mov edx, dword [edi + 0x3c]
mov dword [ebp - 0x1c], edx
test edx, edx
jne 0x474a03
mov eax, dword [edi + 0x4c]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
cmp eax, 1
je 0x474a03
mov dword [esp], eax
call fcn.00495cb8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.00496b42
cmp dword [ebp - 0x1c], 0
setne byte [ebp - 0x24]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x20], 0
sete al
and al, byte [ebp - 0x24]
mov byte [ebp - 0x20], al
je 0x474ad8
cmp dword [ebx + 0xc], 0
jne 0x474ad8
cmp dword [ebx + 0x14], 0
jne 0x474ad8
test byte [esi + 0x20], 2
jne 0x474ad8
cmp dword [ebp - 0x28], 1
jbe 0x474ab8
cmp dword [ebp - 0x28], 0x16
je 0x474ab8
mov edx, dword [ebp - 0x1c]
mov dword [esp], edx
call fcn.0049718e
mov dword [ebx + 0xc], eax
test eax, eax
jne 0x474a78
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov ax, 0x57b
call fcn.004734cf
jmp 0x474a99
call fcn.0044912d
mov dword [ebx + 0x14], eax
test eax, eax
jne 0x474aa1
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call fcn.00495d60
mov eax, str.creating_encoding_buffer
call fcn.0047376d
or eax, 0xffffffff
jmp 0x474c8b
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call fcn.00496630
cmp dword [esi + 0x74], 0x473511
jne 0x474ac8
mov dword [esi + 0x74], 0
cmp dword [esi + 0x78], 0x473511
jne 0x474ad8
mov dword [esi + 0x78], 0
test byte [esi + 0x20], 2
jne 0x474ba8
mov dword [esp + 8], str.__xml_version
mov dword [esp + 4], 0xe
mov dword [esp], ebx
call fcn.00477af8
mov eax, dword [edi + 0x38]
test eax, eax
je 0x474b12
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call fcn.0044b005
jmp 0x474b2a
mov dword [esp + 8], str._1.0_
mov dword [esp + 4], 5
mov dword [esp], ebx
call fcn.00477af8
cmp byte [ebp - 0x24], 0
je 0x474b5a
mov dword [esp + 8], str._encoding
mov dword [esp + 4], 0xa
mov dword [esp], ebx
call fcn.00477af8
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call fcn.0044b005
mov eax, dword [edi + 0x28]
test eax, eax
je 0x474b66
dec eax
jne 0x474b90
jmp 0x474b78
mov dword [esp + 8], str._standalone_no_
mov dword [esp + 4], 0x10
jmp 0x474b88
mov dword [esp + 8], str._standalone_yes_
mov dword [esp + 4], 0x11
mov dword [esp], ebx
call fcn.00477af8
mov dword [esp + 8], 0x656eb4
mov dword [esp + 4], 3
mov dword [esp], ebx
call fcn.00477af8
test byte [esi + 0x20], 8
jne 0x474bd3
mov dword [esp], edi
call fcn.00448741
test eax, eax
je 0x474bd3
mov edx, dword [eax + 0x34]
mov dword [esp + 4], edx
mov eax, dword [eax + 0x38]
mov dword [esp], eax
call fcn.004738ca
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x474bda
mov dword [ebp - 0x1c], 0
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x474c2d
mov dword [ebp - 0x24], edi
mov edi, ebx
mov ebx, ecx
mov dword [esi + 0x24], 0
cmp dword [ebp - 0x1c], 0
je 0x474c00
mov edx, ebx
mov eax, esi
call fcn.00473de9
jmp 0x474c09
mov edx, ebx
mov eax, esi
call fcn.00474c93
mov dword [esp + 8], 0x656dcb
mov dword [esp + 4], 1
mov dword [esp], edi
call fcn.00477af8
mov ebx, dword [ebx + 0x18]
test ebx, ebx
jne 0x474be8
mov ebx, edi
mov edi, dword [ebp - 0x24]
cmp dword [esi + 0x10], 0
je 0x474c39
mov edx, dword [ebp - 0x34]
mov dword [edi + 0x3c], edx
cmp byte [ebp - 0x20], 0
je 0x474c89
test byte [esi + 0x20], 2
jne 0x474c89
cmp dword [ebp - 0x28], 1
jbe 0x474c7d
cmp dword [ebp - 0x28], 0x16
je 0x474c7d
mov dword [esp], ebx
call fcn.004776de
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call fcn.00495d60
mov eax, dword [ebx + 0x14]
mov dword [esp], eax
call fcn.00448a5a
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x14], 0
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], edx
xor eax, eax
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret