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

Disassembly:
push ebp
sub esp, 0x68
mov eax, 0x573080
call fcn.00566e38
sub esp, 0x23c
push ebx
push esi
mov esi, dword [ebp + 0x74]
lea eax, [ebp - 0x14]
push edi
mov edi, ecx
mov ecx, esi
push eax
mov dword [ebp + 0x2c], edi
lea edx, [edi + 0x20]
call fcn.00414941
test eax, eax
jne 0x49493b
push 0x200
lea edx, [ebp - 0x248]
mov ecx, esi
call fcn.00414a6e
test eax, eax
jne 0x49493b
push 0xc
mov dword [ebp + 0x30], eax
mov byte [ebp + 0x4b], al
lea eax, [ebp - 0x248]
push str.koly
push eax
call sub.msvcrt.dll_memcmp
mov esi, dword [edi + 0x20]
xor ebx, ebx
mov ecx, dword [edi + 0x24]
or edx, 0xffffffff
add esp, 0xc
mov dword [ebp + 0x4c], esi
inc ebx
mov dword [ebp + 0x3c], ecx
mov dword [ebp], edx
test eax, eax
je 0x4941d5
or esi, ecx
jne 0x494939
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov esi, dword [ebp - 0x14]
cmp ecx, eax
ja 0x494177
cmp esi, 0x200
jb 0x494939
add esi, 0xfffffe00
push 0
adc ecx, edx
mov dword [ebp + 0x4c], esi
mov edx, dword [ebp + 0x74]
push 0
push ecx
push esi
mov eax, dword [edx]
push edx
mov dword [ebp + 0x3c], ecx
call dword [eax + 0x10]
test eax, eax
jne 0x49493b
mov ecx, dword [ebp + 0x74]
lea edx, [ebp - 0x248]
push 0x200
call fcn.00414a6e
test eax, eax
jne 0x49493b
push 0xc
lea eax, [ebp - 0x248]
push str.koly
push eax
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x494939
lea ecx, [ebp - 0x230]
push ecx
lea ecx, [edi + 0x40]
call fcn.004951fc
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [edi + 0x50]
call fcn.004951fc
push 0x10
lea eax, [ebp - 0x208]
push eax
lea eax, [edi + 0x88]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x1f8]
push ecx
lea ecx, [edi + 0x98]
call fcn.00494f2a
lea eax, [edi + 0x60]
lea ecx, [ebp - 0x170]
mov dword [ebp + 0x5c], eax
push ecx
mov ecx, eax
call fcn.004951fc
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [edi + 0x70]
call fcn.004951fc
lea eax, [ebp - 0xe8]
push eax
lea ecx, [edi + 0x120]
call fcn.00494f2a
cmp dword [edi + 0x40], 0x200
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x5c]
bswap eax
bswap ecx
mov dword [edi + 0x80], eax
mov eax, dword [ebp + 0x3c]
mov dword [edi + 0x84], ecx
jne 0x4942aa
xor ecx, ecx
cmp dword [edi + 0x44], ecx
jne 0x4942aa
mov edx, esi
mov ecx, eax
add edx, 0x200
mov dword [ebp + 0x68], edx
adc ecx, 0
mov dword [ebp + 0x50], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp + 0x38], ecx
cmp dword [ebp + 0x50], ecx
ja 0x4942aa
mov ecx, dword [ebp - 0x14]
mov dword [ebp + 0x60], ecx
jb 0x4942a5
cmp edx, ecx
jae 0x4942aa
mov byte [ebp + 0x4b], bl
jmp 0x4942c5
mov edx, esi
mov dword [ebp + 0x38], eax
add edx, 0x200
mov ecx, esi
push 0
mov dword [ebp + 0x68], edx
pop edx
adc eax, edx
mov dword [ebp + 0x60], ecx
mov dword [ebp + 0x50], eax
lea eax, [ebp + 0x40]
xorps xmm0, xmm0
push eax
push dword [ebp + 0x38]
movlpd qword [ebp + 0x40], xmm0
push ecx
lea ecx, [edi + 0x40]
call fcn.004959bf
test al, al
je 0x494939
lea eax, [ebp + 0x40]
push eax
push dword [ebp + 0x38]
lea ecx, [edi + 0x60]
push dword [ebp + 0x60]
call fcn.004959bf
test al, al
je 0x494939
lea eax, [ebp + 0x40]
push eax
push dword [ebp + 0x38]
lea ecx, [edi + 0x50]
push dword [ebp + 0x60]
call fcn.004959bf
test al, al
je 0x494939
lea eax, [ebp + 0x40]
push eax
push dword [ebp + 0x38]
lea ecx, [edi + 0x70]
push dword [ebp + 0x60]
call fcn.004959bf
cmp byte [ebp + 0x4b], 0
mov byte [ebp + 0x67], al
je 0x494347
mov ecx, dword [ebp + 0x40]
mov edx, dword [ebp + 0x44]
mov dword [edi + 0x28], ecx
xor ecx, ecx
mov dword [edi + 0x2c], edx
jmp 0x49442d
mov eax, dword [ebp + 0x68]
xor ecx, ecx
mov dword [edi + 0x28], eax
mov eax, dword [ebp + 0x50]
mov dword [edi + 0x2c], eax
mov eax, dword [ebp + 0x44]
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], ecx
cmp dword [ebp + 0x40], esi
jne 0x49436c
cmp eax, dword [ebp + 0x3c]
je 0x49442a
mov esi, dword [ebp + 0x5c]
lea edi, [ebp + 4]
push str.__xml_version
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call sub.msvcrt.dll_strlen
mov edx, dword [ebp + 0x10]
pop ecx
mov ecx, eax
xor eax, eax
mov dword [ebp + 0x5c], ecx
cmp edx, eax
jb 0x4943a6
ja 0x494398
mov eax, dword [ebp + 0xc]
cmp eax, ecx
jbe 0x4943a9
xor edi, edi
mov eax, ecx
mov edx, edi
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
jmp 0x4943ab
mov eax, dword [ebp + 0xc]
xor edi, edi
mov esi, edi
mov dword [ebp + 0x58], edi
mov dword [ebp + 0x54], esi
mov dword [ebp - 4], edi
cmp edx, edi
jb 0x4943f3
ja 0x4943c0
cmp eax, ecx
jb 0x4943f3
mov edi, dword [ebp + 0x2c]
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 4]
mov ecx, edi
push eax
push dword [ebp + 0x74]
call fcn.00495843
mov esi, dword [ebp + 0x54]
test eax, eax
jne 0x4943f6
push dword [ebp + 0x5c]
push str.__xml_version
push esi
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x49441d
jmp 0x4943f6
mov edi, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x4c]
sub eax, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x44]
sbb ecx, edx
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 0x40]
add eax, 0x200
mov dword [edi + 0x24], ecx
push 0
pop ecx
adc edx, ecx
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], edx
or dword [ebp - 4], 0xffffffff
push esi
call fcn.00566e0e
pop ecx
xor ecx, ecx
mov al, byte [ebp + 0x67]
mov dword [ebp + 0x1c], 0x100
mov edx, 0x1000000
test al, al
je 0x49456b
mov eax, dword [edi + 0x78]
or eax, dword [edi + 0x7c]
je 0x49456b
cmp dword [edi + 0x7c], ecx
ja 0x49456b
jb 0x494461
cmp dword [edi + 0x78], edx
ja 0x49456b
mov dword [ebp + 0x54], ecx
mov dword [ebp + 0x58], ecx
lea eax, [ebp + 0x54]
mov dword [ebp - 4], ebx
push eax
lea eax, [edi + 0x70]
mov ecx, edi
push eax
push dword [ebp + 0x74]
call fcn.00495843
mov esi, eax
test esi, esi
je 0x494492
push dword [ebp + 0x54]
call fcn.00566e0e
pop ecx
mov eax, esi
jmp 0x49493b
cmp dword [ebp + 0x58], 0xc
mov esi, dword [ebp + 0x54]
jb 0x49455d
mov eax, dword [esi]
bswap eax
cmp eax, 0xfade0cc0
jne 0x494560
mov ecx, dword [esi + 4]
bswap ecx
mov dword [ebp + 0x50], ecx
cmp ecx, dword [ebp + 0x58]
jne 0x49455d
mov edx, dword [esi + 8]
lea eax, [ecx - 0xc]
bswap edx
shr eax, 3
cmp edx, eax
ja 0x49455d
push 0xc
lea edx, [edx*8 + 0xc]
pop eax
mov dword [ebp + 0x4c], edx
mov dword [ebp + 0x68], eax
cmp edx, eax
jbe 0x494560
mov edx, dword [eax + esi + 4]
bswap edx
cmp edx, dword [ebp + 0x4c]
jb 0x49455d
lea eax, [ecx - 8]
cmp edx, eax
ja 0x49455d
lea eax, [esi + edx]
mov ecx, dword [eax]
bswap ecx
mov dword [ebp + 0x5c], ecx
mov ecx, dword [eax + 4]
mov dword [ebp + 0x34], eax
mov eax, dword [ebp + 0x50]
bswap ecx
sub eax, edx
cmp eax, ecx
jb 0x49455d
cmp ecx, 8
jb 0x49455d
cmp dword [ebp + 0x5c], 0xfade0c02
jne 0x49454a
cmp ecx, 0x2c
jb 0x49455d
mov edx, dword [ebp + 0x34]
mov eax, dword [edx + 0x14]
bswap eax
cmp eax, ecx
jae 0x49455d
sub ecx, eax
cmp ecx, 0x100
cmova ecx, dword [ebp + 0x1c]
add eax, edx
push ecx
push eax
lea ecx, [edi + 0x30]
call fcn.00403c01
mov eax, dword [ebp + 0x68]
add eax, 8
mov dword [ebp + 0x68], eax
cmp eax, dword [ebp + 0x4c]
jae 0x494560
mov ecx, dword [ebp + 0x50]
jmp 0x4944e6
mov byte [edi + 0xd], bl
or dword [ebp - 4], 0xffffffff
push esi
call fcn.00566e0e
pop ecx
xorps xmm0, xmm0
lea eax, [edi + 0x98]
cmp dword [eax], 2
movlpd qword [ebp + 0x14], xmm0
movlpd qword [ebp + 0x20], xmm0
jne 0x494595
cmp dword [eax + 4], 0x20
jne 0x494595
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x4c]
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], ecx
mov eax, dword [edi + 0x68]
or eax, dword [edi + 0x6c]
jne 0x49494f
mov ecx, dword [edi + 0x58]
mov eax, dword [edi + 0x5c]
add ecx, 0xffffff00
adc eax, 0xffffffff
xor edx, edx
cmp eax, edx
ja 0x494939
jb 0x4945c8
cmp ecx, 0xffff00
ja 0x494939
mov byte [edi + 0xf], bl
mov dword [ebp + 0x54], edx
mov dword [ebp + 0x58], edx
lea eax, [ebp + 0x54]
mov dword [ebp - 4], 2
push eax
lea eax, [edi + 0x50]
mov ecx, edi
push eax
push dword [ebp + 0x74]
call fcn.00495843
test eax, eax
jne 0x49492e
mov ecx, dword [ebp + 0x54]
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
bswap ecx
mov dword [ebp + 0x60], ecx
mov ecx, 0x100
bswap eax
bswap edx
mov dword [ebp + 0x3c], edx
bswap esi
cmp eax, ecx
jne 0x49492c
mov edx, dword [edi + 0x5c]
xor eax, eax
mov ecx, dword [edi + 0x58]
cmp eax, edx
ja 0x49492c
jb 0x49463d
cmp esi, ecx
jae 0x49492c
cmp eax, edx
ja 0x49492c
mov eax, dword [ebp + 0x3c]
jb 0x49464a
cmp eax, ecx
jae 0x49492c
cmp esi, eax
jb 0x49492c
add eax, 0x100
cmp esi, eax
jne 0x49492c
mov eax, dword [ebp + 0x60]
lea edi, [eax + esi]
mov dword [ebp + 0x5c], edi
cmp edi, ecx
mov edi, dword [ebp + 0x2c]
jne 0x494678
cmp dword [ebp + 0x30], edx
je 0x494917
sub ecx, esi
sbb edx, 0
test edx, edx
jb 0x494930
ja 0x49468f
cmp ecx, eax
jb 0x494930
sub ecx, eax
push 0
pop eax
sbb edx, eax
cmp ecx, 4
jne 0x494930
cmp edx, eax
jne 0x494930
mov ecx, dword [ebp + 0x54]
mov eax, dword [ebp + 0x5c]
mov eax, dword [ecx + eax]
bswap eax
test eax, eax
jne 0x494930
mov eax, dword [ebp + 0x60]
cmp eax, 0x1e
jb 0x494930
add esi, ecx
push 0x10
push esi
push ecx
mov dword [ebp - 0x20], esi
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x494930
movzx ecx, byte [esi + 0x18]
movzx eax, byte [esi + 0x19]
shl cx, 8
or cx, ax
cmp cx, 0x1c
jne 0x494930
movzx edx, byte [esi + 0x1a]
movzx eax, byte [esi + 0x1b]
shl edx, 8
or edx, eax
mov dword [ebp + 0x5c], edx
cmp edx, dword [ebp + 0x60]
ja 0x494930
movzx ecx, byte [esi + 0x1c]
movzx eax, byte [esi + 0x1d]
shl ecx, 8
or ecx, eax
inc ecx
mov dword [ebp + 0x44], ecx
lea eax, [ecx*8 + 0x1e]
cmp eax, edx
ja 0x494930
xor eax, eax
mov dword [ebp + 0x68], eax
test ecx, ecx
je 0x494903
lea eax, [esi + 0x23]
mov dword [ebp + 0x38], eax
mov eax, dword [eax - 5]
bswap eax
cmp eax, 0x626c6b78
jne 0x4948ee
mov eax, dword [ebp + 0x38]
movzx edi, byte [eax - 1]
movzx eax, byte [eax]
shl edi, 8
or edi, eax
inc edi
mov dword [ebp + 0x4c], edi
mov edi, dword [ebp + 0x38]
movzx eax, byte [edi + 1]
shl eax, 8
mov dword [ebp + 0x50], eax
movzx eax, byte [edi + 2]
mov edi, dword [ebp + 0x50]
or edi, eax
imul eax, dword [ebp + 0x4c], 0xc
mov dword [ebp + 0x50], edi
add eax, 0x1c
add eax, edi
mov edi, dword [ebp + 0x2c]
cmp eax, edx
ja 0x494930
xor eax, eax
mov dword [ebp + 0x1c], eax
cmp dword [ebp + 0x4c], eax
jbe 0x4948ee
mov edx, dword [ebp + 0x50]
add edx, 0x1f
add edx, esi
mov dword [ebp + 0x34], edx
movzx ecx, byte [edx - 1]
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
mov dword [ebp + 0x30], ecx
mov ecx, dword [edx + 1]
mov edx, dword [ebp + 0x3c]
bswap ecx
and ecx, 0xffffff
mov dword [ebp + 0x28], ecx
lea eax, [ecx + 4]
cmp eax, edx
jae 0x494930
mov eax, dword [ebp + 0x54]
mov eax, dword [eax + ecx + 0x100]
bswap eax
mov dword [ebp + 0x50], eax
mov eax, edx
sub eax, ecx
sub eax, 4
cmp eax, dword [ebp + 0x50]
jb 0x494930
lea ecx, [ebp + 8]
call fcn.00402365
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 4], 3
cmp ecx, 0xffff
je 0x494882
mov edx, dword [ebp + 0x60]
mov eax, dword [ebp + 0x5c]
sub edx, eax
cmp ecx, edx
jae 0x494921
add eax, ecx
sub edx, ecx
add eax, esi
mov dword [ebp - 0x18], eax
movzx eax, byte [eax]
mov dword [ebp - 0x1c], eax
cmp edx, eax
jbe 0x494921
mov dword [ebp + 0x30], ebx
cmp eax, ebx
jb 0x494882
mov ecx, dword [ebp + 0xc]
mov edi, ebx
mov esi, dword [ebp - 0x18]
mov ebx, eax
mov al, byte [edi + esi]
mov byte [ebp + 0x67], al
sub al, 0x20
cmp al, 0x5f
ja 0x494879
cmp dword [ebp + 0x10], ecx
jne 0x494862
lea ecx, [ebp + 8]
call fcn.004030e1
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dl, byte [ebp + 0x67]
mov byte [eax + ecx], dl
inc ecx
xor edx, edx
inc edi
mov byte [eax + ecx], dl
mov dword [ebp + 0xc], ecx
cmp edi, ebx
jbe 0x494846
mov edi, dword [ebp + 0x2c]
xor ebx, ebx
mov esi, dword [ebp - 0x20]
inc ebx
lea ecx, [edi + 0x14]
call fcn.0049260a
lea ecx, [ebp + 8]
mov dword [ebp + 0x30], eax
push ecx
lea ecx, [eax + 0x48]
call fcn.00402633
mov eax, dword [ebp + 0x54]
push dword [ebp + 0x50]
mov ecx, dword [ebp + 0x28]
add eax, 0x104
add ecx, eax
push ecx
mov ecx, dword [ebp + 0x30]
call fcn.00494f54
test eax, eax
jne 0x49491f
mov eax, dword [ebp + 0x30]
cmp byte [eax + 0x44], 0
jne 0x4948c2
mov byte [edi + 0xd], bl
push dword [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00566e0e
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x34]
inc eax
add edx, 0xc
mov dword [ebp + 0x1c], eax
pop ecx
mov dword [ebp + 0x34], edx
cmp eax, dword [ebp + 0x4c]
jb 0x4947ad
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x5c]
mov eax, dword [ebp + 0x38]
inc dword [ebp + 0x68]
add eax, 8
mov dword [ebp + 0x38], eax
cmp dword [ebp + 0x68], ecx
jb 0x494744
push dword [ebp + 0x54]
or esi, 0xffffffff
mov dword [ebp - 4], esi
call fcn.00566e0e
pop ecx
jmp 0x494c0f
mov ecx, dword [ebp + 0x54]
jmp 0x4946bd
mov ebx, eax
push dword [ebp + 8]
call fcn.00566e0e
pop ecx
jmp 0x494930
mov eax, ebx
mov ebx, eax
push dword [ebp + 0x54]
call fcn.00566e0e
pop ecx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x6c
leave
ret 8
xor eax, eax
cmp dword [edi + 0x6c], eax
ja 0x494939
jb 0x494961
cmp dword [edi + 0x68], 0x7fffff00
ja 0x494939
mov edx, dword [edi + 0x20]
add edx, dword [edi + 0x60]
mov ecx, dword [edi + 0x24]
adc ecx, dword [edi + 0x64]
mov eax, dword [ebp + 0x74]
mov esi, dword [edi + 0x68]
push 0
push 0
mov eax, dword [eax]
push ecx
push edx
push dword [ebp + 0x74]
mov dword [ebp + 0x68], esi
call dword [eax + 0x10]
test eax, eax
jne 0x49493b
lea ecx, [ebp - 0x48]
call fcn.00403fb6
add dword [ebp + 0x14], esi
mov ecx, dword [ebp + 0x78]
push 0
pop eax
adc dword [ebp + 0x18], eax
mov dword [ebp - 4], 4
test ecx, ecx
je 0x4949c1
mov eax, dword [ecx]
lea edx, [ebp + 0x14]
push edx
xor edx, edx
push edx
push ecx
call dword [eax + 0xc]
mov esi, eax
test esi, esi
jne 0x494a4f
mov esi, dword [ebp + 0x68]
mov dword [ebp + 0x4c], eax
lea ecx, [ebp + 0x44]
lea eax, [esi + 1]
push eax
call fcn.00404878
mov ecx, 0x1000000
mov byte [ebp - 4], 5
cmp esi, ecx
mov eax, esi
mov esi, dword [ebp + 0x44]
mov edx, esi
cmova eax, ecx
jmp 0x494a32
mov eax, dword [ebp + 0x5c]
mov ecx, dword [ebp + 0x4c]
add ecx, eax
add dword [ebp + 0x20], eax
mov eax, dword [ebp + 0x68]
push 0
pop edx
adc dword [ebp + 0x24], edx
mov dword [ebp + 0x4c], ecx
cmp ecx, eax
je 0x494a5c
mov edx, dword [ebp + 0x78]
test edx, edx
je 0x494a23
mov eax, dword [edx]
lea ecx, [ebp + 0x20]
push ecx
xor ecx, ecx
push ecx
push edx
call dword [eax + 0x10]
mov dword [ebp + 0x60], eax
test eax, eax
jne 0x494a45
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x4c]
mov edx, 0x1000000
sub eax, ecx
cmp eax, edx
cmova eax, edx
lea edx, [esi + ecx]
mov ecx, dword [ebp + 0x74]
push eax
mov dword [ebp + 0x5c], eax
call fcn.00414a6e
mov dword [ebp + 0x60], eax
test eax, eax
je 0x4949e7
mov ecx, esi
call fcn.00543060
mov esi, dword [ebp + 0x60]
lea ecx, [ebp - 0x48]
call fcn.0040403c
jmp 0x49448b
push esi
lea ecx, [ebp - 0x48]
mov byte [esi + eax], dl
call fcn.004044ce
test al, al
jne 0x494a71
mov dword [ebp + 0x60], ebx
jmp 0x494a45
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00543060
push str.plist
push dword [ebp - 0x48]
call sub.msvcrt.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x494a93
mov esi, ebx
jmp 0x494a4f
mov esi, str.dict
lea ecx, [ebp - 0x48]
push esi
call fcn.00404390
test eax, eax
je 0x494a8f
push esi
mov edx, str.resource_fork
mov ecx, eax
call fcn.00493618
test eax, eax
je 0x494a8f
push str.array
mov edx, str.blkx
mov ecx, eax
call fcn.00493618
mov dword [ebp + 0x28], eax
test eax, eax
je 0x494a8f
xor edx, edx
mov ecx, edx
mov dword [ebp + 0x34], ecx
cmp dword [eax + 0x20], edx
jbe 0x494c01
mov eax, dword [eax + 0x1c]
push str.dict
mov esi, dword [eax + ecx*4]
mov ecx, esi
mov dword [ebp + 0x5c], esi
call fcn.00404485
test al, al
je 0x494bee
xor eax, eax
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x58], eax
push str.data
mov edx, str.Data
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.00493618
test eax, eax
je 0x494cc9
mov ecx, eax
call fcn.00404454
mov esi, eax
test esi, esi
je 0x494cc9
mov ecx, dword [esi + 4]
shr ecx, 2
imul ecx, ecx, 3
add ecx, 4
push ecx
lea ecx, [ebp + 0x54]
call fcn.00405117
mov edx, dword [esi]
mov esi, dword [ebp + 0x54]
mov ecx, esi
call fcn.0048c64b
test eax, eax
je 0x494cc9
sub eax, esi
lea ecx, [edi + 0x14]
mov dword [ebp + 0x44], eax
call fcn.0049260a
mov ecx, dword [ebp + 0x5c]
mov edx, str.Name
push str.string
mov dword [ebp + 0x68], eax
call fcn.00493618
test eax, eax
je 0x494b92
mov ecx, eax
call fcn.00404454
test eax, eax
je 0x494b92
xor ecx, ecx
cmp dword [eax + 4], ecx
jne 0x494bb7
mov ecx, dword [ebp + 0x5c]
mov edx, str.CFName
push str.string
call fcn.00493618
test eax, eax
je 0x494bb1
mov ecx, eax
call fcn.00404454
jmp 0x494bb3
xor eax, eax
test eax, eax
je 0x494bc3
mov ecx, dword [ebp + 0x68]
push eax
add ecx, 0x48
call fcn.00402633
push dword [ebp + 0x44]
mov ecx, dword [ebp + 0x68]
push esi
call fcn.00494f54
mov esi, eax
test esi, esi
jne 0x494ccb
mov eax, dword [ebp + 0x68]
cmp byte [eax + 0x44], 0
jne 0x494be5
mov byte [edi + 0xd], bl
push dword [ebp + 0x54]
call fcn.00566e0e
pop ecx
mov ecx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x28]
inc ecx
mov dword [ebp + 0x34], ecx
cmp ecx, dword [eax + 0x20]
jb 0x494ade
or esi, 0xffffffff
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], esi
call fcn.0040403c
cmp dword [edi + 0x120], 2
jne 0x494c82
cmp dword [edi + 0x124], 0x20
jne 0x494c82
xor eax, eax
mov ecx, esi
mov esi, eax
mov eax, dword [edi + 0x18]
test eax, eax
je 0x494c6c
mov dword [ebp + 0x44], eax
mov ebx, eax
mov eax, dword [edi + 0x14]
mov eax, dword [eax + esi*4]
mov dword [ebp + 0x44], eax
mov edx, dword [eax + 0x58]
mov eax, ebx
test dl, 7
jne 0x494c69
shr edx, 3
cmp edx, 0x80
ja 0x494c69
push edx
mov edx, dword [ebp + 0x44]
add edx, 0x5c
call fcn.00564d50
mov ecx, eax
inc esi
mov eax, dword [edi + 0x18]
mov ebx, eax
cmp esi, eax
jb 0x494c33
xor ebx, ebx
inc ebx
cmp esi, eax
jne 0x494c82
mov eax, dword [edi + 0x128]
not ecx
bswap eax
cmp ecx, eax
setne al
mov byte [edi + 0xc], al
mov eax, dword [edi + 0x18]
lea esi, [edi + 0xd]
mov dword [ebp + 0x34], eax
xorps xmm0, xmm0
movlpd qword [ebp + 0x54], xmm0
mov edx, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x54]
test eax, eax
je 0x494d03
mov eax, dword [edi + 0x14]
mov dword [ebp + 0x5c], eax
mov eax, dword [eax]
cmp dword [eax + 0x30], ecx
jne 0x494caf
cmp dword [eax + 0x34], edx
je 0x494cb4
lea esi, [edi + 0xd]
mov byte [esi], bl
cmp dword [eax + 0x3c], 0x400000
jb 0x494cd9
ja 0x494cc5
cmp dword [eax + 0x38], 0
jb 0x494cd9
mov byte [esi], bl
jmp 0x494cdc
mov esi, ebx
push dword [ebp + 0x54]
call fcn.00566e0e
pop ecx
jmp 0x494a4f
lea esi, [edi + 0xd]
add ecx, dword [eax + 0x38]
adc edx, dword [eax + 0x3c]
cmp edx, 0x400000
jb 0x494cf4
ja 0x494cf2
xor eax, eax
cmp ecx, eax
jb 0x494cf4
mov byte [esi], bl
mov eax, dword [ebp + 0x5c]
add eax, 4
sub dword [ebp + 0x34], 1
mov dword [ebp + 0x5c], eax
jne 0x494ca3
cmp ecx, dword [edi + 0x80]
jne 0x494d13
cmp edx, dword [edi + 0x84]
je 0x494d15
mov byte [esi], bl
cmp dword [edi + 0x98], 2
jne 0x494ec4
cmp dword [edi + 0x9c], 0x20
jne 0x494ec4
lea eax, [ebp + 0x54]
push eax
lea ecx, [edi + 0x40]
call fcn.00493b18
test al, al
je 0x494ec2
cmp dword [edi + 0x44], 0x80000000
ja 0x494ec2
jb 0x494d5d
xor eax, eax
cmp dword [edi + 0x40], eax
jae 0x494ec2
mov esi, dword [edi + 0x20]
add esi, dword [edi + 0x40]
mov eax, dword [edi + 0x24]
adc eax, dword [edi + 0x44]
mov ecx, dword [ebp - 0x10]
mov dword [ebp + 0x44], eax
cmp eax, ecx
ja 0x494ebd
mov eax, dword [ebp - 0x14]
jb 0x494d84
cmp esi, eax
ja 0x494ebd
sub eax, dword [edi + 0x20]
sbb ecx, dword [edi + 0x24]
cmp dword [ebp + 0x58], ecx
ja 0x494ebd
jb 0x494d9e
cmp dword [ebp + 0x54], eax
ja 0x494ebd
push 0x8000
lea ecx, [ebp + 0x28]
call fcn.00404878
mov ecx, dword [ebp + 0x74]
xor edx, edx
push edx
push edx
push dword [ebp + 0x44]
mov eax, dword [ecx]
push esi
push ecx
mov dword [ebp - 4], 7
call dword [eax + 0x10]
mov esi, dword [ebp + 0x28]
mov dword [ebp + 0x60], eax
test eax, eax
jne 0x494eae
mov ecx, dword [ebp + 0x78]
test ecx, ecx
je 0x494df0
mov eax, dword [ecx]
lea edx, [ebp + 0x14]
push edx
xor edx, edx
push edx
push ecx
call dword [eax + 0xc]
mov dword [ebp + 0x60], eax
test eax, eax
jne 0x494eae
xorps xmm0, xmm0
movlpd qword [ebp + 0x54], xmm0
mov eax, dword [ebp + 0x58]
mov edx, dword [ebp + 0x54]
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x50], edx
mov ecx, dword [edi + 0x48]
mov eax, dword [edi + 0x4c]
sub ecx, edx
mov edx, 0x8000
sbb eax, dword [ebp + 0x4c]
mov eax, edx
mov dword [ebp + 0x68], eax
jne 0x494e2a
jb 0x494e21
cmp ecx, edx
jae 0x494e2a
mov eax, ecx
mov dword [ebp + 0x68], eax
test eax, eax
je 0x494e91
mov ecx, dword [ebp + 0x74]
mov edx, esi
push eax
call fcn.00414a6e
mov dword [ebp + 0x60], eax
test eax, eax
jne 0x494eae
push dword [ebp + 0x68]
mov ecx, dword [ebp]
mov edx, esi
call fcn.00564d50
mov edx, dword [ebp + 0x50]
mov dword [ebp], eax
mov eax, dword [ebp + 0x68]
add edx, eax
push 0
pop ecx
adc dword [ebp + 0x4c], ecx
add dword [ebp + 0x20], eax
mov eax, edx
mov dword [ebp + 0x50], edx
adc dword [ebp + 0x24], ecx
and eax, 0xffffff
or eax, ecx
jne 0x494e04
mov ecx, dword [ebp + 0x78]
test ecx, ecx
je 0x494e04
mov eax, dword [ecx]
lea edx, [ebp + 0x20]
push edx
xor edx, edx
push edx
push ecx
call dword [eax + 0x10]
mov dword [ebp + 0x60], eax
test eax, eax
jne 0x494eae
mov edx, dword [ebp + 0x50]
jmp 0x494e04
mov eax, dword [edi + 0xa0]
mov ecx, dword [ebp]
bswap eax
not ecx
cmp eax, ecx
je 0x494ea5
mov byte [edi + 0xe], bl
mov ecx, esi
call fcn.00543060
jmp 0x494ec4
mov ecx, esi
call fcn.00543060
mov eax, dword [ebp + 0x60]
jmp 0x49493b
mov byte [edi + 0xd], bl
jmp 0x494ec4
mov byte [esi], bl
xor eax, eax
jmp 0x49493b