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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov esi, eax
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0x28], edx
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x74]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov edi, dword [esi + 0x10]
call fcn.0044ce60
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
cmp edx, 0xd
je 0x489250
or eax, 0xffffffff
cmp edx, 9
je 0x489250
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi + 0x10]
test eax, eax
je 0x489450
mov ecx, dword [ebp - 0x28]
mov ebx, edi
mov dword [ecx + 0x3c], eax
cmp edx, 0xd
je 0x4893b3
test byte [esi + 0x20], 0x40
je 0x4892d2
test ebx, ebx
je 0x489485
push eax
push eax
push ebx
mov eax, dword [ebp - 0x28]
push eax
call fcn.004d08b0
add esp, 0x10
test edi, edi
jne 0x48929b
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x4894a8
test byte [esi + 0x20], 1
jne 0x4893c2
push 0
push ebx
mov eax, dword [ebp - 0x28]
push eax
mov edi, dword [ebp - 0x14]
push edi
call fcn.004d05b0
mov ebx, dword [esi + 0x10]
add esp, 0x10
xor eax, eax
test ebx, ebx
je 0x489241
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov dword [edx + 0x3c], ecx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp edx, 9
je 0x4892e1
test byte [esi + 0x20], 0x30
je 0x4893a0
sub esp, 0xc
push ebx
call fcn.004d3970
add esp, 0x10
test ebx, ebx
setne byte [ebp - 0x22]
test edi, edi
sete byte [ebp - 0x21]
cmp byte [ebp - 0x22], 0
je 0x489310
cmp byte [ebp - 0x21], 0
jne 0x4893c9
lea esi, [esi]
mov dword [ebp - 0x10], 0
mov ecx, dword [esi + 0x20]
mov edx, ecx
test cl, 2
je 0x48950d
mov edi, edx
shr edi, 4
and edi, 1
and edx, 8
je 0x4894d5
mov ecx, dword [ebp - 0x28]
mov ebx, dword [ecx + 0xc]
test ebx, ebx
jne 0x489366
jmp 0x489380
mov edx, ebx
mov eax, esi
call fcn.00489c10
push eax
push 0x53626f
push 1
mov eax, dword [ebp - 0x14]
push eax
call fcn.0048e620
mov ebx, dword [ebx + 0x18]
add esp, 0x10
test ebx, ebx
je 0x489380
mov dword [esi + 0x24], 0
test edi, edi
jne 0x489342
mov edx, ebx
mov eax, esi
call fcn.00488a00
jmp 0x48934b
cmp byte [ebp - 0x21], 0
je 0x4893a0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4893a0
mov eax, esi
call fcn.00487fc0
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], edx
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0x3c], eax
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [esi + 0x20], 0x30
je 0x489272
jmp 0x48926c
push 1
jmp 0x4892a7
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0xc]
test ecx, ecx
jne 0x489310
mov edx, dword [edx + 0x14]
test edx, edx
jne 0x489310
mov edx, dword [esi + 0x20]
mov dword [ebp - 0x10], 0
mov ecx, edx
test dl, 2
jne 0x489325
cmp eax, 1
jbe 0x4895d8
cmp eax, 0x16
je 0x4895d8
mov edx, ebx
mov eax, esi
call fcn.00487cf0
test eax, eax
js 0x4894c4
mov dword [ebp - 0x10], 1
mov ecx, dword [esi + 0x20]
cmp dword [esi + 0x74], 0x487990
je 0x4895e4
cmp dword [esi + 0x78], 0x487990
jne 0x48931a
mov dword [esi + 0x78], 0
jmp 0x48931a
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax + 0x3c]
test ebx, ebx
jne 0x489263
mov eax, dword [eax + 0x4c]
mov ebx, edi
cmp eax, 1
je 0x489263
sub esp, 0xc
push eax
call fcn.004d2580
mov ebx, eax
mov eax, dword [ebp - 0x28]
add esp, 0x10
mov edx, dword [eax + 4]
jmp 0x489263
sub esp, 0xc
mov eax, dword [ebp - 0x28]
push eax
call fcn.004d0d30
add esp, 0x10
mov ebx, eax
test eax, eax
jne 0x489289
mov ebx, 0x53642c
jmp 0x489289
mov eax, dword [edx + 0x14]
test eax, eax
jne 0x48929b
mov edx, ebx
mov eax, esi
call fcn.00487cf0
test eax, eax
jns 0x48929b
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0x3c], eax
or eax, 0xffffffff
jmp 0x489241
sub esp, 0xc
mov eax, dword [ebp - 0x28]
push eax
call fcn.0043d5f0
add esp, 0x10
test eax, eax
je 0x489336
push ebx
push ebx
mov ecx, dword [eax + 0x34]
push ecx
mov edx, dword [eax + 0x38]
push edx
call fcn.00487ec0
mov edi, eax
xor eax, 0xffffffff
sar eax, 0x1f
add esp, 0x10
and edi, eax
jmp 0x489336
push edi
push str.__xml_version
push 0xe
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0048e620
mov edx, dword [ebp - 0x28]
add esp, 0x10
mov eax, dword [edx + 0x38]
test eax, eax
je 0x4895bf
push edx
push edx
push eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x10]
push eax
call fcn.004d5960
add esp, 0x10
cmp byte [ebp - 0x22], 0
jne 0x48959a
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x28]
test eax, eax
jne 0x489581
push edx
push str._standalone_no_
push 0x10
mov eax, dword [ebp - 0x14]
push eax
call fcn.0048e620
add esp, 0x10
push eax
push 0x5364a6
push 3
mov eax, dword [ebp - 0x14]
push eax
call fcn.0048e620
mov edx, dword [esi + 0x20]
add esp, 0x10
jmp 0x489325
dec eax
jne 0x489565
push eax
push str._standalone_yes_
push 0x11
mov eax, dword [ebp - 0x14]
push eax
call fcn.0048e620
add esp, 0x10
jmp 0x489565
push eax
push str._encoding
push 0xa
mov eax, dword [ebp - 0x14]
push eax
call fcn.0048e620
pop edi
pop eax
push ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.004d5960
add esp, 0x10
jmp 0x489547
push eax
push str._1.0_
push 5
mov eax, dword [ebp - 0x14]
push eax
call fcn.0048e620
add esp, 0x10
jmp 0x489541
mov dword [ebp - 0x10], 0
jmp 0x489424
mov dword [esi + 0x74], 0
jmp 0x489431