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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebp, dword [esp + 0x64]
test ebp, ebp
je 0x43218f
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x43218f
mov eax, dword [esp + 0x68]
test eax, eax
je 0x43218f
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x4320a3
mov edx, dword [esp + 0x74]
mov esi, dword [eax + 0x50]
dec edx
cmp edx, 9
ja 0x4320b3
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x431c97
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x74]
call fcn.0042f3a0
test eax, eax
je 0x432030
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x431ca4
cmp dword [eax + 0x30], ebp
je 0x432151
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x28], eax
test eax, eax
je 0x432221
mov dword [esp], 0x40
call dword [0x6713dc]
mov ebx, eax
test eax, eax
je 0x4322e5
mov edi, eax
mov edx, 0x40
test al, 1
jne 0x432214
test edi, 2
jne 0x432204
mov ecx, edx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
test dl, 2
jne 0x431ea1
and edx, 1
jne 0x431eb2
mov edx, dword [esp + 0x74]
mov eax, dword [ebp + 0x20]
mov dword [ebx + 4], 0x10
mov dword [ebx + 0x28], edx
mov dword [ebx + 0x20], eax
test esi, esi
je 0x4320e3
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00463e00
mov edx, dword [esp + 0x70]
mov dword [ebx + 8], eax
mov dword [esp + 4], edx
mov dword [esp + 8], 0xffffffff
mov dword [esp], esi
call fcn.00463e00
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00463e00
mov edx, dword [esp + 0x78]
mov dword [ebx + 0x2c], edx
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x34], edx
test ecx, ecx
je 0x431da4
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00463e00
mov dword [ebx + 0x30], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00461f30
test eax, eax
js 0x432270
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x28], eax
test eax, eax
je 0x431f50
lea eax, [esp + 0x3c]
mov edx, dword [esp + 0x68]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00408120
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
test eax, eax
je 0x432144
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462a50
mov esi, eax
test eax, eax
je 0x431f90
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x431e40
mov dword [esp], eax
call dword [0x6713e0]
mov edi, dword [esp + 0x24]
test edi, edi
je 0x431e55
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call dword [0x6713e0]
cmp dword [esp + 0x74], 2
je 0x4321a5
mov dword [esp + 4], 0x6e9693
mov eax, dword [ebx + 8]
mov dword [esp], eax
call fcn.00445450
test eax, eax
je 0x431ec0
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x24], eax
mov dword [esi + 0x2c], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x14], ebp
test eax, eax
je 0x431f40
mov dword [eax + 0x18], ebx
mov dword [ebx + 0x1c], eax
mov dword [ebp + 0x10], ebx
add esp, 0x4c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov word [edi], 0
add edi, 2
and edx, 1
je 0x431d00
mov byte [edi], 0
jmp 0x431d00
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x431edb
mov dword [esp + 4], 0x6e9693
mov dword [esp], eax
call fcn.00445450
test eax, eax
jne 0x431e77
mov edi, dword [esi + 0x2c]
test edi, edi
jne 0x431ee9
jmp 0x4322ae
mov edi, eax
mov dword [esp + 4], 0x6e9693
mov eax, dword [edi + 8]
mov dword [esp], eax
call fcn.00445450
test eax, eax
jne 0x431f23
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x4322c0
mov dword [esp + 4], 0x6e9693
mov dword [esp], eax
call fcn.00445450
test eax, eax
je 0x4322c0
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x431ee7
xor eax, eax
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x24], ebx
mov dword [ebx + 0x14], ebp
test eax, eax
jne 0x431e8e
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0xc], ebx
add esp, 0x4c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x432264
mov eax, dword [eax + 0x50]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.00461da0
mov dword [esp + 0x28], eax
mov dword [ebp + 0x28], eax
test eax, eax
jne 0x431de5
mov edx, str.element_table_allocation_failed
call fcn.0042e9b0
jmp 0x431e80
mov dword [esp], 0x38
call dword [0x6713dc]
mov esi, eax
test eax, eax
je 0x432307
mov edi, eax
mov edx, 0x38
test al, 1
jne 0x4322c8
test edi, 2
jne 0x4322d5
mov ecx, edx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
test dl, 2
jne 0x432090
and edx, 1
jne 0x432082
mov edx, dword [esp + 0x2c]
mov dword [esi + 4], 0xf
mov dword [esp], edx
call fcn.004452f0
mov dword [esi + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.004452f0
mov dword [esi + 0x24], 0
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], esi
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462500
jmp 0x431e2f
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], str.Attribute__s_of__s:_invalid_default_value_n
mov ecx, 0x1f4
mov edx, ebp
mov eax, dword [esp + 0x60]
call fcn.0042e7f0
mov ebx, dword [esp + 0x60]
test ebx, ebx
je 0x432072
mov edx, dword [esp + 0x60]
mov dword [edx + 0x24], 0
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x7c], 0
jmp 0x431c97
mov byte [edi], 0
jmp 0x431fdd
mov word [edi], 0
add edi, 2
and edx, 1
je 0x431fdd
jmp 0x432082
mov edx, dword [esp + 0x74]
xor esi, esi
dec edx
cmp edx, 9
jbe 0x431c77
mov ecx, str.Internal:_ATTRIBUTE_struct_corrupted_invalid_type_n
mov edx, 1
mov eax, dword [esp + 0x60]
mov dword [esp], 0
call fcn.0042e6e0
mov edx, dword [esp + 0x80]
mov dword [esp], edx
xor ebx, ebx
call fcn.00431920
jmp 0x431e97
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004452f0
mov edx, dword [esp + 0x70]
mov dword [ebx + 8], eax
mov dword [esp], edx
call fcn.004452f0
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.004452f0
mov edx, dword [esp + 0x78]
mov dword [ebx + 0x2c], edx
mov edx, dword [esp + 0x80]
mov dword [ebx + 0x34], edx
mov edx, dword [esp + 0x7c]
mov dword [ebx + 0x3c], eax
test edx, edx
je 0x431da4
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call fcn.004452f0
mov dword [ebx + 0x30], eax
mov eax, dword [ebx + 0x3c]
jmp 0x431da4
mov eax, dword [esp + 0x68]
mov dword [esp + 0x2c], eax
jmp 0x431e09
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x431ca4
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x431ca4
mov edx, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
call fcn.00462980
test eax, eax
je 0x431ca4
mov eax, dword [esp + 0x80]
xor ebx, ebx
mov dword [esp], eax
call fcn.00431920
jmp 0x431e97
mov edx, 1
mov eax, esi
call fcn.0042fcc0
test eax, eax
je 0x431e60
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov ecx, 0x208
mov dword [esp + 0xc], 0
mov dword [esp], str.Element__s_has_too_may_ID_attributes_defined_:__s_n
mov edx, ebp
mov eax, dword [esp + 0x60]
call fcn.0042e7f0
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x431e60
mov edx, dword [esp + 0x60]
mov dword [edx + 0x24], 0
jmp 0x431e60
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x431ce5
mov byte [eax], 0
lea edi, [eax + 1]
mov dl, 0x3f
jmp 0x431cd9
mov dword [esp + 4], esi
mov dword [esp], 0
call fcn.00461da0
mov dword [esp + 0x28], eax
mov dword [ebp + 0x2c], eax
test eax, eax
jne 0x431cb3
mov edx, str.xmlAddAttributeDecl:_Table_creation_failed__n
mov eax, dword [esp + 0x60]
call fcn.0042e9b0
mov edx, dword [esp + 0x80]
mov dword [esp], edx
xor ebx, ebx
call fcn.00431920
jmp 0x431e97
xor eax, eax
jmp 0x431f5e
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov ecx, 0x1f5
mov edx, ebp
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], 0
mov dword [esp], str.Attribute__s_of_element__s:_already_defined_n
call fcn.0042ebc0
mov dword [esp], ebx
call fcn.00431970
xor ebx, ebx
jmp 0x431e97
mov dword [ebx + 0x24], 0
mov dword [esi + 0x2c], ebx
jmp 0x431e80
mov eax, dword [edi + 0x24]
jmp 0x431f2c
mov byte [eax], 0
lea edi, [eax + 1]
mov dl, 0x37
jmp 0x431fb6
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x431fc2
mov eax, dword [esp + 0x60]
mov edx, str.malloc_failed
call fcn.0042e9b0
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.00431920
jmp 0x431e97
mov edx, str.malloc_failed
xor eax, eax
call fcn.0042e9b0
jmp 0x431e80