Function at 0x46ea95
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 edi, ecx
test eax, eax
je 0x46eeea
mov eax, dword [ebp + 0xc]
mov dword [ebx + 4], 0
or eax, 0x10000
mov dword [ebx + 0x60], 0
mov dword [ebp - 0x1c], eax
mov dword [ebx + 0xb8], eax
mov dword [ebx + 8], 0
test edx, edx
je 0x46eb02
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x46eef5
test byte [ebx + 0xc], 1
je 0x46eef5
mov dword [esp], eax
call fcn.00476896
mov dword [ebx + 0x1c], 0
dec dword [ebx + 0xc]
jmp 0x46eef5
cmp dword [ebx + 0x54], 0
jne 0x46eb17
mov dword [esp], 0x64
call fcn.004490aa
mov dword [ebx + 0x54], eax
cmp dword [ebx + 0x54], 0
je 0x46ed12
cmp dword [ebx + 0x18], 0
jne 0x46eb37
mov dword [esp], pe_nt_image_headers32
call dword [0x5dd274]
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x46ed12
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.00491e45
mov eax, dword [ebx + 0x18]
mov edx, dword [eax + 0x38]
mov dword [ebx + 0x20], edx
mov edx, dword [eax + 0x3c]
mov dword [ebx + 0x24], edx
mov dword [eax + 0x38], 0x46dffe
mov dword [eax + 0x3c], 0x46e061
cmp dword [eax + 0x6c], 0xdeedbeaf
jne 0x46eb94
mov edx, dword [eax + 0x74]
mov dword [ebx + 0x28], edx
mov edx, dword [eax + 0x78]
mov dword [ebx + 0x2c], edx
mov dword [eax + 0x74], 0x46e080
mov dword [eax + 0x78], 0x46e10d
jmp 0x46eba2
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov eax, dword [ebx + 0x18]
mov dword [ebx], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov edx, dword [eax + 0x44]
test esi, esi
mov dword [ebx + 0x30], edx
mov dword [eax + 0x44], 0x46e12f
mov edx, dword [eax + 0x64]
mov dword [eax + 0x48], 0x46e12f
mov dword [ebx + 0x34], edx
mov dword [eax + 0x64], 0x46e153
je 0x46ed2d
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x10]
cmp dword [eax + 4], 3
ja 0x46ebfe
mov dword [esp + 4], 4
mov dword [esp], esi
call fcn.00477e42
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x46ec7f
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx + 0x18]
cmp dword [edx + 4], 3
jbe 0x46ec4c
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 4
mov edx, dword [edx]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp], eax
call fcn.0045702d
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x3c], 4
jmp 0x46ed0c
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0045702d
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x14], eax
jmp 0x46ed05
mov dword [esp], eax
call fcn.004565ea
mov dword [esp], 0
call fcn.0047656a
mov edx, eax
test eax, eax
je 0x46eeea
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x20], edx
mov dword [esp], eax
call fcn.00479d2f
mov edx, dword [ebp - 0x20]
mov esi, eax
test eax, eax
jne 0x46ecc1
mov dword [esp], edx
call fcn.00476896
jmp 0x46eeea
test edi, edi
jne 0x46ecce
mov dword [eax + 4], 0
jmp 0x46ecdf
mov dword [ebp - 0x20], edx
mov dword [esp], edi
call fcn.00454640
mov edx, dword [ebp - 0x20]
mov dword [esi + 4], eax
mov eax, dword [edx + 0x10]
mov dword [esi], edx
mov edx, dword [eax]
mov dword [esi + 0xc], edx
mov edx, dword [eax]
mov dword [esi + 0x10], edx
mov edx, dword [eax]
add edx, dword [eax + 4]
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x14], edx
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00455b6a
mov dword [ebx + 0x3c], 0
cmp dword [ebx + 0x14], 0
jne 0x46ed2d
mov eax, dword [0x696e30]
mov dword [esp + 4], str.xmlTextReaderSetup_:_malloc_failed_n
mov dword [esp], eax
call dword [0x5dd298]
jmp 0x46eeea
mov eax, dword [ebx + 0x58]
mov esi, dword [ebx + 0x14]
test eax, eax
je 0x46ed57
mov edx, dword [esi + 0x128]
test edx, edx
je 0x46ed4f
cmp eax, edx
je 0x46ed77
mov dword [esp], eax
call fcn.00491b09
jmp 0x46ed6b
mov dword [esi + 0x128], eax
jmp 0x46ed77
cmp dword [esi + 0x128], 0
jne 0x46ed6b
call fcn.00491c48
mov dword [esi + 0x128], eax
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x128]
mov dword [ebx + 0x58], eax
mov eax, dword [ebx + 0x14]
mov dword [eax + 0x110], ebx
mov dword [eax + 0x118], 1
mov dword [eax + 0x16c], 1
mov dword [eax + 0x134], 1
mov dword [eax + 0x1b4], 5
mov eax, dword [ebx + 0xa0]
test eax, eax
je 0x46edc4
mov dword [esp], eax
call fcn.0047c197
mov dword [ebx + 0xa0], 0
test dword [ebp - 0x1c], 0x400
je 0x46ee01
mov eax, dword [ebx + 0x58]
mov dword [ebx + 0x98], 1
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x6566f1
mov dword [esp], eax
call fcn.00491906
sub dword [ebp - 0x1c], 0x400
mov dword [ebx + 0x9c], eax
jmp 0x46ee0b
mov dword [ebx + 0x98], 0
mov dword [ebx + 0xa4], 0
cmp dword [ebx + 0xb0], 0
jne 0x46ee66
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xac], 0
jmp 0x46ee66
mov ecx, dword [ebx + 0xb0]
dec eax
mov ecx, dword [ecx + edx]
sub edx, 4
test ecx, ecx
je 0x46ee73
mov dword [ebx + 0xa8], eax
mov dword [esp], ecx
call fcn.004d33e2
mov edx, dword [ebx + 0xa8]
mov eax, dword [ebx + 0xb0]
mov dword [eax + edx*4], 0
mov eax, dword [ebx + 0xa8]
lea edx, [eax*4 - 4]
test eax, eax
jg 0x46ee34
mov dword [ebx + 0xa8], eax
test byte [ebp - 0x1c], 0x10
je 0x46ee8a
mov dword [ebx + 8], 1
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x14]
mov dword [esp], eax
call fcn.0045568e
cmp dword [ebp + 8], 0
je 0x46eec0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0049718e
test eax, eax
je 0x46eec0
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x14]
mov dword [esp], eax
call fcn.0047a978
test edi, edi
je 0x46eedf
mov eax, dword [ebx + 0x14]
mov esi, dword [eax + 0x24]
test esi, esi
je 0x46eedf
cmp dword [esi + 4], 0
jne 0x46eedf
mov dword [esp], edi
call fcn.004794a2
mov dword [esi + 4], eax
mov dword [ebx + 4], 0
xor eax, eax
jmp 0x46eeed
or eax, 0xffffffff
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebx + 0x1c], esi
or dword [ebx + 0xc], 1
jmp 0x46eb02