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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, eax
mov esi, edx
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0x28], eax
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0x24], edx
mov eax, dword [ebx + 0x74]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebx + 0x78]
mov dword [ebp - 0x30], edx
mov edi, dword [ebx + 0x18]
call sym.evasi0n_gui.exe_xmlInitParser
mov edx, dword [esi + 4]
cmp edx, 9
je 0x47956a
or eax, 0xffffffff
cmp edx, 0xd
jne 0x47987d
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x479579
mov dword [esi + 0x3c], eax
mov ecx, dword [ebp - 0x24]
jmp 0x479595
mov ecx, dword [esi + 0x3c]
test ecx, ecx
jne 0x479595
mov eax, dword [esi + 0x4c]
mov ecx, dword [ebp - 0x24]
cmp eax, 1
je 0x479595
mov dword [esp], eax
call sym.evasi0n_gui.exe_xmlGetCharEncodingName
mov ecx, eax
mov eax, dword [esi + 4]
cmp eax, 0xd
jne 0x4795a3
test byte [ebx + 0x20], 0x30
je 0x4795af
mov edx, dword [ebx + 0x20]
test dl, 0x40
je 0x479643
test ecx, ecx
je 0x4795c7
mov dword [esp + 4], ecx
mov dword [esp], esi
mov dword [ebp - 0x38], ecx
call sym.evasi0n_gui.exe_htmlSetMetaEncoding
mov ecx, dword [ebp - 0x38]
jmp 0x4795da
mov dword [esp], esi
call sym.evasi0n_gui.exe_htmlGetMetaEncoding
mov ecx, eax
test eax, eax
jne 0x4795da
mov ecx, 0x66d9ac
cmp dword [ebp - 0x24], 0
jne 0x479604
cmp dword [edi + 0xc], 0
jne 0x479604
cmp dword [edi + 0x14], 0
jne 0x479604
mov eax, dword [ebx + 0x18]
mov edx, ecx
mov dword [ebp - 0x38], ecx
call fcn.0047809d
test eax, eax
mov ecx, dword [ebp - 0x38]
js 0x4796af
test byte [ebx + 0x20], 1
je 0x479614
mov dword [esp + 0xc], 1
jmp 0x47961c
mov dword [esp + 0xc], 0
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp], edi
call sym.evasi0n_gui.exe_htmlDocContentDumpFormatOutput
xor eax, eax
cmp dword [ebx + 0x10], 0
je 0x47987d
mov edx, dword [ebp - 0x28]
mov dword [esi + 0x3c], edx
jmp 0x47987d
cmp eax, 9
je 0x479658
mov dword [ebp - 0x20], 0
and dl, 0x30
je 0x479855
mov dword [esp], ecx
mov dword [ebp - 0x38], ecx
call sym.evasi0n_gui.exe_xmlParseCharEncoding
mov ecx, dword [ebp - 0x38]
test ecx, ecx
setne byte [ebp - 0x1c]
je 0x4796e6
cmp dword [ebp - 0x24], 0
jne 0x4796e6
mov dword [ebp - 0x20], 0
cmp dword [edi + 0xc], 0
jne 0x4796ed
cmp dword [edi + 0x14], 0
jne 0x4796ed
test byte [ebx + 0x20], 2
jne 0x4796ed
cmp eax, 1
jbe 0x4796bd
cmp eax, 0x16
je 0x4796bd
mov eax, dword [ebx + 0x18]
mov edx, ecx
call fcn.0047809d
mov dword [ebp - 0x20], 1
test eax, eax
mov ecx, dword [ebp - 0x38]
jns 0x4796c4
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x3c], eax
or eax, 0xffffffff
jmp 0x47987d
mov dword [ebp - 0x20], 0
cmp dword [ebx + 0x74], 0x477be3
jne 0x4796d4
mov dword [ebx + 0x74], 0
cmp dword [ebx + 0x78], 0x477be3
jne 0x4796ed
mov dword [ebx + 0x78], 0
jmp 0x4796ed
mov dword [ebp - 0x20], 0
test byte [ebx + 0x20], 2
jne 0x4797cc
mov dword [esp + 8], str.__xml_version
mov dword [esp + 4], 0xe
mov dword [esp], edi
mov dword [ebp - 0x38], ecx
call sym.evasi0n_gui.exe_xmlOutputBufferWrite
mov eax, dword [esi + 0x38]
test eax, eax
mov ecx, dword [ebp - 0x38]
je 0x47972d
mov dword [esp + 4], eax
mov eax, dword [edi + 0x10]
mov dword [esp], eax
call sym.evasi0n_gui.exe_xmlBufferWriteQuotedString
jmp 0x479748
mov dword [esp + 8], str._1.0_
mov dword [esp + 4], 5
mov dword [esp], edi
mov dword [ebp - 0x38], ecx
call sym.evasi0n_gui.exe_xmlOutputBufferWrite
mov ecx, dword [ebp - 0x38]
cmp byte [ebp - 0x1c], 0
je 0x47977e
mov dword [esp + 8], str._encoding
mov dword [esp + 4], 0xa
mov dword [esp], edi
mov dword [ebp - 0x38], ecx
call sym.evasi0n_gui.exe_xmlOutputBufferWrite
mov ecx, dword [ebp - 0x38]
mov dword [esp + 4], ecx
mov eax, dword [edi + 0x10]
mov dword [esp], eax
call sym.evasi0n_gui.exe_xmlBufferWriteQuotedString
mov eax, dword [esi + 0x28]
test eax, eax
je 0x47978a
dec eax
jne 0x4797b4
jmp 0x47979c
mov dword [esp + 8], str._standalone_no_
mov dword [esp + 4], 0x10
jmp 0x4797ac
mov dword [esp + 8], str._standalone_yes_
mov dword [esp + 4], 0x11
mov dword [esp], edi
call sym.evasi0n_gui.exe_xmlOutputBufferWrite
mov dword [esp + 8], 0x66d9f4
mov dword [esp + 4], 3
mov dword [esp], edi
call sym.evasi0n_gui.exe_xmlOutputBufferWrite
mov eax, dword [ebx + 0x20]
xor edx, edx
test al, 0x10
setne dl
mov dword [ebp - 0x1c], edx
test al, 8
jne 0x479806
mov dword [esp], esi
call sym.evasi0n_gui.exe_xmlGetIntSubset
test eax, eax
je 0x479806
mov edx, dword [eax + 0x34]
mov dword [esp + 4], edx
mov eax, dword [eax + 0x38]
mov dword [esp], eax
call sym.evasi0n_gui.exe_xmlIsXHTML
mov dword [ebp - 0x1c], eax
not eax
sar eax, 0x1f
and dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x479855
mov dword [ebp - 0x34], esi
mov esi, eax
mov dword [ebx + 0x24], 0
cmp dword [ebp - 0x1c], 0
je 0x47982a
mov edx, esi
mov eax, ebx
call fcn.0047887d
jmp 0x479833
mov edx, esi
mov eax, ebx
call fcn.00479885
mov dword [esp + 8], 0x66d670
mov dword [esp + 4], 1
mov dword [esp], edi
call sym.evasi0n_gui.exe_xmlOutputBufferWrite
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x479812
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x20], 0
je 0x479875
cmp dword [ebp - 0x24], 0
jne 0x479875
mov eax, dword [ebx + 0x18]
call fcn.0047811e
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x74], eax
mov edx, dword [ebp - 0x30]
mov dword [ebx + 0x78], edx
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x3c], eax
xor eax, eax
add esp, 0x3c
pop ebx
pop esi
pop edi
leave
ret